Command Manual – DHCP
H3C S7500E Series Ethernet Switches
Chapter 4 DHCP Snooping Configuration Commands
4-5
Related commands:
display dhcp-snooping trust
.
Examples
# Specify GigabitEthernet 2/0/1 as a trusted port and allow it to record the IP-to-MAC
bindings of clients.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] dhcp-snooping trust
4.1.6 display dhcp-snooping
Syntax
display dhcp-snooping
View
Any view
Parameters
None
Description
Use the
display dhcp-snooping
command to display the binding information recorded
through DHCP snooping.
Related commands:
dhcp-snooping
.
Note:
Using the
display dhcp-snooping
command displays IP-to-MAC bindings that are
present both in the DHCP-ACK and DHCP-REQUEST messages.
Examples
# Display DHCP snooping address binding information.
<Sysname> display dhcp-snooping
DHCP Snooping is enabled.
The client binding table for all untrusted ports.
Type : D--Dynamic , S--Static
Type IP Address
MAC Address
Lease
VLAN
Interface
==== ============= ============== =========
==== =====================