display port-group manual

Syntax

display port-group manual [ all | name port-group-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

Parameters

all: Displays information about all port groups.

name port-group-name: Specifies the name of a port group, a string of 1 to 32 characters.

|: 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 port-group manual to display information about port groups.

If the all keyword is specified, this command displays the name and member Ethernet interfaces of each port group on the switch.

If a port group is specified, this command displays its name and member Ethernet interfaces.

If you do not specify the all keyword or any port group name, the command displays the name of each port group on the switch.

Examples

# Display the names of all port groups.

<Sysname> display port-group manual
The following manual port group exist(s):
group1                                    group2

# Display detailed information about all port groups.

<Sysname> display port-group manual all
Member of group1:
    Ethernet1/0/3     Ethernet1/0/4     Ethernet1/0/5
    Ethernet1/0/6     Ethernet1/0/7     Ethernet1/0/8

Member of group2:
None

# Display detailed information about the port group named group1.

<Sysname> display port-group manual name group1
Member of group1:
    Ethernet1/0/3     Ethernet1/0/4     Ethernet1/0/5
    Ethernet1/0/6     Ethernet1/0/7     Ethernet1/0/8