display sub-interface pevlan

Function

The display sub-interface pevlan command displays information about user-VLAN sub-interfaces.

Format

display sub-interface { interface-name | interface-type interface-num } pevlan pevlan [ cevlan cevlan ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ethernet read

Usage Guidelines

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.

Example

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

# Display user-VLAN sub-interface information.
<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
Table 1 Description of the display sub-interface pevlan command output
Item Description
The BAS function has been disabled

Whether the user-VLAN function has been enabled:

  • enabled.
  • disabled.
Sub-interface

User-VLAN sub-interface.

Sub-interface-status

User-VLAN sub-interface status:

  • Up.
  • Down.
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.

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