< Home

port-group name

Function

The port-group name command creates an AS port group.

The port-group connect-ap name command creates an AP port group.

The undo port-group name command deletes an AS port group.

The undo port-group connect-ap name command deletes an AP port group.

By default, no AS port group is created.

This command can only be executed on a parent switch.

Format

port-group name group-name

port-group connect-ap name group-name

undo port-group name group-name

undo port-group connect-ap name group-name

Parameters

Parameter Description Value
group-name

Specifies the name of a port group.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value can contain letters, digits, and underscores (_).

Views

uni-mng view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

A port group is a set of AS ports. The purpose of a port group is to facilitate batch configuration of AS ports.

Port groups are classified into AS port groups and AP port groups.
  • Ports in an AS port group are used to connect an AS to a user terminal. An AS port group can be bound to four types of service profiles (network basic profile, network enhanced profile, user access profile, traffic policy profile, and network qos profile), but only one profile of the same type can be bound.

  • Ports in an AP port group are used to connect an AS to an AP. To connect an AP to an AS, you need to add the port that connects the AS to the AP to an AP port group. An AP port group can be bound to only a network basic profile, and only the pass-vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> command configured in the profile takes effect.

Follow-up Procedure

Run the as name as-name or as name-include string interface all command to add AS ports to a port group.

Precautions

  • You can create a maximum of 256 AS port groups in a version earlier than V200R011C10.

    You can create a maximum of 512 AS port groups in V200R011C10 and later versions.

  • You can create a maximum of 1 AP port group.

Example

# Create a port group.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] port-group name group_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >