2-311
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
ip dhcp snooping binding
ip dhcp snooping binding
To set up and generate a DHCP binding configuration to restore bindings across reboots, use the ip dhcp
snooping binding command. To disable the binding configuration, use the no form of this command.
ip dhcp snooping binding mac-address vlan vlan-# ip-address interface interface expiry seconds
no ip dhcp snooping binding mac-address vlan vlan-# ip-address interface interface
Syntax Description
Defaults This command has no default settings.
Command Modes Privileged EXEC mode
Command History
Usage Guidelines Whenever a binding is added or removed using this command, the binding database is marked as changed
and a write is initiated.
Examples This example shows how to generate a DHCP binding configuration on interface gigabitethernet1/1 in
VLAN 1 with an expiration time of 1000 seconds:
Switch# ip dhcp snooping binding 0001.1234.1234 vlan 1 172.20.50.5 interface gi1/1 expiry 1000
Switch#
Related Commands
mac-address Specifies a MAC address.
vlan vlan-# Specifies a valid VLAN number.
ip-address Specifies an IP address.
interface interface Specifies an interface type and number.
expiry seconds Specifies the interval (in seconds) after which binding is no longer valid.
Release Modification
12.1(19)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.2(25)EW Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500
series switch.
Command Description
ip dhcp snooping Globally enables DHCP snooping.
ip dhcp snooping information option Enables DHCP option 82 data insertion.
ip dhcp snooping trust Enables DHCP snooping on a trusted VLAN.
ip dhcp snooping vlan Enables DHCP snooping on a VLAN or a group of VLANs.