display ipv6 dhcp relay client-information pd
Use display ipv6 dhcp relay client-information pd to display DHCPv6 relay entries that record clients' IPv6 prefix information.
Syntax
display ipv6 dhcp relay client-information pd [ interface interface-type interface-number | prefix prefix/prefix-len ] [ vpn-instance vpn-instance-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays DHCPv6 relay entries that record clients' IPv6 prefix information on all interfaces enabled with DHCPv6 relay agent.
prefix prefix/prefix-len: Specifies an IPv6 prefix with its length. The value range for the prefix-len argument is 1 to 128. If you do not specify an IPv6 prefix, this command displays DHCPv6 relay entries for all IPv6 prefixes.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays DHCPv6 relay entries that record clients' IPv6 prefix information for the public network.
Usage guidelines
The DHCPv6 relay agent records DHCPv6 relay entries only after you configure the ipv6 dhcp relay client-information record command.
Examples
# Display all DHCPv6 relay entries that record clients' IPv6 prefix information.
<Sysname> display ipv6 dhcp relay client-information pd 1 DHCPv6 relay entries found. Prefix IAID Lease Status Interface 2::/64 0x00030001 54 Open Vlan2
# Display the DHCPv6 relay entry for the IPv6 prefix 2::/64.
<Sysname> display ipv6 dhcp relay client-information pd prefix 2::/64 1 DHCPv6 relay entries found. Prefix: 2::/64 DUID: 00030001CA000C180000 IAID: 0x00030001 Port index: N/A Interface: Vlan2 Inner VLAN: N/A Outer VLAN: N/A Status: Open Access type: CommonV6 Remaining lease time: 54 seconds Preferred lifetime: 400 seconds Valid lifetime: 500 seconds
Table 69: Command output
Field | Description |
---|---|
x DHCPv6 relay entries found. | Number of DHCPv6 relay entries that record clients' IPv6 prefix information. |
Prefix | IPv6 prefix of the DHCPv6 client. |
DUID | DUID of the DHCPv6 client. |
IAID | IAID of the DHCPv6 client. |
Port index | Layer 2 port that receives the client's request. If the request is not received through a Layer 2 port, this field displays N/A. |
Interface | Interface enabled with DHCPv6 relay agent. This field displays N/A if the entry does not contain interface information or if the interface index in the entry loses effect. |
Inner VLAN | Inner VLAN tag contained in the client's request. If the request does not contain an inner VLAN tag, this field displays N/A. |
Outer VLAN | Outer VLAN tag contained in the client's request. If the request does not contain an outer VLAN tag, this field displays N/A. |
Status | Status of the DHCPv6 relay entry:
|
Access type | Access type of the DHCPv6 client: Commonv6—Portal or DHCPv6. |
Remaining lease time | Remaining time in seconds of the IPv6 prefix lease. |
Preferred lifetime | Preferred lifetime in seconds of the IPv6 prefix. |
Valid lifetime | Valid lifetime in seconds of the IPv6 prefix. |
Related commands
ipv6 dhcp relay client-information record
reset ipv6 dhcp relay client-information pd