ip dhcp snooping binding
ip dhcp snooping binding
Use the ip dhcp snooping binding privileged EXEC command to configure the DHCP snooping binding
database and to add binding entries to the database. Use the no form of this command to delete entries
from the binding database.
This command is available only if your switch is running the IP services image, formerly known as the
enhanced multilayer image (EMI).
Syntax Description
mac-address
vlan vlan-id
ip-address
interface interface-id
expiry seconds
Defaults
No default database is defined.
Command Modes
Privileged EXEC
Command History
Release
12.2(25)SE
Usage Guidelines
In the DHCP snooping binding database, each database entry, also referred to a binding, has an IP
address, an associated MAC address, the lease time (in hexadecimal format), the interface to which the
binding applies, and the VLAN to which the interface belongs. The database can have up to 512
bindings.
When a switch learns new bindings or it loses bindings, the switch updates the entries in the database
and in the binding file at a configured location. The frequency at which the database and the file are
updated is based on a configurable delay, and the updates are batched. You can configure this delay by
using the ip dhcp snooping database write-delay seconds global configuration command.
Use the show ip dhcp snooping binding privileged EXEC command to display only the dynamically
configured bindings. Use the show ip source binding privileged EXEC command to display the
dynamically and statically configured bindings.
Catalyst 3550 Multilayer Switch Command Reference
2-150
ip dhcp snooping binding mac-address vlan vlan-id ip-address interface interface-id expiry
seconds
no ip dhcp snooping binding mac-address vlan vlan-id ip-address interface interface-id
Specify a MAC address.
Specify a VLAN number. The range is from 1 to 4904.
Specify an IP address.
Specify an interface on which to add or delete a binding entry.
Specify the interval (in seconds) after which the binding entry is no longer
valid. The range is from 1 to 4294967295.
Modification
This command was introduced.
Chapter 2
Catalyst 3550 Switch Cisco IOS Commands
OL-8566-02