C. Router CLI Commands, Codes, and Designations
9128-A2-GB20-80 September 2002 C-17
network
network-num
[[netmask]
netmask
| {prefix-length |/}
prefix-length
]
no network [
network-num
[[netmask]
netmask
| {prefix-length |/}
prefix-length
]]
Minimum Access Level: Administrator
Command Mode: config-dhcp
Allows you to specify or remove a subnet and subnet mask to a DHCP server pool. The
configured subnet and subnet mask will specify the range of IP addresses that will be
allocated to clients by the DHCP server. Only one network or subnet ma y be specified for
a server pool.
Example: network 8
network-num
The IP address of the DHCP address pool.
netmask Specify a network mask that indicates which address bits belong to the
network and subnet fields and which bits belong to the host field.
netmask
The network mask for the pool of IP addresses.
prefix-length or /
Specify the number of bits in a network mask address that are ones
and define the network and subnet fields.
prefix-length
Number of ones bits in a network mask address. Valid range is 132.
NOTES:
If the mask or prefix-length is not specified, the class A, B, or C natural mask is
used.
When the DHCP address range is changed, all binding entries and dynamic routes
for the clients configured with the old address range are removed.
Table C-9. DHCP Server Commands (3 of 3)