1574
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
D
YNAMIC
H
OST
C
ONFIGURATION
P
ROTOCOL
(DHCP) C
OMMANDS
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