87
NOTE:
Only the DHCP snooping entries containing IP-to-MAC bindings that are present both in the DHCP-
ACK and DHCP-REQUEST messages are displayed by using the
display dhcp-snooping
command.
Related commands:
dhcp-snooping
and
reset dhcp-snooping
.
Examples
# Display all DHCP snooping entries.
<Sysname> display dhcp-snooping
DHCP Snooping is enabled.
The client binding table for all untrusted ports.
Type : D--Dynamic , S--Static , R--Recovering
Type IP Address MAC Address Lease VLAN SVLAN Interface
==== =============== ============== ============ ==== ===== =================
D 10.1.1.1 00e0-fc00-0006 286 1 2 GigabitEthernet1/0/1
--- 1 dhcp-snooping item(s) found ---
Table 16
Output description
Field
Description
Type
Binding type, which can be:
D: Dynamic IP-to-MAC binding.
S: Static IP-to-MAC binding. Static IP-to-MAC bindings are not
supported.
R: Specifies that the DHCP snooping entry is being restored through the
DHCP snooping entry file, and the interface in the entry is invalid.
IP Address
IP address assigned to the DHCP client
MAC Address
MAC address of the DHCP client
Lease
Lease period left (in seconds)
VLAN
Outer VLAN tag when DHCP snooping and QinQ are both enabled or the
DHCP snooping device receives a packet with two VLAN tags; or VLAN
where the port connecting the DHCP client resides
SVLAN
Inner VLAN tag when DHCP snooping and QinQ are both enabled or the
DHCP snooping device receives a packet with two VLAN tags; or N/A.
Interface
Port to which the DHCP client is connected
display dhcp-snooping binding database
Syntax
display dhcp-snooping binding database
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Содержание A5120 EI Series
Страница 26: ...18 Sysname Vlan interface1 ip address 202 38 160 1 255 255 255 0 sub ...
Страница 83: ...75 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 189: ...181 Sysname tcp ipv6 window 4 ...