Chapter 82 VLAN Stacking Commands
Ethernet Switch CLI Reference Guide
314
82.2 Command Examples
In the following example figure, both
A
and
B
are Service Provider’s Network (
SPN
)
customers with VPN tunnels between their head offices and branch offices respectively. Both
have an identical VLAN tag for their VLAN group. The service provider can separate these
two VLANs within its network by adding tag
37
to distinguish customer
A
and tag
48
to
distinguish customer
B
at edge device
x
and then stripping those tags at edge device
y
as the
data frames leave the network.
Figure 10
Example: VLAN Stacking
vlan-stacking <
sptpid
>
Sets the SP TPID (Service Provider Tag Protocol Identifier).
SP TPID is a standard Ethernet type code identifying the
frame and indicating whether the frame carries IEEE 802.1Q
tag information. Enter a four-digit hexadecimal number from
0000 to FFFF.
C
13
vlan-stacking selective-qinq
name <name> interface port-
channel <
port
> cvid <
cvid
> spvid
<
spvid
> priority <0-7>
Creates a selective VLAN stacking rule.
cvid
: 1 - 4094. This is the VLAN tag carried in the packets
from the subscribers.
spvid
: 1 - 4094: This is the service provider’s VLAN ID (the
outer VLAN tag).
C
13
vlan-stacking selective-qinq
name <name> interface port-
channel <
port
> cvid <
cvid
> spvid
<
spvid
> priority <0-7> inactive
Disables the specified selective VLAN stacking rule.
C
13
Table 177
vlan-stacking Command Summary (continued)
COMMAND
DESCRIPTION
M
P
VLAN 24
VLAN 24
SPN
VLAN 24
VLAN 24
Customer B
Customer B
Customer A
Customer A
A: 37, 24
B: 48, 24
x
y