display dhcp relay
Syntax
display dhcp relay { all | interface interface-type interface-number } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays information about DHCP server groups that all interfaces correspond to.
interface interface-type interface-number: Displays information about the DHCP server group that a specific interface corresponds to.
|: 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 to display information about DHCP server groups correlated to an interface or all interfaces.
Examples
# Display information about DHCP server groups correlated to all interfaces.
<Sysname> display dhcp relay all Interface name Server-group Vlan-interface1 2
Table 10: Command output
Field | Description |
---|---|
Server-group | DHCP server group number correlated to the interface |