clear dhcpv4-snooping binding
Syntax
clear dhcpv4-snooping binding {all | ip <IPV4-ADDR> vlan <VLAN-ID> |
port <PORT-NUM> | vlan <VLAN-ID>}
Description
Clears DHCPv4 snooping binding entries.
Command context
Operator (>
) or Manager (#
)
Parameters
all
Specifies that all DHCPv4 binding information is to be cleared.
ip <IPV4-ADDR> vlan <VLAN-ID>
Specifies the IPv4 address and VLAN for which all DHCPv4 binding information is to be cleared.
port <PORT-NUM>
Specifies the port number for which all DHCPv4 binding information is to be cleared.
vlan <VLAN-ID>
Specifies the VLAN for which all DHCPv4 binding information is to be cleared.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Examples
On the 6400 Switch Series, interface identification differs.
Clearing all DHCPv4 binding information for IP address 192.168.2.4 and VLAN 5:
switch(config)# clear dhcpv4-snooping binding ip 192.168.2.4 vlan 5
Clearing all DHCPv4 binding information for port 1/1/1:
switch(config)# clear dhcpv4-snooping binding port 1/1/1
Clearing all DHCPv4 binding information for VLAN 10:
switch(config)# clear dhcpv4-snooping binding vlan 10
Clearing all DHCPv4 binding information:
switch(config)# clear dhcpv4-snooping binding all