33-13
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 33 Configuring DHCP Snooping and IP Source Guard
Displaying DHCP-Snooping Information
Displaying the DHCP-Snooping Configuration and Statistics
To display DHCP-snooping configuration information for a switch, perform this task in privileged mode:
This example shows how to display the DHCP-snooping host tracking and match-MAC configuration:
Console# show dhcp-snooping config
DHCP Snooping MAC address matching is enabled.
DHCP Snooping host-tracking information option is disabled.
Remote ID used in information option is 00-01-64-41-60-ff.
DHCP Snooping auto save is disabled.
DHCP Snooping bindings storage file is bootflash:dhcp-snooping-bindings-databas.
DHCP Snooping global bindings limit 16384.
DHCP Snooping available global bindings limit 16383.
Console> (enable)
To display the DHCP-snooping statistics for a switch, perform this task in privileged mode:
This example shows how to display the DHCP-snooping statistics for a switch:
Console# show dhcp-snooping statistics
Packets forwarded = 125
Packets dropped = 3
Packets dropped from untrusted ports = 0
Number of bindings entries = 5
Console#
To display the DHCP-snooping port configuration for a switch, perform this task in privileged mode:
This example shows how to display the DHCP-snooping port configuration for a switch:
Table 33-2 show dhcp-snooping bindings Command Output
Field Description
MAC Address Client-hardware MAC address.
IP Address Client IP address assigned from the DHCP server.
Lease (seconds) IP address lease time.
VLAN VLAN number of the client port.
Port Port that connects to the DHCP-client host.
Task Command
Display the DHCP-snooping configuration for a switch. show dhcp-snooping config
Task Command
Display the DHCP-snooping statistics for a switch. show dhcp-snooping statistics
Task Command
Display the DHCP-snooping port configuration for a switch. show port dhcp-snooping