reset dhcp chasten-user

Function

The reset dhcp chasten-user command clears information about limited DHCP user connections.

Format

reset dhcp chasten-user slot slotid [ mac-address mac-address [ interface { interface-type interface-num | interface-name } [ pe-vlan pe-vlan [ ce-vlan ce-vlan ] ] ] ] [ statistics ]

Parameters

Parameter Description Value
mac-address mac-address

Clears information about limited DHCP user connections with a specified MAC address.

The value is in H-H-H format, where H can be one to four hexadecimal digits. It cannot be a broadcast or multicast MAC address.

interface interface-name

Clears information about limited DHCP user connections with a specified interface.

-

interface interface-type interface-num

Clears information about limited DHCP user connections with a specified interface.

-

pe-vlan pe-vlan

Clears information about limited DHCP user connections with a specified outer VLAN ID.

The value is an integer ranging from 1 to 4094.

ce-vlan ce-vlan

Clears information about limited DHCP user connections with a specified inner VLAN ID.

The value is an integer ranging from 1 to 4094.

statistics

Clears statistics about limited DHCP user connections.

-

slot slotid

Clears information about limited DHCP user connections on a specified board.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp execute

Usage Guidelines

If statistics is not specified in the reset dhcp chasten-user command, the command clears a user's suppression entries on a specified board. After the command is run, the system stops suppressing the user. If statistics is specified in the reset dhcp chasten-user command, the command clears statistics about limited DHCP user connections. After the command is run, statistics are cleared but the system does not stop suppressing the user.

In VS mode, this command is supported only by the admin VS.

Example

# Clear suppression entries on the board in 1.
<HUAWEI> system-view
[~HUAWEI] reset dhcp chasten-user slot 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >