beautypg.com

3 frame tagging examples – ZyXEL Communications MES-2110 User Manual

Page 204

background image

Chapter 23 Command Line Interface

MES-2110 User’s Guide

204

23.10.3 Frame Tagging Examples

In the following example, 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 93 Frame Tagging Example

This example shows how to configure ports 1 and 2 on the switch to tag incoming
frames with the service provider’s VID of 37 (ports are connected to customer A
network). This example also shows how to set the priority for ports 1 and 2 to 3.

MES-2110(config)# vlan-stacking

MES-2110(config)# interface port-channel 1,2

MES-2110(config-interface)# vlan-stacking role access

MES-2110(config-interface)# vlan-stacking spvid 37

MES-2110(config-interface)# vlan-stacking priority 3

MES-2110(config-interface)# exit

MES-2110(config)# exit

MES-2110# show vlan stacking

VLAN Stacking:Enabled

SP TPID:0x9100

Port Role SPVID Priority

------------------------------------------

1 Access 37 3

2 Access 37 3

3 Normal 1 0

4 Normal 1 0

5 Normal 1 0

6 Normal 1 0

7 Normal 1 0

8 Normal 1 0

9 Normal 1 0

10 Normal 1 0