Chapter 36: VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 1097 –
C
OMMAND
U
SAGE
•
The inner VLAN tag of a customer packet entering the edge router of a
service provider’s network is mapped to an outer tag indicating the
service provider VLAN that will carry this traffic across the 802.1Q
tunnel. This process is performed in a transparent manner as described
under
“IEEE 802.1Q Tunneling” on page 160
•
When priority bits are found in the inner tag, these are also copied to
the outer tag. This allows the service provider to differentiate service
based on the indicated priority and appropriate methods of queue
management at intermediate nodes across the tunnel.
•
Rather than relying on standard service paths and priority queuing,
QinQ VLAN mapping can be used to further enhance service by defining
a set of differentiated service pathways to follow across the service
provider’s network for traffic arriving from specified inbound customer
VLANs.
•
Note that all customer interfaces should be configured as access
interfaces (that is, a user-to-network interface) and service provider
interfaces as uplink interfaces (that is, a network-to-network interface).
Use the
uplink
command to set an
interface to access or uplink mode.
E
XAMPLE
This example sets the SVID to 99 in the outer tag for egress packets
exiting port 1 when the packet’s CVID is 2.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel service 99 match cvid 2
Console(config-if)#
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 36-2: 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.
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
]
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...