Using the display dhcpv6 relay prefix-delegation command, you can view DHCPv6 PD routing information forwarded by the DHCPv6 Relay.
display dhcpv6 relay prefix-delegation { client [ interface interface-type interface-number ] | route [ interface interface-type interface-number ] }
Parameter |
Description |
Value |
---|---|---|
client |
Displays information about DHCPv6 PD clients. |
- |
interface interface-type interface-number |
Specifies the type and the number of an interface. |
- |
route |
Displays routing information learned from DHCPv6 PD clients. |
- |
The display dhcpv6 relay prefix-delegation command is used on DHCPv6 relay agents. This command displays routing information that DHCPv6 relay agents learn from DHCPv6 PD terminals, including the destination IPv6 address, next hop address, outbound interface, and protocol type of each route. You can also use this command to view DHCPv6 PD routing information forwarded by the DHCPv6 Relay.
# Display DHCPv6 PD routing information forwarded by the DHCPv6 Relay.
<HUAWEI> display dhcpv6 relay prefix-delegation route -------------------------------------------------------------------------------- Destination : FC00:1::/96 Next-hop : FC00:2::1 Interface : Vlanif62 Protocol type : Unr Destination : FC00:2::/96 Next-hop : FC00:2::2 Interface : Vlanif62 Protocol type : Unr -------------------------------------------------------------------------------- Total count : 2 Print count : 2
Item |
Description |
---|---|
Destination |
Destination network segment of a route. |
Next-hop |
Next hop address of a route. |
Interface |
Outbound interface of a route. |
Protocol type |
Protocol type used by a route. |
Total count |
Number of routes displayed. |
Print count |
Number of routes printed. A maximum of 512 routes can be printed. |
# Display information about DHCPv6 PD terminals.
<HUAWEI> display dhcpv6 relay prefix-delegation client -------------------------------------------------------------------------------- DUID_EN : 000612E978E600E04C774E5A Interface : Vlanif62 IPv6 address : FC00:1::4E5A IA PD : IA ID 1, T1 600, T2 900, IA Prefix: FC00:3::/96 preferred lifetime 900 , valid lifetime 1200 expired at 2010.02.21 15:01:54 IA Prefix: FC00:4::/96 preferred lifetime 900 , valid lifetime 1200 expired at 2010.02.21 15:01:54 -------------------------------------------------------------------------------- Total count : 1 Print count : 1
Item |
Description |
---|---|
DUID_EN |
DHCPv6 unique identifier (DUID) of a client, which is defined by the vendor. |
Interface |
Interface to which a client is connected. |
IPv6 address |
IPv6 address of a client. |
IA PD |
IPv6 prefix contained in the packet sent from a client. |
Total count |
Number of client records displayed. |
Print count |
Number of client records printed. A maximum of 512 records can be printed. |