C613-50100-01 REV C Command Reference for x930 Series 2788
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
DHCP FOR IPV6 (DHCPV6) COMMANDS
OPTION
(DHCPV6)
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 P2and 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
dns-server (DHCPv6)
ipv6 dhcp option
ipv6 dhcp pool
show ipv6 dhcp pool