2-10
display dhcp-snooping
Syntax
display dhcp-snooping [ unit unit-id ]
View
Any view
Parameters
unit unit-id: Indicates the number of the device whose DHCP-snooping information needs to be viewed,
the value is 1.
Description
Use the display dhcp-snooping command to display the user IP-MAC address mapping entries
recorded by the DHCP snooping function.
Related commands: dhcp-snooping.
Examples
# Display the user IP-MAC address mapping entries recorded by the DHCP snooping function
(S3100-EI).
<Sysname> display dhcp-snooping
DHCP-Snooping is enabled.
The client binding table for all untrusted ports.
Type : D--Dynamic , S--Static
Unit ID : 1
Type IP Address MAC Address Lease VLAN Interface
==== =============== =============== ========= ==== =================
D 10.1.1.1 00e0-fc00-0006 200 1 Ethernet1/0/1
--- 1 dhcp-snooping item(s) of unit 1 found ---
# Display the user IP-MAC address mapping entries recorded by the DHCP snooping function
(S3100-SI).
<Sysname> display dhcp-snooping
DHCP-Snooping is enabled.
Type : D--Dynamic , S--Static
Type IP Address MAC Address Remaining VLAN Interface
lease
==== =============== =============== ========= ==== =================
D 10.1.1.1 00e0-fc00-0006 N/A 1 Ethernet1/0/1
--- 1 dhcp-snooping item(s) of unit 1 found ---
display dhcp-snooping server-guard
Syntax
display dhcp-snooping server-guard