30
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter       C Commands
clear ip dhcp snooping binding
clear ip dhcp snooping binding
To clear the Dynamic Host Configuration Protocol (DHCP) snooping binding database, use the clear ip 
dhcp snooping binding command.
clear ip dhcp snooping binding [vlan vlan-id [mac mac-address ip ip-address] [interface 
{ethernet slot/[QSFP-module/]port | port-channel channel-number}]]
Syntax Description
Command Default None
Command Modes Any command mode
Command History
Examples This example shows how to clear the DHCP snooping binding database:
switch# clear ip dhcp snooping binding
switch# 
This example shows how to clear a specific entry from the DHCP snooping binding database:
switch# clear ip dhcp snooping binding vlan 23 mac 0060.3aeb.54f0 ip 10.34.54.9 interface 
ethernet 2/11
switch# 
vlan vlan-id (Optional) Specifies the VLAN ID of the DHCP snooping binding 
database entry to be cleared. Valid VLAN IDs are from 1 to 4094, except 
for the VLANs reserved for the internal switch use.
mac-address mac-address (Optional) Specifies the MAC address of the binding database entry to 
be cleared. Enter the mac-address argument in dotted hexadecimal 
format.
ip ip-address (Optional) Specifies the IPv4 address of the binding database entry to be 
cleared. Enter the ip-address argument in dotted decimal format.
interface  (Optional) Specifies the Ethernet or EtherChannel interface.
ethernet 
slot/[QSFP-module/]port
(Optional) Specifies the Ethernet interface and its slot number and port 
number. The slot number is from 1 to 255. The QSFP-module number is 
from 1 to 4. The port number is from 1 to 128. 
Note The QSFP-module number applies only to the QSFP+ Generic 
Expansion Module (GEM). 
port-channel 
channel-number
(Optional) Specifies the Ethernet port channel of the binding database 
entry to be cleared.
Release Modification
6.0(2)N1(2) Support for the QSFP+ GEM was added. 
5.2(1)N1(1) This command was introduced.