Display Dhcp-Snooping - HP 6125G Command Reference Manual

Layer 3 - ip services command reference
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

display dhcp-snooping

Syntax
display dhcp-snooping [ ip ip-address ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default 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.
Description
Use display dhcp-snooping to display DHCP snooping entries.
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
==== =============== ============== ============ ==== ===== =================
D
10.1.1.1
---
1 dhcp-snooping item(s) found
Table 10 Command output
Field
Type
IP Address
MAC Address
MAC Address
Lease
00e0-fc00-0006 286
---
Description
Entry type:
D—Dynamic.
S—Static. Static DHCP snooping entries are not supported.
R—The DHCP snooping entry is being restored through the DHCP
snooping entry file, and the interface in the entry is invalid.
IP address assigned to the DHCP client.
MAC address of the DHCP client.
60
VLAN SVLAN Interface
1
2
GigabitEthernet1/0/1

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents