Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
show ip dhcp snooping
To use this command, the switch must be running the LAN Base image.
Note
Use the show ip dhcp snooping user EXEC command to display the DHCP snooping configuration.
Syntax Description
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(25)FX
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.
Examples
This is an example of output from the show ip dhcp snooping command:
Switch> show ip dhcp snooping
Switch DHCP snooping is enabled
DHCP snooping is configured on following VLANs:
40-42
Insertion of option 82 is enabled
Option 82 on untrusted port is allowed
Verification of hwaddr field is enabled
Interface
------------------------
GigabitEthernet0/1
GigabitEthernet0/2
Related Commands
Command
show ip dhcp snooping binding
OL-8604-04
show ip dhcp snooping [ | {begin | exclude | include} expression]
(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.
Trusted
Rate limit (pps)
-------
----------------
yes
unlimited
yes
unlimited
Description
Displays the DHCP snooping binding information.
Catalyst 2960 Switch Command Reference
show ip dhcp snooping
2-361