Chapter 23 Command Line Interface

This example applies only to switches that support the SVLAN feature. It shows how to configure both port 1 (connected to customer A) and port 2 (connected to customer B) as the ingress ports (access ports) and port 10 as the egress port (tunnel port) on the switch (edge device x of the service provider’s network). Incoming frames received on port 1 and 2 are tagged with the ingress ports’ SP VID 37 and 48 respectively before the switch forwards them to port 10.

The ingress ports (port 1 and 2) and the egress port (port 10) should be in the same static VLAN (customer VLAN) to communicate with each other. This example also shows how to configure service provider’s VLANs 37 and 48 in the switch’s SVLAN table. The switch checks the incoming frames received on the tunnel port (port 10) and drops the frames whose SPVID is not in the SVLAN table.

MES-2110# configure terminal

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

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

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

MES-2110(config-interface)# exit

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

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

MES-2110(config-interface)# vlan-stacking SPVID 48

MES-2110(config-interface)# exit

MES-2110(config)# interface port-channel 10

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

MES-2110(config-interface)# exit

MES-2110(config)# vlan 24

MES-2110(config-vlan)# tagging 10

MES-2110(config-vlan)# untagging 1,2

MES-2110(config-vlan)# exit

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

MES-2110(config-interface)# frame-type fallback

MES-2110(config)# exit

MES-2110# show vlan stacking

VLAN Stacking:Enabled SP TPID:0x9100

Port Role SPVID Priority

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

1

Access

37

0

2

Access

48

0

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

Tunnel

1

0

MES-2110 User’s Guide

205

Page 205
Image 205
ZyXEL Communications MES-2110 manual 205