Académique Documents
Professionnel Documents
Culture Documents
Contents
1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
FT42823EN02GLA0
2010 Nokia Siemens Networks
3
4
5
9
12
13
20
24
25
FT42823EN02GLA0
2010 Nokia Siemens Networks
FT42823EN02GLA0
2010 Nokia Siemens Networks
1.1
Definitions
FT42823EN02GLA0
2010 Nokia Siemens Networks
1.2
In a traditional Ethernet LAN, stations connected to the same media, share a domain.
In this domain, every station hears broadcast frames transmitted by every other
station.
As the number of stations grows, contention and broadcast traffic increase a lot.
At some point, the Ethernet becomes saturated.
To operate efficiently, the LAN must be divided into smaller pieces.
In a traditional LAN, stations are connected to each other by means of HUBS or
REPEATERS.
HUB
FT42823EN02GLA0
2010 Nokia Siemens Networks
FT42823EN02GLA0
2010 Nokia Siemens Networks
A BRIDGE (or a L2 SWITCH) do not forward collisions, but allows broadcast and
multicast passing through.
Broadcast domain refers to a part of network where a single broadcast packet is
transmitted to all segments of the network (i.e. ARP request, NETBIOS name
request).
This type of traffic, affects the whole network because each device receiving a
broadcast frame must analyze it.
If broadcast frames increases in frequency, available bandwidth decrease up to be
exhaust (BROADCAST STORM).
L2 SWITCH
FT42823EN02GLA0
2010 Nokia Siemens Networks
A ROUTER may be used to prevent Broadcast and Multicast from traveling through
the network because it is able to segment a LAN in different Broadcast domains.
HUB
ROUTER
HUB
FT42823EN02GLA0
2010 Nokia Siemens Networks
1.3
Domains in a VLAN
VLANs allow a network manager to logically segment a LAN into different broadcast
domains without using routers.
Bridging software is used to define which workstations are to be included in the
broadcast domain.
VLAN 1 Broadcast
VLAN 1 Broadcast
Domain
Domain
VLAN22Broadcast
Broadcast
VLAN
Damain
Damain
L2 SWITCH
L2 SWITCH
FT42823EN02GLA0
2010 Nokia Siemens Networks
VLAN11Broadcast
Broadcast
VLAN
Domain
Domain
VLAN22Broadcast
Broadcast
VLAN
Damain
Damain
L2 SWITCH
L2 SWITCH
ROUTER
10
FT42823EN02GLA0
2010 Nokia Siemens Networks
PER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.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
11
1.4
RNC
Ethernet Network
Flexi BTS Nr.2
12
FT42823EN02GLA0
2010 Nokia Siemens Networks
1.5
Tagging
MAC DA
6 bytes
MAC SA
6 bytes
Length/Type
Payload
FCS
2 bytes
46-1500 bytes 4 bytes
64-1518 bytes
Interframe
Gap
12 bytes
FT42823EN02GLA0
2010 Nokia Siemens Networks
13
MAC DA
6 bytes
MAC SA
6 bytes
Length/Type
Payload
FCS
2 bytes
48-1500 bytes 4 bytes
Interframe
Gap
12 bytes
MAC DA
6 bytes
MAC SA
6 bytes
TPID TCI
Length/Type
Payload
FCS
2 bytes
48-1500 bytes 4 bytes
Interframe
Gap
12 bytes
4 bytes
TPID
TAG Protocol Identifier
TCI
Tag Control Identifier
2 bytes
TAG Protocol Identifier TPID
0x8100
16 bits
2 bytes
C
Priority F
I
3bits 1bit
User priority
CFI (Canonical
format identifier)
VLAN ID
12 bits
VLAN ID <= 4094)
14
FT42823EN02GLA0
2010 Nokia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
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
15
1.5.1
The IEEE 802.1p provides a standard and interoperable way to set the priority bits in
a frames header and to map these settings to TRAFFIC CLASSES.
There are 8 TRAFFIC CLASSES (3 Bits) according to the table reported in Fig. 12.
NC
111
VOICE TRAFFIC
VO
110
VIDEO TRAFFIC
VI
101
CL
100
EE
011
010
BACKGROUND
BK
001
BEST EFFORT
BE
000
WARNING
Of course, network operators may choose to implement traffic differentiation
on a per VLAN-ID basis rather than using the three CoS bits.
16
FT42823EN02GLA0
2010 Nokia Siemens Networks
The TRAFFIC CLASSES are assigned to separate queues with different priorities.
Priority bits
map to
Traffic classes
queues
outgoing
If a switch provides 8 queues for the 8 priorities settings, each queue will store
frames with a specific priority setting to provide complete differentiated services.
FT42823EN02GLA0
2010 Nokia Siemens Networks
17
Fig. 15 Switch with less than 8 queues; more than one priority in one queue
18
FT42823EN02GLA0
2010 Nokia Siemens Networks
When 4 queues are available, like in the FlexiPacket ODU, the 8 CoS codes could be
associated to four priority values as reported in Fig. 16 (FlexiPacket ODU default).
CoS
Queue Priority
Value
When 5 queues are available, like in FlexiPacket HUB 2200/1200, the 8 CoS codes
could be associated to five priority values as reported in Fig. 16 (HUB 1200/2200
configuration).
CoS
Queue Priority
Value
FT42823EN02GLA0
2010 Nokia Siemens Networks
19
1.6
Scheduling algorithms
20
FT42823EN02GLA0
2010 Nokia Siemens Networks
Queue
Priority
Q3
Q2
6,5
Q1
3,4
Q0
1,2
Q2
Q1
Q0
7
6
7
6
7
1
3
1
Direction of Data flow
FT42823EN02GLA0
2010 Nokia Siemens Networks
21
The choice of the weights also depends on the amount of traffic in each class
Q3
7
Q2
Q1
Q0
WFQ
Scheduler
Queue
Priority
Weight
BW
Q3
80 Mbps
Q2
5,6
40 Mbps
Q1
3,4
20 Mbps
Q0
1,2
10 Mbps
7
6
80 Mbps
40 Mbps
20 Mbps
1
1
10 Mbps
22
FT42823EN02GLA0
2010 Nokia Siemens Networks
SP High
SP Low
Z%
W%
SP high
SP low
Z%
W%
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.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.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
23
1.7
VLAN AWARE
If the data is to go to a device that knows about VLAN implementation (VLAN Aware),
the VLAN identifier is added to the data.
VLAN UNAWARE
If it is to go to a device that has no knowledge of VLAN implementation (VLAN
Unaware), the BRIDGE sends the data without the VLAN identifier.
24
FT42823EN02GLA0
2010 Nokia Siemens Networks
1.8
Links Types
Devices on a VLAN can be connected in three ways based on whether the connected
devices are VLAN Aware or VLAN Unaware as reported in Fig. 23, Fig. 24, Fig. 25
and Fig. 26.
Recall that a VLAN aware device is one which understands VLAN memberships (i.e.
which users belong to a VLAN) and VLAN formats.
DESCRIPTION
LINK TYPE
Trunk Link
Access Link
Hybrid Link
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
FT42823EN02GLA0
2010 Nokia Siemens Networks
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
25
VLAN-aware Workstation
Trunk Link
L2-Switch
L2-Switch
VLAN-aware
Bridge/L2-Switch
VLAN-aware
Bridge/L2-Switch
Trunk Link
26
FT42823EN02GLA0
2010 Nokia Siemens Networks
VLAN-unaware Device
Access Link
L2-Switch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.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
27
VLAN anaware
Switch
VLAN anaware
Stations
S3
VLAN red
VLAN aware
Switches
and Stations
VLAN gray
S2
VLAN yellow
configure VLAN-ID per
port
VLAN green
S1
VLAN red
VLAN-ID VLAN red
IEEE 802.1Q
VLAN yellow
configure VLAN-ID
per port
Si
Server yellow
Server red
Server gray
IEEE 802.1Q
Server green
28
FT42823EN02GLA0
2010 Nokia Siemens Networks
1.8.1
Q-in-Q
In the VLAN tag field defined in IEEE 802.1Q, only 12 bits are used for VLAN IDs, so
a device can support a maximum of 4,094 VLANs.
In actual applications, however, a large number of VLAN are required to isolate
users, especially in metropolitan area networks, and 4,094 VLANs are far from
satisfying such requirements.
The so called Q-in-Q (IEEE 802.1ad) feature enables the encapsulation of double
VLAN tags within an Ethernet frame, with the inner VLAN tag being the customer
network VLAN tag while the outer one being the VLAN tag assigned by the service
provider to the customer.
In the backbone network of the service provider (the public network), frames are
forwarded based on the outer VLAN tag only, while the customer network VLAN tag
is shielded during data transmission.
The Q-in-Q feature enables a device to support up to 4,094 x 4,094 VLANs.
Bytes
DA
SA
LEN/
Etype
2
DA
SA
TPID
2
DA
SA
TPID
46 to 1500
Data
FCS
2
TAG
LEN/
Etype
Data
2
TAG
FCS
TPID
TAG
LEN/
Etype
Data
FCS
FT42823EN02GLA0
2010 Nokia Siemens Networks
29
30
FT42823EN02GLA0
2010 Nokia Siemens Networks
B
A
S-VLAN 2
C-VLAN 2
1
S-VLAN 2
C-VLAN 2
S-VLAN 2
C-VLAN 2
S= Service Provider
C= Customer
2
3
S-VLAN14
C-VLAN 2
A-Port
VLAN Inner
Tag
VLAN Outer
Tag
Forwarding Decision
FT42823EN02GLA0
2010 Nokia Siemens Networks
31
1.8.1.1
Q in Q TPID
The QinQ frame contains the modified tag protocol identifier (TPID) value of VLAN
Tags. By default, the VLAN tag uses the TPID field to identify the protocol type of the
tag. The value of this field, as defined in IEEE 802.1Q, is 0x8100.
The device determines whether a received frame carries a service provider VLAN tag
or a customer VLAN tag by checking the corresponding TPID value.
After receiving a frame, the device compares the configured TPID value with the
value of the TPID field in the frame.
If the two match, the frame carries the corresponding VLAN tag. For example, if a
frame carries VLAN tags with the TPID values of 0x88a8 and 0x8100, respectively,
while the configured TPID value of the service provider VLAN tag is 0x88a8 and that
of the VLAN tag for a customer network is 0x8200, the device considers that the
frame carries only the service provider VLAN tag but not the customer VLAN tag.
In addition, the systems of different vendors might set the TPID of the outer VLAN tag
of QinQ frames to different values.
For compatibility with these systems, you can modify the TPID value so that the QinQ
frames, when sent to the public network, carry the TPID value identical to the value of
a particular vendor to allow interoperability with the devices of that vendor.
The TPID in an Ethernet frame has the same position with the protocol type field in a
frame without a VLAN tag.
32
FT42823EN02GLA0
2010 Nokia Siemens Networks