Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
show ip dhcp snooping statistics
Use the show ip dhcp snooping statistics user EXEC command to display DHCP snooping statistics in
summary or detail form.
Syntax Description
detail
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(37)SE
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
In a switch stack, all statistics are generated on the stack master. If a new stack master is elected, the
statistics counters reset.
Examples
This is an example of output from the show ip dhcp snooping statistics command:
Switch> show ip dhcp snooping statistics
Packets Forwarded
Packets Dropped
Packets Dropped From untrusted ports
This is an example of output from the show ip dhcp snooping statistics detail command:
Switch> show ip dhcp snooping statistics detail
Packets Processed by DHCP Snooping
Packets Dropped Because
IDB not known
Queue full
Interface is in errdisabled
Rate limit exceeded
Received on untrusted ports
Nonzero giaddr
Source mac not equal to chaddr
Binding mismatch
Insertion of opt82 fail
Interface Down
Unknown output interface
Reply output port equal to input port
Packet denied by platform
OL-8604-03
show ip dhcp snooping statistics [detail] [ | {begin | exclude | include} expression]
(Optional) Display detailed statistics information.
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
show ip dhcp snooping statistics
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
Catalyst 2960 Switch Command Reference
2-471