The port-group command creates a permanent interface group and displays the interface group view or directly displays the view of a created permanent interface group.
The undo port-group command deletes a permanent interface group.
By default, no permanent interface group is created.
Parameter | Description | Value |
---|---|---|
port-group-name |
Specifies the name of a permanent interface group. |
The value is a string of 1 to 32 characters without spaces. When quotation marks are used around the string, spaces are allowed in the string.
|
Usage Scenario
A switching device provides multiple interfaces, many of which have the same configuration. To simplify the configuration of interfaces, run the port-group command to create a permanent interface group and add interfaces to the permanent interface group. When you run a command in the interface group view, the system automatically applies the command to all the interfaces in the permanent interface group. In this manner, interfaces in a permanent interface group are configured in a batch.
Follow-up Procedure
Run the group-member command to add one or more interfaces to the permanent interface group.
Precautions
Each VS supports a maximum of 64 permanent interface groups.