The port-group command creates a permanent port group and displays the permanent port group view.
The undo port-group command deletes permanent port groups.
By default, no permanent port group is configured.
Parameter |
Description |
Value |
---|---|---|
port-group-name |
Specifies the name of a permanent interface group. The value cannot conflict with the group-member keyword. For example, the name cannot be g, gr, or group-m. |
The value is a string of 1 to 32 case-insensitive characters without spaces. When double quotation marks are used around the string, spaces are allowed in the string.
NOTE:
A permanent port group cannot be named all. Meanwhile, to avoid a usage conflict between the port-group group-member command and port-group-name, do not specify g, group-member, or first letters of group-member as the name of a permanent interface group. |
all |
Deletes all port groups. |
- |
Usage Scenario
If you need to perform the same operations on multiple Ethernet interfaces, configuring each interface one by one easily causes incorrect configurations and is labor-intensive.
The port group function easily solves the problem. You can add all the Ethernet interfaces to the same port group. After you run a configuration command once in the port group view, the configuration takes effect on all the Ethernet interfaces in the port group, reducing the configuration workload.
Follow-up Procedure
Run the group-member command to add Ethernet interfaces to the created permanent port group.
Precautions
The system supports a maximum of 32 permanent port groups and each port group supports a maximum of 48 member interfaces.