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.
Syntax Description
vlan vlan-id
mac-address mac-address
ip ip-address
interface
ethernet
slot/[QSFP-module/]port
port-channel
channel-number
Command Default
None
Command Modes
Any command mode
Command History
Release
6.0(2)N1(2)
5.2(1)N1(1)
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#
Cisco Nexus 5500 Series NX-OS Security Command Reference
30
clear ip dhcp snooping binding [vlan vlan-id [mac mac-address ip ip-address] [interface
{ethernet slot/[QSFP-module/]port | port-channel channel-number}]]
Modification
Support for the QSFP+ GEM was added.
This command was introduced.
(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.
(Optional) Specifies the MAC address of the binding database entry to
be cleared. Enter the mac-address argument in dotted hexadecimal
format.
(Optional) Specifies the IPv4 address of the binding database entry to be
cleared. Enter the ip-address argument in dotted decimal format.
(Optional) Specifies the Ethernet or EtherChannel interface.
(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).
(Optional) Specifies the Ethernet port channel of the binding database
entry to be cleared.
Chapter
C Commands
OL-27883-02