Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-29
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear dhcp-snooping bindings
clear dhcp-snooping bindings
To clear DHCP snooping binding table entries, use the clear dhcp-snooping bindings command.
clear dhcp-snooping bindings [ip_addr] [mac_addr] [vlan vlan] [port mod/port]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you do not enter any arguments of keywords, all DHCP-bindings are cleared.
You should use caution when using this command because clearing a binding can affect Dynamic ARP
Inspection (DAI), IP Source Guard, and other features that depend on DHCP snooping.
Examples This example shows how to clear the DHCP snooping bindings on a specific IP address:
Console> (enable) clear dhcp-snooping bindings 172.20.22.191
DHCP Snooping binding entries cleared.
Console> (enable)
This example shows how to clear the DHCP snooping bindings on a specific MAC address:
Console> (enable) clear dhcp-snooping bindings 0-0-0-0-0-1
DHCP Snooping binding entries cleared.
Console> (enable)
This example shows how to clear the DHCP snooping bindings on a specific VLAN:
Console> (enable) clear dhcp-snooping bindings vlan 2
DHCP Snooping binding entries cleared.
Console> (enable)
This example shows how to clear the DHCP snooping bindings on a specific port:
Console> (enable) clear dhcp-snooping bindings port 2/2
DHCP Snooping binding entries cleared.
Console> (enable)
ip_addr (Optional) IP address.
mac_addr (Optional) MAC address.
vlan vlan (Optional) Specifies the VLAN.
port mod/port (Optional) Specifies the module number and the port on the module.