API Guide

clear ip dhcp snooping binding
Clears the dynamic entries in the DHCP snooping binding table.
Syntax
clear ip dhcp snooping binding [mac mac-address] [vlan vlan-id] [interface
{ethernetslot/port/sub-port> | port-channel port-channel-id}]
Parameters
mac mac-addressEnter the MAC address of the host to which the server is leasing the IP
address.
vlan vlan-idEnter the VLAN ID. The range is from 1 to 4093.
interface typeEnter the interface type information. You can enter a physical, a VLAN, or a
port-channel interface.
Defaults None
Command Mode EXEC
Usage
Information
This command clears the dynamic entries in the DHCP snooping binding table.
CAUTION: Clearing the DHCP snooping binding table using the clear ip dhcp snooping
binding command also clears the SAV and DAI entries on the system. This affects the traffic
from clients that are connected to the DHCP snooping-enabled VLANs.
Example (Global)
OS10# clear ip dhcp snooping binding
Example (MAC)
OS10# clear ip dhcp snooping binding mac 04:56:79:86:73:fe
Example (Port
Channel)
OS10# clear ip dhcp snooping binding mac 04:56:79:86:73:fe vlan 100
port-channel 10
Supported
Release
10.5.0 or later or later
ip dhcp snooping (global)
Enables DHCP snooping globally.
Syntax
ip dhcp snooping
Parameters None
Defaults Disabled
Command Mode CONFIGURATION
Usage
Information
When you enable this feature, the switch begins to monitor all transactions between DHCP servers and
DHCP clients and use the information to build the DHCP snooping binding table.
If you disable DHCP snooping, the system removes the DHCP snooping binding table. Source Address
Validation and Dynamic ARP Inspection entries are also removed.
This command is accessible to users with sysadmin and secadmin roles.
The no version of this command disables DHCP snooping globally.
Example
OS10(config)# ip dhcp snooping
Supported
Releases
10.5.0 or later or later
236 System management