group mode

Function

The group mode command configures a working mode for a VLAN group.

The undo group mode command restores the default working mode.

By default, a VLAN group works in single mode.

Format

group mode { single | multiple }

undo group mode

Parameters

Parameter Description Value
single

Configures a VLAN group to work in single mode. In single mode, all VLAN tags to be terminated in a specified VLAN group belong to the same user.

A VLAN group is considered as a user. This means that you cannot collect QinQ packet statistics or deploy QoS policies based on a VLAN or a VLAN range.

-

multiple

Configures a VLAN group to work in multiple mode. In multiple mode, VLAN tags to be terminated in a specified VLAN group belong to different users.

VLANs or VLAN ranges in a VLAN group are considered as different users. This means that you can collect QinQ packet statistics or deploy QoS policies based on a VLAN or VLAN range to implement refined management.

-

Views

VLAN-group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ethernet write

Usage Guidelines

Usage Scenario

If you want to specify whether to collect QinQ packet statistics or deploy QoS policies based on a VLAN or a VLAN range in a VLAN group, run the group mode command to configure a working mode for the VLAN group.

Prerequisites

A VLAN group has been created and the VLAN group view must be displayed using the vlan-group command.

Configuration Impact

If a VLAN group is in use, do not run the group mode command to change the working mode for the VLAN group. Unbind the VLAN tag termination sub-interface from a VLAN group before you change the working mode for the VLAN group.

If the working mode of a VLAN group is set to multiple and VLAN group-based QinQ packet statistics collection is enabled using the statistic enable command, the number of QinQ packets cannot exceed 4000. Otherwise, a system fault may occur.

Example

# Configure VLAN group 1 to work in multiple mode on GE 0/1/1.1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/1.1
[*HUAWEI-GigabitEthernet0/1/1.1] vlan-group 1
[*HUAWEI-GigabitEthernet0/1/1.1-vlangroup1] group mode multiple
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >