R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

92
[Sysname-Ethernet1/1] dhcp-snooping trust
Related commands
display dhcp-snooping trust
display dhcp-snooping
Use display dhcp-snooping to display DHCP snooping entries.
Syntax
display dhcp-snooping [ ip ip-address ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
ip ip-address: Displays the DHCP snooping entries corresponding to the specified IP address.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
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.
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 Ethernet1/1
--- 1 dhcp-snooping item(s) found ---