The display vlan-group interface command displays the number of VLAN groups on an interface and the configuration in each VLAN group.
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. |
- |
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.
The actual command output varies according to the device. The command output here is only an example.
<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
<HUAWEI> display vlan-group 3 interface eth-trunk10.9
Vlan-group 3
group mode multiple
statistic enable
<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
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. |