Set the options – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1692
Dynamic Host Configuration Protocol (DHCP) Introduction
Software Reference for x310 Series Switches
63.6
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
Set the Options
DHCP allows clients to receive options from the DHCP server. Options describe the
network configuration, and various services that are available on the network. Options are
configured separately on each DHCP pool. You can configure both standard predefined
options and user-defined options for a DHCP pool.
To create a user-defined option, use the commands:
To add a user-defined option to a DHCP address pool, use the command sequence:
It is possible to add a user-defined option with the same number as an existing pre-
defined option. If this situation occurs, the user-defined option takes precedence—that is,
it overrides but does not eliminate the standard option.
You can set some pre-defined options using the following commands:
To set a subnet mask (option 1) for the address pool, use the command:
To add a domain name (option 15) for the address pool, use the command:
To add a default router (option 3) for the address pool, use the command:
To add a DNS server (option 6) for the address pool, use the command:
awplus#
configure terminal
awplus(config)#
ip dhcp option <1-254> [name <option-
name>] [<option-type>]
awplus(config)#
ip dhcp pool <pool-name>
awplus(dhcp-config)#
option [<1-254>|<option-name>]
<option-value>
awplus(dhcp-config)#
subnet-mask <mask>
awplus(dhcp-config)#
domain-name <domain-name>
awplus(dhcp-config)#
default-router <ip-address>
awplus(dhcp-config)#
dns-server <ip-address>