2-125
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco 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
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 DHCP binding configuration on interface gi1/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
Related Commands ip dhcp snooping
ip dhcp snooping information option
ip dhcp snooping trust
ip dhcp snooping vlan
show ip dhcp snooping
show ip dhcp snooping binding
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.