display vlan-group interface

Function

The display vlan-group interface command displays the number of VLAN groups on an interface and the configuration in each VLAN group.

Format

display vlan-group [ group-id ] interface { interface-name | interface-type interface-number }

Parameters

Parameter Description Value
group-id

Displays the number of the specified VLAN groups on an interface and the configuration in each VLAN group.

The value is an integer ranging from 1 to 16.

interface-name

Specifies the interface name.

-

interface-type

Specifies the interface type.

-

interface-number

Specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ethernet read

Usage Guidelines

Usage Scenario

If VLAN groups are configured on multiple Ethernet sub-interfaces, run the display vlan-group command to view the number of VLAN groups on sub-interfaces and the configuration in each VLAN group. With this information, you can determine whether the configuration is correct and locate faults.

Prerequisites

A VLAN group has been configured using the vlan-group command in the Ethernet sub-interface view.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about all VLAN groups on Eth-Trunk10.
<HUAWEI> display vlan-group interface eth-trunk10
Interface: Eth-Trunk10
Vlan-group total number: 5
Interface: Eth-Trunk10.1
Vlan-group total number: 2
Vlan-group 2
 statistic enable
Vlan-group 4
 description for-voice
 statistic enable
Interface: Eth-Trunk10.2
Vlan-group total number: 1
Vlan-group 5
 description for-user5
Interface: Eth-Trunk10.4
Vlan-group total number: 1
Vlan-group 2
 description for-user1
Interface: Eth-Trunk10.9
Vlan-group total number: 1
Vlan-group 3
 group mode multiple
 statistic enable
# Display information about the VLAN group with VLAN ID 3 on Eth-Trunk 10.9.
<HUAWEI> display vlan-group 3 interface eth-trunk10.9
Vlan-group 3
 group mode multiple
 statistic enable
# Display information about the VLAN group with VLAN ID 3 on Eth-Trunk 10.
<HUAWEI> display vlan-group 3 interface eth-trunk10
Interface: Eth-Trunk10
Vlan-group total number: 1
Interface: Eth-Trunk10.9
Vlan-group 3
 group mode multiple
 statistic enable
Table 1 Description of the display vlan-group interface command output
Item Description
vlan-group total number

Number of VLAN groups on the Ethernet sub-interface.

Interface

Name of the Ethernet sub-interface on which a VLAN group is configured.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >