The reset dhcpv6 relay client-info command clears DHCPv6 client login failure and logout records on a DHCPv6 relay agent.
reset 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 ] ] ]
reset dhcpv6 relay client-info { offline-record | online-fail-record } mac-address mac-address-data
reset dhcpv6 relay client-info { offline-record | online-fail-record } client-duid client-duid-data
reset dhcpv6 relay client-info { offline-record | online-fail-record }
reset dhcpv6 relay client-info all
Parameter | Description | Value |
---|---|---|
offline-record |
Clears DHCPv6 client logout records. |
- |
online-fail-record |
Clears DHCPv6 client login failure records. |
- |
interface interface-type interface-number |
Clears DHCPv6 client login failure and logout records on a specified DHCPv6 relay interface. |
- |
pevlan pevlan-id end-pevlan-id |
Clears 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 |
Clears 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 |
Clears 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. The MAC address cannot be set to FFFF-FFFF-FFFF. |
client-duid client-duid-data |
Clears 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. |
all |
Clears all DHCPv6 client login failure and logout records. |
- |
Usage Scenario
Before collecting statistics about DHCPv6 client login failure and logout records in a period of time on a DHCPv6 relay agent, run the reset dhcpv6 relay client-info command to clear the existing statistics.
This command clears all DHCPv6 client login failure and logout records if no parameter is specified and clears specified DHCPv6 client login failure and logout records if a parameter is specified.Precautions
Statistics about DHCPv6 client login failure and logout records cannot be restored they are cleared. Exercise caution when running the reset dhcpv6 relay client-info command.