group-member
Function
The group-member command adds specified Ethernet interfaces to a permanent port group.
The undo group-member command deletes specified Ethernet interfaces from a permanent port group.
By default, no Ethernet interface is added to a permanent port group.
Format
group-member { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-5>
undo group-member { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-5>
undo group-member all-unavailable-interface
Parameters
Parameter | Description | Value |
---|---|---|
interface-type interface-number1 to interface-type interface-number2 | Adds an Ethernet interface to a permanent port group. to specifies an interface range, indicating all the interfaces numbered between interface-number1 and interface-number2. |
interface-number2 must be greater than interface-number1. |
all-unavailable-interface | Delete all unavailable interfaces from this port-group. |
- |
Usage Guidelines
Usage Scenario
To perform the same configuration on multiple Ethernet interfaces, add these Ethernet interfaces to a port group and run commands in the port group view to configure the Ethernet interfaces in batches.
Prerequisites
A permanent port group has been created using the port-group command in the system view.
Precautions
A maximum of 32 permanent port groups are supported by the system, and a maximum of 48 interfaces can be added to a permanent port group.
This command has the same function as the port-group group-member command that is used in the system view. You can also run the port-group group-member command to add interfaces to a temporary port group to configure the interfaces in batches.
When you specify the keyword to in the group-member command:
- The interfaces specified before and after the keyword to must reside on the same interface card. To add consecutive interfaces on different interface cards to the same port group, run the group-member command or use to multiple times.
- The interfaces specified before and after the keyword to must be of the same type.
- If to is not used, these limitations do not apply.