reset dhcp snooping bind-table

Function

The reset dhcp snooping bind-table command deletes binding entries in a dynamic DHCP snooping binding table.

Format

reset dhcp snooping bind-table [ vlan vlan-id [ interface { interface-name | interface-type interface-number } ] | bridge-domain bd-id | vpn-instance vpn-instance-name | public-net | interface { interface-name | interface-type interface-number } | ip-address ip-address [ interface { interface-name | interface-type interface-number } ] | vsi vsi-name ] [ release ]

Parameters

Parameter Description Value
vlan vlan-id

Specifies a VLAN ID.

The value is an integer ranging 1 to 4094.

interface interface-type interface-number

Specifies the type and number of an interface.

-

bridge-domain bd-id

Specifies the Bridge-domain ID.

The value is an integer ranging from 1 to 16777215.

vpn-instance vpn-instance-name

Specifies a name of VPN Instance.

The value is a string of 1 to 31 case-sensitive characters.

public-net

Specifies a public net.

-

ip-address ip-address

Specifies an IP address.

The value is in dotted decimal notation.

vsi vsi-name

Specifies the name of a VSI.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

release

Specifies to send a release packet to the DHCP server to release the client's IP address.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp execute

Usage Guidelines

Usage Scenario

When users go offline or entries in the dynamic DHCP snooping binding table need to be deleted, you can run the reset dhcp snooping bind-table command to delete the entries.

Precautions

Check whether the dynamic binding entries must be deleted before running this command. If the dynamic binding entries are forcibly deleted, the users with the IP addresses in these entries are disconnected from the device.

Example

# Delete DHCP snooping binding entries for VLAN 100.
<HUAWEI> system-view
[~HUAWEI] reset dhcp snooping bind-table vlan 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >