209
Command Mode: DHCP Address Pool Mode
Usage Guide: This command sets the scope of addresses that can be used for dynamic
assignment by the DHCP server; one address pool can only have one corresponding
segment. This command is exclusive with the manual address binding command
―hardware address‖ and ―host‖.
Example: Configuring the assignable address in pool 1 to be 10.1.128.0/24.
Switch(dhcp-1-config)#network-address 10.1.128.0 24
20.1.22 next-server
Command: next-server <address1>[<address2>[…<address8>]]
no next-server
Function: Sets the server address for storing the client import file; the ―no next-server‖
command cancels the setting.
Parameters: <address1>…<address8> are IP addresses, in the decimal format.
Command Mode: DHCP Address Pool Mode
Usage Guide: This command configures the address for the server hosting client import
file. This is usually used for diskless workstations that need to download configuration files
from the server on boot up. This command is used together with ―bootfile‖.
Example: Setting the hosting server address as 10.1.128.4.
Switch(dhcp-1-config)#next-server 10.1.128.4
20.1.23 option
Command: option <code> {ascii <string> | hex <hex> | ipaddress <ipaddress>}
no option <code>
Function: Sets the network parameter specified by the option code; the ―no option
<code>―command cancels the setting for option.
Parameters: <code> is the code for network parameters; <string> is the ASCII string up
to 255 characters; <hex> is a value in Hex that is no greater than 510 and must be of even
length; <ipaddress> is the IP address in decimal format, up to 63 IP addresses can be
configured.
Command Mode: DHCP Address Pool Mode
Default: None
Usage Guide: The switch provides common commands for network parameter
configuration as well as various commands useful in network configuration to meet
different user needs. The definition of option code is described in detail in RFC2123.
Example: Setting the WWW server address as 10.1.128.240.