R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

94
Predefined user roles
network-admin
network-operator
Parameters
ip ip-address: Displays the DHCP snooping entry for the specified IP address.
vlan vlan-id: Specifies the VLAN ID where the IP address resides.
Usage guidelines
If you do not specify any parameters, the command displays all DHCP snooping entries.
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 GE2/1/1
1.1.1.11 0000-0101-010b 16907537 2 3 GE2/1/3
Table 17 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 the database file that stores
DHCP snooping entries.
Syntax
display dhcp snooping binding database