WLAN AC V200R010C00 Command Reference

port-group group-member

port-group group-member

Function

The port-group group-member command creates a temporary port group and adds specified Ethernet interfaces to the temporary port group. Commands configured for a temporary port group will be automatically run on all member interfaces.

By default, no temporary port group is created.

Format

port-group group-member { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-5>

Parameters

Parameter Description Value
interface-type interface-number1 [ to interface-type interface-number2 ] Specifies Ethernet interfaces to be added to a temporary port group.

to indicates an interface range. All interfaces numbered between interface-number1 and interface-number2 are added to the temporary port group.

The value of interface-number2 must be larger than the value of interface-number1.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Generally, a device has many Ethernet interfaces and most of them have the same configuration. Configuring these Ethernet interfaces one by one increases the configuration workload and may result in incorrect configurations. Therefore, you can add the Ethernet interfaces to be configured with the same command to a port group. After a command is run in this port group, the system executes the command on all the member interfaces. This process allows Ethernet interfaces to be configured in batches.

Precautions

  • After exiting from the temporary port group view, the system deletes the temporary port group.

  • The port-group group-member command is equivalent to the group-member command executed in the permanent port group view. Multiple interfaces can be added to a permanent port group in batches using the group-member command.

  • The system supports a maximum of 32 temporary port groups. If more than 32 users log in to the device through Telnet simultaneously, only 32 users can create temporary port groups.

  • When you specify the keyword to in the port-group group-member command:

    • The interfaces specified by interface-number1 and interface-number2 must reside on the same LPU. To add contiguous interfaces on different LPUs to the same port group, run this command several times or use the keyword to several times.
    • The interfaces specified by interface-number1 and interface-number2 must be of the same type.
    • If to is not specified, the preceding limitations do not apply.

Example

# Add GE0/0/1, GE0/0/2, and GE0/0/3 to a temporary port group.
<AC6605> system-view
[AC6605] port-group group-member gigabitethernet 0/0/1 to gigabitethernet 0/0/3
[AC6605-port-group]
Translation
Favorite
Download
Update Date:2021-02-27
Document ID:EDOC1100064351
Views:9035666
Downloads:1494
Average rating:4.0Points