160 DHCP Snooping
Example
The following example displays the DHCP snooping configuration.
show ip dhcp snooping binding
The show ip dhcp snooping binding User EXEC mode command displays the DHCP snooping binding
database and configuration information for all interfaces on a switch.
Syntax
•
show ip dhcp snooping binding
[
mac-address
mac-address
] [
ip-address
ip-address
] [
vlan
vlan-id
]
[
ethernet
interface
|
port-channel
port-channel-number
]
•
mac-address
— Specifies a MAC address.
•
ip-address
— Specifies an IP address.
•
vlan-id
— Specifies a VLAN number.
•
interface
— Specifies an Ethernet port.
•
port-channel-number
— Specifies a Port-channel number.
Default Configuration
This command has no default configuration.
Command Mode
User EXEC mode.
console> show ip dhcp snooping
DHCP snooping is Enabled
DHCP snooping is configured on following VLANs: 2
DHCP snooping database is Disabled
Verification of hwaddr field is Enabled
DHCP snooping file update frequency is configured to: 1200
seconds
Interface Trusted
---- -----------
e15 yes
book.book Page 160 Thursday, December 18, 2008 7:40 PM