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 relay security to display information about bindings of DHCP relay agents. If no
parameter is specified, information about all bindings will be displayed.
You must enable address check, or IP source guard on the DHCP relay agent before it can generate
dynamic client entries. For more information about IP source guard, see Security Configuration Guide.
Examples
# Display information about all bindings.
<Sysname> display dhcp relay security
IP Address
10.1.1.5
---
1 dhcp-security item(s) found
Table 6 Command output
Field
IP Address
MAC Address
Type
Interface
display dhcp relay security statistics
Syntax
display dhcp relay security statistics [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: 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 relay security statistics to display statistics about bindings of DHCP relay agents.
MAC Address
Type
00e0-0000-0000
Static
Description
Client IP address.
Client MAC address.
Type of binding, including dynamic, static, and temporary.
Layer 3 interface connecting to the DHCP client. If no interface is recorded in the
binding entry, N/A is displayed.
Interface
Vlan2
---
39