display dhcp relay server-group

Syntax

display dhcp relay server-group { group-id | all } [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

group-id: Displays information about the specified DHCP server group numbered from 0 to 19.

all: Displays information about all DHCP server groups.

|: 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 server-group to display configuration information about a specific DHCP server group or all DHCP server groups.

Examples

# Display IP addresses of DHCP servers in DHCP server group 1.

<Sysname> display dhcp relay server-group 1
    No.            Group IP
    1              1.1.1.1
    2              1.1.1.2

Table 14: Command output

Field

Description

No.

Sequence number

Group IP

IP address in the server group