User Manual

Table Of Contents
[Input mode]
unprivileged EXEC modepriviledged EXEC mode
[Description]
Shows information for the entries that are registered in the binding database.
The entry information is as follows.
VLAN ID that received a DHCP message from a DHCP client
Information on the interface that received a DHCP message from a DHCP client
MAC addresses of DHCP clients
IP addresses of DHCP clients
Lease time
[Example]
Shows the contents of the binding database.
SWP2>show ip dhcp snooping binding
DHCP Snooping Bindings:
Total number of bindings in database: 4
VLAN Interface MAC address IP address Expires(sec)
---- --------- -------------- --------------- ------------
1 port1.1 0000.1111.2222 192.168.100.2 259170
1 port1.2 0000.3333.4444 192.168.100.3 112000
2 sa1 0000.5555.6666 192.168.200.2 100000
2 port1.10 0000.7777.8888 192.168.200.3 infinite
6.5.15 Show DHCP snooping statistics
[Syntax]
show ip dhcp snooping statistics
[Input mode]
unprivileged EXEC modepriviledged EXEC mode
[Description]
Shows DHCP snooping statistics.
Shows the number of received and discarded DHCP packets for each interface.
[Note]
The packets that are discarded as a result of DHCP packet reception rate limitation settings are not counted.
[Example]
Shows DHCP snooping statistics.
SWP2>show ip dhcp snooping statistics
DHCP Snooping Statistics:
VLAN Interface IN-Packets IN-Discards
---- --------- ---------- -----------
1 port1.1 200 100
1 port1.2 300 0
1 port1.5 0 0
2 port1.3 0 0
2 port1.4 0 0
2 sa1 50 2
6.5.16 Clear the binding database
[Syntax]
clear ip dhcp snooping binding
[Input mode]
priviledged EXEC mode
[Description]
Clears the binding database.
Command Reference | Layer 2 functions | 225