qinq-tunnel cvlan

Configures Q-in-Q tunneling for customer VLANs (CVLANs), allowing the addition or replacement of a CVLAN in a packet.
Syntax
qinq-tunnel cvlan vlan-id [ vlan-number ] [ new-cvlan cvlan-id ] [ to ] [ vlan-number ] [ untag ] svlan svlan-id
qinq-tunnel cvlan untag [ new-cvlan cvlan-id ] svlan svlan-id
no qinq-tunnel cvlan vlan-id [ vlan-number ] [ new-cvlan cvlan-id ] [ to ] [ untag ] svlan svlan-id
no qinq-tunnel cvlan untag [ new-cvlan cvlan-id ] svlan svlan-id
Command Default

Q-in-Q tunneling for CVLANs is not configured.

Parameters
vlan-id
Specifies the VLAN ID.
vlan-number
Specifies the VLAN number.
new-cvlan cvlan-id
Specifies a new CVLAN that can be added to or can replace an existing CVLAN.
svlan svlan-id
Specifies the service VLAN to tunnel the customer VLANs.
to
Adds a range of VLANs.
untag
Specifies that traffic is untagged.
Modes

Interface subtype configuration mode

Usage Guidelines

The qinq-tunnel cvlan command allows the addition or replacement of a CVLAN in a packet. This aids in segregating traffic from different clients or tenants, ensuring efficient use of available VLAN IDs, and simplifying network configuration

The new-cvlan cvlan-id option is available for ICX 8200 devices only.

The no form of the command removes configured Q-in-Q tunneling for CVLANs.

Examples

The following example configures Q-in-Q tunneling for untagged customer traffic.

device# configure terminal
device(config)# interface ethernet 1/1/1
device(config)# interface ethernet 1/1/4
device(config-if-e1000-1/1/4)# qinq-tunnel cvlan untag svlan 1000

The following example configures Q-in-Q tunneling for specified CVLANs, a range of CVLANs, and specifies a service VLAN to tunnel the CVLANs.

device# configure terminal
device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# qinq-tunnel cvlan 100 svlan 4000
device(config-if-e1000-1/1/1)# qinq-tunnel cvlan 2 3 5 300 to 500 svlan 4000

The following example configures Q-in-Q tunneling for a specified CVLAN, adds a replacement CVLAN, and specifies a service VLAN to tunnel the CVLANs.

device# configure terminal
device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# qinq-tunnel cvlan 1 new-cvlan 2 svlan 4000
History
Release version Command history
10.0.20 The new-cvlan keyword was added.