DGS-6604
m
subnet-mask
CLI Reference Guide
886
subnet-mask
Use this command to configure the subnet mask for a DHCP address pool of the
DHCP Server. Use the no form of this command to restore the configuration of a
subnet mask to the default mask 255.255.255.0.
subnet-mask
MASK
no subnet-mask
Default
MASK
: 255.255.255.0
Command Mode
DHCP pool configuration
Usage Guideline
This command configures the subnet mask that the DHCP server is uses to
assign to DHCP clients. It is valid for the associated DHCP address pools only.
Examples
The following is an example of configuring 255.0.0.0 as the DHCP pool's subnet
mask .
Syntax Description
MASK
The bit combination of the addresses, in the DHCP address pool, determines
which part of the address refers to the network or subnet and which part refers to
the host. It is in the format of xxx.xxx.xxx.xxx in which xxx is the number range
from 0 to 255 where all of its binary bits must be continuous.
switch#configure terminal
switch(config)#ip dhcp pool pool1
switch(config-dhcp)#subnet-mask 255.0.0.0
switch(config-dhcp)#