Displaying and maintaining the DHCPv6 relay
agent
Execute display commands in any view and reset commands in user view.
Task
Display the DUID of the local device.
Display DHCPv6 server addresses
specified on the DHCPv6 relay agent.
Display packet statistics on the DHCPv6
relay agent.
Clear packets statistics on the DHCPv6
relay agent.
DHCPv6 relay agent configuration example
Network requirements
As shown in
DHCPv6 clients and the DHCPv6 server.
Router A acts as the gateway of network 1::/64. It sends RA messages to notify the hosts to obtain IPv6
addresses and other configuration parameters through DHCPv6. For more information about RA
messages, see "Configuring basic IPv6 settings."
Figure 88 Network diagram
Configuration procedure
1.
Configure the DHCPv6 relay agent on Router A:
# Specify IPv6 addresses for Ethernet 1/1 and Ethernet 1/2.
<RouterA> system-view
Figure
88, configure the DHCPv6 relay agent on Router A to relay DHCP packets between
Command
display ipv6 dhcp duid
display ipv6 dhcp relay server-address [ interface interface-type
interface-number ]
display ipv6 dhcp relay statistics [ interface interface-type
interface-number ]
reset ipv6 dhcp relay statistics [ interface interface-type
interface-number ]
223