Subnet-mask – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1735
Dynamic Host Configuration Protocol (DHCP) Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
64.37
subnet-mask
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:
To remove the subnet mask option from DHCP pool P2, use the commands:
Related Commands
default-router
dns-server
domain-name
service dhcp-server
show ip dhcp pool
Parameter
Description
Valid IPv4 subnet mask, in dotted decimal notation.
awplus#
configure terminal
awplus(config)#
ip dhcp pool P2
awplus(dhcp-config)#
subnet-mask 255.255.255.0
awplus#
configure terminal
awplus(config)#
ip dhcp pool P2
awplus(dhcp-config)#
no subnet-mask