119
Syntax
display dhcp snooping binding [ ip ip-address [ vlan vlan-id ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ip ip-address: Displays the DHCP snooping entry for the specified IP address. If you do not specify
an IP address, this command displays DHCP snooping entries for all IP addresses.
vlan vlan-id: Specifies the VLAN ID where the IP address resides. If you do not specify a VLAN, this
command displays DHCP snooping entries for the IP address in all VLANs.
Examples
# Display all DHCP snooping entries.
<Sysname> display dhcp snooping binding
2 DHCP snooping entries found
IP address MAC address Lease VLAN SVLAN Interface
=============== ============== ============ ===== ===== =================
1.1.1.7 0000-0101-0107 16907533 2 3 HGE1/0/1
1.1.1.11 0000-0101-010b 16907537 2 3 HGE1/0/3
Table 19 Command output
Field Description
DHCP snooping entries found Number of DHCP snooping entries.
IP address IP address assigned to the DHCP client.
MAC address MAC address of the DHCP client.
Lease Remaining lease duration in seconds.
VLAN
When both DHCP snooping and QinQ are enabled or the DHCP packet
contains two VLAN tags, this field identifies the outer VLAN tag. Otherwise,
it identifies the VLAN where the port connecting the DHCP client resides.
SVLAN
When both DHCP snooping and QinQ are enabled or the DHCP packet
contains two VLAN tags, this field identifies the inner VLAN tag. Otherwise,
it displays
N/A
.
Interface Port connected to the DHCP client.
Related commands
dhcp snooping enable
reset dhcp snooping binding
display dhcp snooping binding database
Use display dhcp snooping binding database to display information about DHCP snooping entry
auto backup.