undo dhcp snooping bind-table static

Function

The undo dhcp snooping bind-table static command deletes binding entries in a static DHCP snooping binding table.

By default, the static binding between IP addresses and MAC addresses in the DHCP snooping binding table is not configured.

Format

undo dhcp snooping bind-table static [ interface { interface-name | interface-type interface-number } | ip-address ip-address | vsi vsi-name | bridge-domain bd-id ]

undo dhcp snooping bind-table static vlan vlan-id [ interface { interface-name | interface-type interface-number } ]

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the interface type and number.

-

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.

bridge-domain bd-id

Specifies the BD ID.

The value is an integer ranging from 1 to 16777215.

vlan vlan-id

Specifies the ID of a VLAN.

The value is an integer ranging from 1 to 4094.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

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

Configuration Impact

After entries in the static DHCP snooping binding table are deleted, packets with source IP addresses mapped to these entries are deleted.

Precautions

Before you run this command, ascertain whether to delete the binding entries in a static DHCP snooping binding table.

Example

# Delete the static binding entries in VLAN 10.
<HUAWEI> system-view
[~HUAWEI] vlan 10
[*HUAWEI-vlan10] quit
[*HUAWEI] undo dhcp snooping bind-table static vlan 10
# Delete the static binding entries in BD 10.
<HUAWEI> system-view
[~HUAWEI] bridge-domain 10
[~HUAWEI-bd10] quit
[*HUAWEI] undo dhcp snooping bind-table static bridge-domain 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic