Cisco Systems SPS208G Switch User Manual


 
DHCP Commands
ip dhcp snooping binding
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 136
8
ip dhcp snooping binding
The ip dhcp snooping binding Privileged EXEC mode command configures the
DHCP snooping binding database and adds binding entries to the database. Use
the no form of this command to delete entries from the binding database.
Syntax
ip dhcp snooping binding
mac-address vlan-id ip-address
{ethernet
interface
|
port-channel
port-channel-number
} xpiry
seconds
no ip dhcp snooping binding
mac-address vlan-id
Parameters
mac-address
— Specifies a MAC address.
vlan-id
— Specifies a VLAN number.
ip-address
— Specifies an IP address.
interface
— Specifies an Ethernet port.
port-channel-number —
Specifies the Port-channel number.
expiry
seconds
— Specifies the interval, in seconds, after which the
binding entry is no longer valid. (Range: 10 – 4294967295)
Default Configuration
No static binding exists.
Command Mode
Privileged EXEC mode
User Guidelines
After entering this command an entry is added to the DHCP snooping database. If
DHCP snooping binding file exists, the entry is added to that file also.
The entry is displayed in the show commands as a “DHCP Snooping entry”.