raw-vlan-id inbound (available only on the HPE 3100 v2 EI)

Syntax

raw-vlan-id inbound { all | vlan-list }

undo raw-vlan-id inbound { all | vlan-list }

View

QinQ view

Default level

2: System level

Parameters

vlan-list: Specifies a list of VLANs in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>, where vlan-id represents the VLAN ID ranging from 1 to 4094 and &<1-10> indicates that you can specify up to 10 vlan-id [ to vlan-id ] parameters.

all: Specifies all VLAN IDs.

Description

Use raw-vlan-id inbound to tag frames from the specified VLANs with the SVLAN.

Use undo raw-vlan-id inbound to remove the configuration.

By default, Ethernet ports do not tag VLAN frames with outer VLAN tags.

You can configure this command in the same view multiple times. A new configuration does not overwrite the previous ones and the configured values are automatically arranged in an ascending order.

An inner VLAN tag corresponds to only one outer VLAN tag. To change an outer VLAN tag, delete the old outer VLAN tagging policy and configure a new outer VLAN tag.

Related commands: qinq vid.

Examples

# Configure Ethernet 1/0/1 to tag frames from VLAN 3, VLAN 5, and VLANs 20 through 100 with SVLAN 100.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] qinq vid 100
[Sysname-Ethernet1/0/1-vid-100] raw-vlan-id inbound 3 5 20 to 100