202
Display and maintenance commands for DHCPv6
relay agent
Execute display commands in any view and reset commands in user view.
Task Command
Display the DUID of the local device.
display ipv6 dhcp duid
Display DHCPv6 relay entries that record
clients' IPv6 address information.
display ipv6 dhcp relay
client-information address
[
interface
interface-type interface-number
|
ipv6
ipv6-address
]
Display DHCPv6 relay entries that record
clients' IPv6 prefix information.
display ipv6 dhcp relay
client-information pd
[
interface
interface-type interface-number
|
prefix
prefix/prefix-len
]
Display DHCPv6 server addresses
specified on the DHCPv6 relay agent.
display ipv6 dhcp relay server-address
[
interface
interface-type
interface-number
]
Display packet statistics on the DHCPv6
relay agent.
display ipv6 dhcp relay statistics
[
interface
interface-type
interface-number ]
Clear DHCPv6 relay entries that record
clients' IPv6 address information.
reset ipv6 dhcp relay client-information
address
[
interface
interface-type
interface-number
|
ipv6
ipv6-address
]
Clear DHCPv6 relay entries that record
clients' IPv6 prefix information.
reset ipv6 dhcp relay client-information
pd
[
interface
interface-type
interface-number
|
prefix
prefix/prefix-len
]
Clear packets statistics on the DHCPv6
relay agent.
reset ipv6 dhcp relay statistics
[
interface
interface-type
interface-number
]
DHCPv6 relay agent configuration examples
Example: Configuring DHCPv6 relay agent
Network configuration
As shown in Figure 76, configure the DHCPv6 relay agent on Switch A to relay DHCPv6 packets
between DHCPv6 clients and the DHCPv6 server.
Switch 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."