show ip dhcp snooping

To display global configuration of DHCP snooping and the DHCP snooping configuration and statistics of all VLANs in which the DHCP snooping feature is enabled, use the command show ip dhcp snooping in Privileged EXEC Mode.

show ip dhcp snooping

show ip dhcp snooping
{ [globals] } { [vlan } { <vlan-id (1-4094)>] } { } { }

Parameters

Parameter Type Description
globals   Enter to display the global configuration of DHCP snooping. The global status of Layer 2 DHCP snooping and MAC verification are displayed.
vlan   Enter to display L2 DHCP snooping in the specific VLAN. The DHCP snooping module will start the protocol operation when the snooping is enabled globally.
<vlan-id (1-4094)> Integer Enter a VLAN ID for the L2 DHCP snooping to be configured. This is a unique value that represents the specific VLAN created. This value ranges from 1 to 4094.

Mode

Privileged EXEC Mode

Prerequisites

The DHCP server binding information is displayed, only if the DHCP server is enabled and the DHCP binding is created.

Examples

iS5Comm# show ip dhcp snooping globals

DHCP Snooping Global information
--------------------------------


			
Switch : default
-------  -------
Layer 2 DHCP Snooping is globally disabled
MAC Address verification is enabled

iS5Comm# show ip dhcp snooping vlan 2

DHCP Snooping Vlan information
------------------------------
VLAN                            : 2
Snooping status                 : Enabled
Number of Incoming Discovers    : 0
Number of Incoming Requests     : 0
Number of Incoming Releases     : 0
Number of Incoming Declines     : 0
Number of Incoming Informs      : 0
Number of Transmitted Offers    : 0
Number of Transmitted Acks      : 0
Number of Transmitted Naks      : 0
Total Number Of Discards        : 0
Number of MAC Discards          : 0
Number of Server Discards       : 0
Number of Option Discards       : 0