C
HAPTER
35
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 1150 –
The following example maps C-VLAN 10 to S-VLAN 100, C-VLAN 20 to S-
VLAN 200 and C-VLAN 30 to S-VLAN 300 for ingress traffic on port 1 of
Switches A and B.
Figure 420: Mapping QinQ Service VLAN to Customer VLAN
Step 1. Configure Switch A and B.
1.
Create VLANs 100, 200 and 300.
Console(config)#vlan database
Console(config-vlan)#vlan 100,200,300 media ethernet state active
2.
Enable QinQ.
Console(config)#dot1q-tunnel system-tunnel-control
3.
Configure port 2 as a tagged member of VLANs 100, 200 and 300 using
uplink mode.
Console(config)#interface ethernet 1/2
Console(config-if)#switchport allowed vlan add 100,200,300 tagged
Console(config-if)#switchport dot1q-tunnel mode uplink
4.
Configures port 1 as an untagged member of VLANs 100, 200 and 300
using access mode.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport allowed vlan add 100,200,300 untagged
Console(config-if)#switchport dot1q-tunnel mode access
5.
Configure the following selective QinQ mapping entries.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel service 100 match cvid 10
Console(config-if)#switchport dot1q-tunnel service 200 match cvid 20
Console(config-if)#switchport dot1q-tunnel service 300 match cvid 30
6.
Configures port 1 as member of VLANs 10, 20 and 30 to avoid filtering
out incoming frames tagged with VID 10, 20 or 30 on port 1
Console(config)#interface ethernet 1/1
Console(config-if)#switchport allowed vlan add 10,20,30
7.
Verify configuration settings.
Console#show dot1q-tunnel service
802.1Q Tunnel Service Subscriptions
Port Match C-VID S-VID
-------- ----------- -----
Eth 1/ 1 10 100
Eth 1/ 1 20 200
Eth 1/ 1 30 300
Switch
C
Switch
B
Switch A
Port
1
Port
2
Port
1
Port
2
Port
2
Port
1
[
SV
I
D
100
,
CV
I
D
10
]
[
SV
I
D
200
,
CV
I
D
20
]
[
SV
I
D
300
,
CV
I
D
30
]
[
SV
I
D
100
,
CV
I
D
10
]
[
SV
I
D
200
,
CV
I
D
20
]
[
SV
I
D
300
,
CV
I
D
30
]
[
V
I
D
10
]
[
V
I
D
20
]
[
V
I
D
30
]
[
V
I
D
10
]
[
V
I
D
20
]
[
V
I
D
30
]
Summary of Contents for ECS3510-10PD
Page 1: ...Management Guide www edge core com 10 Port Layer 2 Fast Ethernet Switch...
Page 2: ......
Page 4: ......
Page 48: ...CONTENTS 48...
Page 68: ...SECTION I Getting Started 68...
Page 78: ...CHAPTER 1 Introduction System Defaults 78...
Page 96: ...CHAPTER 2 Initial Switch Configuration Managing System Files 96...
Page 98: ...SECTION II Web Configuration 98...
Page 118: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 118...
Page 150: ...CHAPTER 4 Basic Management Tasks Resetting the System 150...
Page 196: ...CHAPTER 5 Interface Configuration VLAN Trunking 196 Figure 66 Configuring VLAN Trunking...
Page 238: ...CHAPTER 7 Address Table Settings Configuring MAC Address Mirroring 238...
Page 264: ...CHAPTER 8 Spanning Tree Algorithm Configuring Interface Settings for MSTP 264...
Page 274: ...CHAPTER 9 Congestion Control Automatic Traffic Control 274...
Page 288: ...CHAPTER 10 Class of Service Layer 3 4 Priority Settings 288...
Page 304: ...CHAPTER 11 Quality of Service Attaching a Policy Map to a Port 304...
Page 424: ...CHAPTER 13 Security Measures DHCP Snooping 424...
Page 568: ...CHAPTER 14 Basic Administration Protocols OAM Configuration 568...
Page 596: ...CHAPTER 15 IP Configuration Setting the Switch s IP Address IP Version 6 596...
Page 614: ...CHAPTER 1 IP Services Configuring the PPPoE Intermediate Agent 614...
Page 784: ...CHAPTER 20 System Management Commands Powered Device 784...
Page 814: ...CHAPTER 22 Remote Monitoring Commands 814...
Page 1008: ...CHAPTER 26 Interface Commands Power Savings 1008...
Page 1022: ...CHAPTER 27 Link Aggregation Commands Trunk Status Display Commands 1022...
Page 1052: ...CHAPTER 29 Congestion Control Commands Automatic Traffic Control Commands 1052...
Page 1064: ...CHAPTER 31 UniDirectional Link Detection Commands 1064...
Page 1070: ...CHAPTER 32 Address Table Commands 1070...
Page 1130: ...CHAPTER 34 ERPS Commands 1130...
Page 1172: ...CHAPTER 35 VLAN Commands Configuring Voice VLANs 1172...
Page 1186: ...CHAPTER 36 Class of Service Commands Priority Commands Layer 3 and 4 1186...
Page 1302: ...CHAPTER 38 Multicast Filtering Commands MVR for IPv6 1302...
Page 1368: ...CHAPTER 40 CFM Commands Delay Measure Operations 1368...
Page 1390: ...CHAPTER 42 Domain Name Service Commands 1390...
Page 1448: ...CHAPTER 44 IP Interface Commands ND Snooping 1448...
Page 1450: ...SECTION IV Appendices 1450...
Page 1455: ...APPENDIX A Software Specifications Management Information Bases 1455 UDP MIB RFC 2013...
Page 1456: ...APPENDIX A Software Specifications Management Information Bases 1456...
Page 1482: ...COMMAND LIST 1482...
Page 1493: ......