C613-50105-01 REV C Command Reference for x210 Series 1295
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
SUBNET
-MASK
subnet-mask
Overview This command sets the subnet mask option for a DHCP address pool you are
configuring. Use this command to specify the client’s subnet mask as defined in
RFC 950. This sets the subnet details using the pre-defined option 1.
The no variant of this command removes a subnet mask option from a DHCP pool.
The pool reverts to using the pool’s network mask.
Syntax
subnet-mask <mask>
no subnet-mask
Mode DHCP Configuration
Examples To set the subnet mask option to 255.255.255.0 for DHCP pool P2, use the
commands:
awplus# configure terminal
awplus(config)# ip dhcp pool P2
awplus(dhcp-config)# subnet-mask 255.255.255.0
To remove the subnet mask option from DHCP pool P2, use the commands:
awplus# configure terminal
awplus(config)# ip dhcp pool P2
awplus(dhcp-config)# no subnet-mask
Related
Commands
default-router
dns-server
domain-name
show ip dhcp pool
Parameter Description
<mask> Valid IPv4 subnet mask, in dotted decimal notation.