2 command examples – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual
Page 242

Chapter 70 VLAN Stacking Commands
Ethernet Switch CLI Reference Guide
242
70.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 9 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
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
channel <port> cvid <cvid> spvid
<spvid> priority <0-7> inactive
Disables the specified selective VLAN stacking rule.
C
13
Table 146 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