The display sub-interface pevlan command displays information about user-VLAN sub-interfaces.
Parameter | Description | Value |
---|---|---|
interface-name |
Specifies the interface name. |
- |
interface-type |
Specifies the interface type. |
- |
interface-type interface-num |
Specifies an interface type and number. |
- |
interface-num |
Specifies the interface number. |
- |
pevlan pevlan |
Specifies the VLAN ID in the single or outer VLAN tag carried in packets that a user-VLAN sub-interface receives. |
The value is an integer ranging from 1 to 4094. |
cevlan cevlan |
Specifies the VLAN ID in the inner VLAN tag carried in packets that a user-VLAN sub-interface receives. |
The value is an integer ranging from 1 to 4094. |
Usage Scenario
Multiple user-VLAN sub-interfaces can be configured on the same interface. To view information about these user-VLAN sub-interfaces, run the display sub-interface command. The command output helps you determine whether the user-VLAN sub-interfaces are correctly configured.
In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display sub-interface gigabitethernet0/1/1 pevlan 10 cevlan 100 Sub-interface: GigabitEthernet0/1/1.1 Sub-interface-status: UP PeVlan/CeVlan: 10/100 The BAS function has been disabled
Item | Description |
---|---|
The BAS function has been disabled | Whether the user-VLAN function has been enabled:
|
Sub-interface | User-VLAN sub-interface. |
Sub-interface-status | User-VLAN sub-interface status:
|
PeVlan/CeVlan | Single or outer VLAN tag carried in packets that the user-VLAN sub-interface receives./Inner VLAN tag carried in packets that the user-VLAN sub-interface receives. |