The display dhcpv6 relay client-info command displays DHCPv6 client login failure and logout records on a DHCPv6 relay agent.
display dhcpv6 relay client-info { offline-record | online-fail-record } interface { interface-name | interface-type interface-number } [ pevlan pevlan-id [ end-pevlan-id ] [ cevlan cevlan-id [ end-cevlan-id ] ] ]
display dhcpv6 relay client-info { offline-record | online-fail-record } mac-address mac-address-data
display dhcpv6 relay client-info { offline-record | online-fail-record } client-duid client-duid-data
display dhcpv6 relay client-info { offline-record | online-fail-record }
Parameter | Description | Value |
---|---|---|
offline-record |
Displays DHCPv6 client logout records. |
- |
online-fail-record |
Displays DHCPv6 client login failure records. |
- |
interface interface-type interface-number |
Displays DHCPv6 client login failure and logout records on a specified DHCPv6 relay interface. |
- |
pevlan pevlan-id end-pevlan-id |
Displays login failure and logout records of DHCPv6 clients that send packets with a specified outer VLAN ID.
|
The value is an integer ranging from 1 to 4094. |
cevlan cevlan-id end-cevlan-id |
Displays login failure and logout records of DHCPv6 clients that send packets with a specified inner VLAN ID.
|
The value is an integer ranging from 1 to 4094. |
mac-address mac-address-data |
Displays login failure and logout records of the DHCPv6 client with a specified MAC address. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. |
client-duid client-duid-data |
Displays login failure and logout records of the DHCPv6 client with a specified DUID. |
The value is a hexadecimal number that ranges from 1 to 260, excluding 0x. |
Usage Scenario
To check DHCPv6 client login failure and logout records on a DHCPv6 relay agent, run the display dhcpv6 relay client-info command.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display dhcpv6 relay client-info online-fail-record client-duid 00030001000000000006
--------------------------------------------------------
Index : 163
Client DUID : 00030001000000000006
IA type : IA_PD
IA_ID : 6
Interface : Eth-Trunk1
PEVLAN/CEVLAN : 0/0
VPN instance : --
Client MAC address : 00e0-fc00-0006
Client IPv6 PD prefix : --
Online fail cause : Up to interface or VLAN max session
Online fail time : 2013-11-21 06:03:11
--------------------------------------------------------
<HUAWEI> display dhcpv6 relay client-info offline-record mac-address 0e0-fc00-0064
--------------------------------------------------------
Index : 67
Client DUID : 00030001000000000064
IA type : IA_NA
IA_ID : 100
Interface : Eth-Trunk1
PEVLAN/CEVLAN : 0/0
VPN instance : --
Client MAC address : 00e0-fc00-0064
Client IPv6 address : 2001:db8:1::1
IA status : SEND_RELEASE
Delete cause : Client request
Delete time : 2013-11-21 10:08:24
--------------------------------------------------------
Item | Description |
---|---|
Index | Table index. |
Client DUID | Client's DHCP unique identifier. |
Client MAC address | Client's MAC address. |
Client IPv6 address | Client's IPv6 address. |
Client IPv6 PD prefix | Client's IPv6 address prefix. |
IA type | Client's identity association type, which can be IA_NA or IA_PD.
|
IA status | Identity association status.
|
IA_ID | Client's IA_ID. |
Interface | Access interface. |
PEVLAN/CEVLAN | Client's PE-VLAN ID and CE-VLAN ID. |
VPN instance | Client's VPN instance name. |
Online fail cause | Cause of the client login failure. |
Online fail time | Time when the client failed to go online. |
Delete cause | Reason why the client entry was deleted. |
Delete time | Time when the client entry was deleted. |