reset dhcpv6 relay client-info

Function

The reset dhcpv6 relay client-info command clears DHCPv6 client login failure and logout records on a DHCPv6 relay agent.

Format

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

Parameters

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.

  • pevlan-id specifies the start outer VLAN ID.
  • end-pevlan-id specifies the end outer VLAN ID. end-pevlan-id must be greater than or equal to pevlan-id. pevlan-id and pevlan-id specify a VLAN range.
  • If end-pevlan-id is not specified, only login failure and logout records of DHCPv6 clients that send packets with the outer VLAN ID specified by pevlan-id are displayed.

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.

  • cevlan-id specifies the start inner VLAN ID.
  • end-cevlan-id specifies the end inner VLAN ID. end-cevlan-id must be greater than or equal to cevlan-id. end-cevlan-id and cevlan-id specify a VLAN range.
  • If end-cevlan-id is not specified, only login failure and logout records of DHCPv6 clients that send packets with the inner VLAN ID specified by cevlan-id are displayed.

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.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp execute

Usage Guidelines

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.

Example

# Clear login failure and logout records of DHCPv6 clients that send double-tagged packets with the PE-VLAN ID in the range 1-100 and the CE-VLAN ID in the range 1-10 on GE 0/1/0.
<HUAWEI> reset dhcpv6 relay client-info offline-record interface GigabitEthernet 0/1/0 pevlan 1 100 cevlan 1 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >