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
]
Содержание ECS3510-10PD
Страница 1: ...Management Guide www edge core com 10 Port Layer 2 Fast Ethernet Switch...
Страница 2: ......
Страница 4: ......
Страница 48: ...CONTENTS 48...
Страница 68: ...SECTION I Getting Started 68...
Страница 78: ...CHAPTER 1 Introduction System Defaults 78...
Страница 96: ...CHAPTER 2 Initial Switch Configuration Managing System Files 96...
Страница 98: ...SECTION II Web Configuration 98...
Страница 118: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 118...
Страница 150: ...CHAPTER 4 Basic Management Tasks Resetting the System 150...
Страница 196: ...CHAPTER 5 Interface Configuration VLAN Trunking 196 Figure 66 Configuring VLAN Trunking...
Страница 238: ...CHAPTER 7 Address Table Settings Configuring MAC Address Mirroring 238...
Страница 264: ...CHAPTER 8 Spanning Tree Algorithm Configuring Interface Settings for MSTP 264...
Страница 274: ...CHAPTER 9 Congestion Control Automatic Traffic Control 274...
Страница 288: ...CHAPTER 10 Class of Service Layer 3 4 Priority Settings 288...
Страница 304: ...CHAPTER 11 Quality of Service Attaching a Policy Map to a Port 304...
Страница 423: ...CHAPTER 13 Security Measures DHCP Snooping 423 Figure 229 Displaying the Binding Table for DHCP Snooping...
Страница 424: ...CHAPTER 13 Security Measures DHCP Snooping 424...
Страница 568: ...CHAPTER 14 Basic Administration Protocols OAM Configuration 568...
Страница 596: ...CHAPTER 15 IP Configuration Setting the Switch s IP Address IP Version 6 596...
Страница 614: ...CHAPTER 1 IP Services Configuring the PPPoE Intermediate Agent 614...
Страница 784: ...CHAPTER 20 System Management Commands Powered Device 784...
Страница 814: ...CHAPTER 22 Remote Monitoring Commands 814...
Страница 1008: ...CHAPTER 26 Interface Commands Power Savings 1008...
Страница 1022: ...CHAPTER 27 Link Aggregation Commands Trunk Status Display Commands 1022...
Страница 1052: ...CHAPTER 29 Congestion Control Commands Automatic Traffic Control Commands 1052...
Страница 1064: ...CHAPTER 31 UniDirectional Link Detection Commands 1064...
Страница 1070: ...CHAPTER 32 Address Table Commands 1070...
Страница 1130: ...CHAPTER 34 ERPS Commands 1130...
Страница 1172: ...CHAPTER 35 VLAN Commands Configuring Voice VLANs 1172...
Страница 1186: ...CHAPTER 36 Class of Service Commands Priority Commands Layer 3 and 4 1186...
Страница 1302: ...CHAPTER 38 Multicast Filtering Commands MVR for IPv6 1302...
Страница 1368: ...CHAPTER 40 CFM Commands Delay Measure Operations 1368...
Страница 1390: ...CHAPTER 42 Domain Name Service Commands 1390...
Страница 1448: ...CHAPTER 44 IP Interface Commands ND Snooping 1448...
Страница 1450: ...SECTION IV Appendices 1450...
Страница 1455: ...APPENDIX A Software Specifications Management Information Bases 1455 UDP MIB RFC 2013...
Страница 1456: ...APPENDIX A Software Specifications Management Information Bases 1456...
Страница 1464: ...APPENDIX D Compliances and Safety Statements CE Mark Declaration of Conformance for EMI and Safety EEC 1464...
Страница 1482: ...COMMAND LIST 1482...
Страница 1493: ......
Страница 1494: ...ECS3510 10PD E032014 ST R03 149100000179A...