Displaying DHCPv4 Snooping Information

You can use various show commands to view information about DHCPv4 snooping.
Use one of the following commands to view DHCPv4 snooping information. The commands do not need to be entered in the specified order.
  1. Display the DHCP snooping learned entries.
    device> show ip dhcp snooping info
    
    Dhcp snooping Info
    Total Learnt Entries 1
    Learnt DHCP Snoop Entries
         IP Address      Mac Address    Port/Lag     Vlan     lease      VRF                          
         1.1.0.4         00c7.0400.0001 1/2/4        1        3597       default-vrf          
         …        
    
  2. Display the DHCP snooping status for a VLAN and the trusted and untrusted ports in the VLAN.
    device> show ip dhcp snooping vlan 2
    IP DHCP snooping VLAN 2: Enabled
  3. Display the DHCP snooping binding database.
    device> show ip dhcp snooping 
    
    IP DHCP snooping enabled on 24 VLAN(s):
            VLAN(s): 1001 to 1024