C613-50631-01 Rev A Command Reference for IE340 Series 3077
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
OPTION
Examples To add the ASCII-type option named tftp-server-name to the pool P2 and
give the option the value server1, use the commands:
awplus# configure terminal
awplus(config)# ip dhcp pool P2
awplus(dhcp-config)# option tftp-server-name server1
To add the hex-type option named tcpip-node-type to the pool P2 and give
the option the value 08af, use the commands:
awplus# configure terminal
awplus(config)# ip dhcp pool P2
awplus(dhcp-config)# option tcpip-node-type 08af
To add multiple IP addresses for the ip-type option 175, use the command:
awplus(dhcp-config)# option 175 192.0.2.6
awplus(dhcp-config)# option 175 192.0.2.12
awplus(dhcp-config)# option 175 192.0.2.33
To add the option 179 to a pool, and give the option the value 123456, use the
command:
awplus(dhcp-config)# option 179 123456
To add a user-defined flag option with the name
perform-router-discovery, use the command:
awplus(dhcp-config)# option perform-router-discovery yes
To clear all user-defined options from a DHCP address pool, use the command:
awplus(dhcp-config)# no option
To clear a user-defined option, named tftp-server-name, use the command:
awplus(dhcp-config)# no option tftp-server-name
Related
commands
dns-server
ip dhcp option
lease
service dhcp-server
show ip dhcp pool