mac
265
15.1.22 network-address
Command: network-address <network-number> [<mask> | <prefix-length>]
no network-address
Function: Sets the scope for assignment for addresses in the pool; the ―no
network-address‖ command cancels the setting.
Parameters: <network-number> is the network number; <mask> is the subnet mask in
the decimal format; <prefix-length> stands for mask in prefix form. For example, mask
255.255.255.0 in prefix is ―24‖, and mask 255.255.255.252 in prefix is ―30‖. Note: When
using DHCP server, the pool mask should be longer or equal to that of layer 3 interface IP
address in the corresponding segment.
Default: If no mask is specified, default mask will be assigned according to the address
class.
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
15.1.23 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
15.1.24 option
Command: option <code> {ascii <string> | hex <hex> | ipaddress <ipaddress>}










