Page 151 / 400
Scroll up to view Page 146 - 150
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-83
202-10088-01, March 2005
default-router
This command specifies the default router list for a DHCP client. {
address1, address2… address8
}
are valid IP addresses, each made up of four decimal bytes ranging from 0 to 255. IP address
0.0.0.0 is invalid.
Default
None
Format
default-router
<address1> [<address2>
....
<address8>]
Mode
DHCP Pool Config
no default-router
This command removes the default router list.
Format
no default-router
Mode
DHCP Pool Config
dns-server
This command specifies the IP servers available to a DHCP client. Address parameters are valid IP
addresses; each made up of four decimal bytes ranging from 0 to 255. IP address 0.0.0.0 is invalid.
Default
none
Format
dns-server
<address1> [<address2>
....
<address8>]
Mode
DHCP Pool Config
no dns-server
This command removes the DNS Server list.
Format
no dns-server
Mode
DHCP Pool Config
hardware-address
This command specifies the hardware address of a DHCP client.
Hardware-address is the MAC address of the hardware platform of the client consisting of 6 bytes
in dotted hexadecimal format.
Page 152 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-84
Switching Commands
202-10088-01, March 2005
Type indicates the protocol of the hardware platform. It is 1 for 10 MB Ethernet and 6 for IEEE
802.
Default
ethernet
Format
hardware-address
<hardwareaddress> [type]
Mode
DHCP Pool Config
no hardware-address
This command removes the hardware address of the DHCP client.
Format
no hardware-address
Mode
DHCP Pool Config
host
This command specifies the IP address and network mask for a manual binding to a DHCP client.
Address and Mask are valid IP addresses; each made up of four decimal bytes ranging from 0 to
255. IP address 0.0.0.0 is invalid.
The prefix-length is an integer from 0 to 32
Default
none
Format
host
<address> [mask | prefix-length]
Mode
DHCP Pool Config
no host
This command removes the IP address of the DHCP client.
Format
no host
Mode
DHCP Pool Config
ip dhcp excluded-address
This command specifies the IP addresses that a DHCP server should not assign to DHCP clients.
Low-address and high-address are valid IP addresses; each made up of four decimal bytes ranging
from 0 to 255. IP address 0.0.0.0 is invalid.
Default
none
Format
ip dhcp excluded-address
<lowaddress> [highaddress]
Page 153 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-85
202-10088-01, March 2005
Mode
Global Config
no ip dhcp excluded-address
This command removes the excluded IP addresses for a DHCP client. Low-address and high-
address are valid IP addresses; each made up of four decimal bytes ranging from 0 to 255. IP
address 0.0.0.0 is invalid.
Format
no ip dhcp excluded-address
<lowaddress> [highad-
dress]
Mode
Global Config
ip dhcp ping packets
This command is used to specify the number, in a range from 2-10, of packets a DHCP server
sends to a pool address as part of a ping operation. By default the number of packets sent to a pool
address is 2(the smallest allowed number when sending packets). Setting the number of packets to
0 disables this command.
Note:
The no form of this command sets the number of packets sent to a pool address to 0 and
therefore prevents the server from pinging pool addresses.
Default
2
Format
ip dhcp ping packets
<0,2-10>
Mode
Global Config
no ip dhcp ping packets
This command prevents the server from pinging pool addresses and sets the number of packets to
0.
Default
0
Format
no ip dhcp ping packets
Mode
Global Config
ip dhcp pool
This command configures a DHCP address pool name on a DHCP server and enters DHCP pool
configuration mode.
Default
none
Page 154 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-86
Switching Commands
202-10088-01, March 2005
Format
ip dhcp pool
<name>
Mode
Global Config Mode
no ip dhcp pool
This command removes the DHCP address pool. The name should be previously configured pool
name.
Format
no ip dhcp pool
<name>
Mode
Global Config Mode
lease
This command configures the duration of the lease for an IP address that is assigned from a DHCP
server to a DHCP client. The overall lease time should be between 1-86400 minutes. If
infinite
is
specified, lease is set for 60 days.
Days
is an integer from 0 to 59.
Hours
is an integer from 0 to
1439.
Minutes
is an integer from 0 to 86399.
Default
1 (day)
Format
lease {[<days> [hours] [minutes]] | [infinite]}
Mode
DHCP Pool Config
no lease
This command restores the default value of the lease time for DHCP Server.
Format
no lease
Mode
DHCP Pool Config
network
This command is used to configure the subnet number and mask for a DHCP address pool on the
server. Network-number is a valid IP address, made up of four decimal bytes ranging from 0 to
255. IP address 0.0.0.0 is invalid. Mask is the IP subnet mask for the specified address pool. The
prefix-length is an integer from 0 to 32.
Default
none
Format
network <networknumber> [mask | prefixlength]
Mode
DHCP Pool Config
Page 155 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-87
202-10088-01, March 2005
no network
This command removes the subnet number and mask.
Format
no network
Mode
DHCP Pool Config
service dhcp
This command enables the DHCP server and relay agent features on the router.
Default
disabled
Format
service dhcp
Mode
Global Config
no service dhcp
This command disables the DHCP server and relay agent features.
Format
no service dhcp
Mode
Global Config
bootfile
The command
specifies the name of the default boot image for a DHCP client. The <filename>
specifies the boot image file.
Default
none
Format
bootfile <filename>
Mode
DHCP Pool Config
no bootfile
This command deletes the boot image name.
Format
no bootfile
Mode
DHCP Pool Config