reset dhcp snooping user-bind [ vlan vlan-id | interface interface-type interface-number ] * [ ipv4 | ipv6 ]
reset dhcp snooping user-bind [ ip-address [ ip-address ] | ipv6-address [ ipv6-address ] | vpls vpls-name ]
reset dhcp snooping user-bind bridge-domain bd-id
reset dhcp snooping user-bind [ ipv6-prefix [ prefix/prefix-length ] ]
Only the S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6730-H, S6730S-H, and S6720-HI support vpls parameter.
Only the S5720-HI, S5730-HI, S6720-HI, S6730-H, S6730S-H, S6730-S, S6730S-S, S5732-H, S5731-S, S5731S-S, S5731S-H, S5731-H, S6720-EI, and S6720S-EI support the bridge-domain parameter.
Parameter | Description | Value |
---|---|---|
vlan vlan-id |
Clears DHCP snooping binding entries mapping a specified VLAN ID. |
The value is an integer that ranges from 1 to 4094. |
interface interface-type interface-number |
Clears DHCP snooping binding entries mapping a specified interface.
|
- |
bridge-domain bd-id |
Clears DHCP snooping binding entries in a specified BD. |
The BD ID must already exist. |
ipv4 or ip-address |
Clears DHCP snooping binding entries mapping IPv4 addresses. |
- |
ipv6-address, ipv6 or ipv6-prefix |
Clears DHCP snooping binding entries mapping IPv6 addresses or IPv6 prefixes.
|
- |
ip-address |
Clears DHCP snooping binding entries mapping a specified IPv4 address. |
The value is in dotted decimal notation. |
ipv6-address |
Clears DHCP snooping binding entries mapping a specified IPv6 address. |
The value consists of 128 octets, which are classified into 8 groups. Each group contains 4 hexadecimal numbers in the format X:X:X:X:X:X:X:X. |
prefix/prefix-length |
Clears DHCP snooping binding entries mapping a specified IPv6 prefix.
|
prefix is a 32-digit hexadecimal characters in the format of X:X::X:X. prefix-length is an integer that ranges from 1 to 128. |
vpls vpls-name |
Clears DHCP snooping binding entries mapping a specified VPLS name. |
The value must be an existing VPLS name. |
Usage Scenario
After DHCP snooping is enabled, the mapping DHCP snooping binding entries are generated after DHCP users log in. The reset dhcp snooping user-bind command clears binding entries mapping a specified parameter. If no parameter is specified, all the binding entries are cleared.
Precautions
If both interface interface-type interface-number and vlan vlan-id are configured, the interface specified by interface interface-type interface-number must have been added to the VLAN specified by vlan vlan-id. In this case, the command clears the DHCP snooping binding entries on a specified interface belonging to a certain VLAN.