Field
Format
Circuit ID format-type
Remote ID format-type
Node identifier
User defined
Circuit ID
Remote ID
display dhcp relay security
Syntax
display dhcp relay security [ ip-address | dynamic | static ] [ | { begin | exclude | include } regular-
expression ]
View
Any view
Default level
1: Monitor level
Parameters
ip-address: Displays the binding information of an IP address.
dynamic: Displays information about dynamic bindings.
static: Displays information about static bindings.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the 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 the display dhcp relay security command 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 the Security Configuration Guide.
Examples
# Display information about all bindings.
<Sysname> display dhcp relay security
IP Address
10.1.1.1
Description
Padding format of Option 82, which can be Normal or Verbose
Non-user-defined code type of the circuit ID sub-option, which can be ASCII or HEX
Non-user-defined code type of the remote ID sub-option, which can be ASCII or
HEX
Access node identifier
Content of user-defined sub-options
User-defined padding content of the circuit ID sub-option
User-defined padding content of the remote ID sub-option
MAC Address
Type
00e0-0000-0001
Static
Interface
vlan1
66