C613-50631-01 Rev A Command Reference for IE340 Series 3106
AlliedWare Plus™ Operating System - Version 5.5.3-0.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. Note that if
you create a user-defined option 1 using the option command, then you will
override any settings created with this command. If you do not specify a subnet
mask using this command, then the pool’s network mask (specified using the
next-server command) is applied.
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.