Find answers to your technical questions and learn how to use our products
Search suggestions:
Sets the subnet mask of a DHCP pool. Use no subnet-mask to reset the subnet mask of the pool to default.
[no] subnet-mask {mask | prefix-length}
Parameter
Description
Possible Values
Default Value
mask
The subnet mask of the DHCP pool
255.0.0.0- 255.255.255.0
255.255.255.0
prefix-length
The prefix length of subnet mask
8-32
24
read-write
dhcp pool
To set the subnet-mask for DHCP pool 5 to 255.255.255.240:
Gxxx-001(DHCP 5)# subnet-mask 255.255.255.240
To set the subnet-mask for DHCP pool 5 to 255.255.255.240 by stating the subnet mask prefix:
Gxxx-001(DHCP 5)# subnet-mask 28
Previous Topic
Next Topic