API Guide

Table Of Contents
Displaying the Contents of the Binding Table
To display the contents of the binding table, use the following command.
Display the DHCP snooping information.
EXEC Privilege mode
show ip dhcp snooping
Display the contents of the binding table.
EXEC Privilege mode
show ip dhcp snooping binding
View the DHCP snooping statistics with the show ip dhcp snooping command.
DellEMC#show ip dhcp snooping
IP DHCP Snooping : Enabled.
IP DHCP Snooping Mac Verification : Disabled.
IP DHCP Relay Information-option : Disabled.
IP DHCP Relay Trust Downstream : Disabled.
Database write-delay (In minutes) : 0
DHCP packets information
Relay Information-option packets : 0
Relay Trust downstream packets : 0
Snooping packets : 0
Packets received on snooping disabled L3 Ports : 0
Snooping packets processed on L2 vlans : 142
DHCP Binding File Details
Invalid File : 0
Invalid Binding Entry : 0
Binding Entry lease expired : 0
List of Trust Ports :Gi 1/4
List of DHCP Snooping Enabled Vlans :Vl 10
List of DAI Trust ports :Gi 1/4
View the DHCP snooping binding table using the show ip dhcp snooping binding command.
DellEMC#show ip dhcp snooping binding
Codes : S - Static D - Dynamic
IP Address MAC Address Expires(Sec) Type VLAN Interface
=========================================================================
10.1.1.254 00:00:a0:00:00:02 162 D Vl 200 Gi 1/4
10.1.1.225 00:00:a0:00:00:03 163 D Vl 100 Gi 1/4
The following example output of the show ip dhcp snooping binding command displays that different IP addresses are
mapped to the same MAC address:
DellEMC#show ip dhcp snooping binding
Codes : S - Static D - Dynamic
IP Address MAC Address Expires(Sec) Type VLAN Interface
=========================================================================
10.1.1.100 00:00:a0:00:00:00 39735 S Vl 200 Gi 1/4
10.1.1.101 00:00:a0:00:00:00 39736 S Vl 200 Gi 1/4
10.1.1.254 00:00:a0:00:00:00 162 D Vl 200 Gi 1/4
The following example shows a sample output of the show ip dhcp snooping binding command for a device connected
to both the VLT peers. The Po 10 interface is the VLT port channel connected to a ToR switch or an end device.
DellEMC#show ip dhcp snooping binding
Codes : S - Static D - Dynamic
IP Address MAC Address Expires(Sec) Type VLAN Interface
=========================================================================
10.1.1.10 00:00:a0:00:00:00 39735 S Vl 200 Po 10
258
Dynamic Host Configuration Protocol (DHCP)