C613-50170-01 Rev B
Command Reference for x510 Series
2527
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
DHCP
FOR
IP
V
6 (DHCP
V
6) C
OMMANDS
OPTION
(DHCP
V
6)
Examples
To add the IPv6 type option named
sntp-server-addr
to the pool
P2
and give
the option the value
ipv6
, use the following commands:
awplus#
configure terminal
awplus(config)#
ipv6 dhcp option 22 name sntp_server_addr ipv6
awplus(config)#
ipv6 dhcp pool P2
awplus(config-dhcp6)#
option sntp_server_addr ipv6
To add the ASCII-type option named
tftp-server-name
to the pool
P2
and
give the option the value
server1
, use the following commands:
awplus#
configure terminal
awplus(config)#
ipv6 dhcp pool P2
awplus(config-dhcp6)#
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 following commands:
awplus#
configure terminal
awplus(config)#
ipv6 dhcp pool P2
awplus(config-dhcp6)#
option tcpip-node-type 08af
To add multiple IP addresses for the ip-type option
175
, use the following
commands:
awplus(config-dhcp6)#
option 175 2001:0db8:3001::/64
awplus(config-dhcp6)#
option 175 2001:0db8:3002::/64
awplus(config-dhcp6)#
option 175 2001:0db8:3003::/64
To add the option
179
to a pool, and give the option the value
123456
, use the
following command:
awplus(config-dhcp6)#
option 179 123456
To add a user-defined flag option with the name
perform-router-discovery
, use the following command:
awplus(config-dhcp6)#
option perform-router-discovery yes
To clear all user-defined options from a DHCP address pool, use the following
command:
awplus(config-dhcp6)#
no option
To clear a user-defined option, named
tftp-server-name
, use the following
command:
awplus(config-dhcp6)#
no option tftp-server-name
Related
Commands