R21xx-HP FlexFabric 11900 Layer 3 IP Services Command Reference
93
Examples
# Specify the Layer 2 Ethernet interface Ten-GigabitEthernet 1/0/1 as a trusted port.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] dhcp snooping trust
Related commands
display dhcp snooping trust
display dhcp snooping binding
Use display dhcp snooping binding to display DHCP snooping entries.
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.
vlan vlan-id: Specifies the VLAN ID where the IP address resides.
Examples
# Display all DHCP snooping entries.
<Sysname> display dhcp snooping binding
1 DHCP snooping item(s) found
IP Address MAC Address Lease VLAN SVLAN Interface
=============== ============== ============ ===== ===== =================
10.0.1.1 0023-8912-3d07 863963 20 N/A XGE1/0/20
Table 17 Command output
Field Description
DHCP snooping item(s) 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.










