748
C
54: DHCP S
HAPTER
Related command:
Example
display dhcp-snooping
Syntax
View
Parameter
Description
Related command:
Example
display dhcp-snooping trust
Syntax
C
C
NOOPING
ONFIGURATION
All ports are untrusted by default.
display dhcp-snooping trust.
# Set port Ethernet 1/0 as trusted.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] dhcp-snooping trust
display dhcp-snooping
Any view
None
Use the
display dhcp-snooping
recorded through DHCP snooping.
dhcp-snooping.
n
Using the display dhcp-snooping command displays IP-to-MAC bindings that are
present both in the DHCP-ACK and DHCP-REQUEST messages.
# 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
====
===============
D
10.1.1.1
---
1 dhcp-snooping item(s) found
Table 136 Description on fields of the display dhcp snooping command
Field
Type
IP Address
MAC Address
Lease
VLAN
Interface
display dhcp-snooping trust
OMMANDS
command to display the binding information
MAC Address
===============
00e0-fc00-0006
Description
Binding type
IP address assigned to the DHCP client
MAC address of the DHCP client
Lease period of the IP address in seconds
VLAN where the port connecting the DHCP client resides
Port to which the DHCP client is connected
Lease
VLAN
========== ==== =================
286
1
Ethernet1/0
---
Interface