Specifications

2-243
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
ip dhcp snooping binding
ip dhcp snoopi ng binding
To set up and generate a DHCP binding c onfiguration to restor e binding s across reb oots, use the ip dhc p
snooping binding command. To disable the binding conf iguration, use the no form of this command.
ip dhcp snooping binding mac-address vlan vlan-# ip-a ddress interface interface expiry seconds
no ip dhcp snooping binding mac-address vlan v lan-# ip-address int erface interface
Syntax Description
Defaults This command has no default settings.
Command Modes Privileged EXEC mode
Usage Guidelines Whenever a binding is added or removed using th is command, the binding database is marked as change d
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 Spec ifie s an I P a ddr ess .
interface interface Specifies an interface type and number.
expiry se conds S pecifies the interval (in seconds) after which binding is no longer valid.
Command Description
ip dhcp snooping Globally enables DHCP snooping.
ip dhcp snooping information opt ion 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 gr oup of VLANs.
show ip dhcp snooping Displays the DHCP snooping configuration.
show ip dhcp snooping binding Displays the DHCP snooping binding entries.