Escolar Documentos
Profissional Documentos
Cultura Documentos
1ah
Standard a supporto delle VLAN
SFD
DA
SA
SFD
DA
SA
TPI
81
Label
PA
SF
DA
SA
TPI
P
CFI
VLAN ID
T/L
Payload
FCS
00
Field Name
Preamble
Start Frame Delimiter
Destination Address
Source Address
Tag Protocol Identifier
User Priority
Canonical Format Indicator
Size
7 bytes
1 bytes
6 bytes
6 bytes
2 bytes
3 bits
1 bit
12 bits
2 bytes
48 - 1500
bytes
4 bytes
CFI
VLAN ID (VID)
to identify 4094 possible VLANs
Description
Used to synchronize traffic between nodes
Marks the beginning of the header
The MAC address of the next/final hop
The MAC address of the source
Indicates this frame uses 802.1p or Q tags set to 8100 in the standard
Indicates 802.1p priority level 0-7 (CoS)
Indicates if the MAC addresses are in canonical format (bit ordering
information) Ethernet uses 0 / different in Token Ring
Indicates which VLAN this frame belongs to (1-4094)
Ethernet II type or 802.3 length information
User data or higher layer protocol information
Error checking on the frames contents also known as CRC (Cyclical
Redundancy Check)
C-SA
Client Data
FCS
VLAN Aware
C-TAGBridge
C-DA
C-SA C-TAG
Client Data
C-FCS
FCS
Location A
Switch 1
Switch 1
Switch 1
Location B
Switch
Location C
Provider Bridge
IEEE 802.1ad
Therefore:
Q-in-Q can tunnel all of a single customers VLAN-tagged traffic
over a single T-VLAN
Q-in-Q allows for scalable networks, and customer separation.
VLAN Stacking
Tagged Ethernet II Frame
PA SFD
DA
DA
SA
SA
Mod.
TPI VLAN TPI VLAN
TL Data Bytes 46 - 1500 Byte
IFG
FCS
2
1
2
1
Node 2
Node 3
C-VLAN #2
C-VLAN #1
Node 1
C-VLAN #3
C-VLAN #2
Node 5
C-VLAN #3
C-VLAN #1
C-VLAN #2
Node 4
Tunnel-VLANs
Tunnel
Edge
Bridge
Customer B
network 1
Customer B
network 2
Provider Network
Customer A
network 2
(equipped with
standard bridges)
Customer A
network 3
Customer A
network 1
Customer-VLANs
C-SA C-TAG
Client Data
C-FCS
ProviderS-TAG
Edge Bridge
C-DA
I-TAGC-SA S-TAG C-TAG
Client Data
C-FCS
S-FCS
C-VLAN:
S-VLAN:
S-VLAN Bridge:
Provider Bridge:
Component definitions
(EISS = Enhanced Internal Sublayer Service)
The PB / PEB definitions define components
These are generic building blocks for the PB & PEB
The type of component determines the type of VLAN
handled
Two such component types are defined in IEEE 802.1ad
C-VLAN component:
A VLAN-aware bridge component with each Port supported by an
instance of the EISS that can recognize, insert, and remove
Customer VLAN tags
S-VLAN component:
A VLAN-aware bridge component with each Port supported by an
instance of the EISS that can recognize, insert, and remove
Service VLAN tags
Port designations
Customer Edge Port (CEP):
C-VLAN component port on a Provider Edge Bridge that receives /
transmits frames for a single customer
C-VLAN Components
CEP
CEP
Untagged PVID
Tagged
S-VLAN Component
S1
S2
S3
Tagged
PNP
CVID
Customer Operated
Provider Bridges
Provider Bridge
CNP Untagged PVID
S4
S5
CNP
Tagged
SVID
S6
Tagged
PNP
01-80-C2-00-00-01 to 01-80-C2-00-00-0A
Bridge Group Address is treated as a normal multicast address
Customer BPDUs will therefore be S-VLAN tagged
These frames then forwarded as per customer multicast
Length
Or
Ethertype
DSAP-SSAP
Control
01-80-c2-00-00-00
length
42-42
03
01-80-c2-00-00-01
88-08
01-80-c2-00-00-02
88-09
01-80-c2-00-00-03
88-8e
01-80-c2-00-00-0e
88-cc
01-80-c2-00-00-20
01-80-c2-00-00-21
Protocol Type
Spanning Tree
Rapid Spanning Tree
Multiple Spanning Tree
Pause
Link Aggregation Control
Link Aggregation Marker
length
42-42
03
Multicast
MAC Address
Length
Or
Ethertype
DSAP-SSAP
Control
length
42-42
03
01-80-c2-00-00-08
01-80-c2-00-00-0d
Customer RSTP
Normal bridge group address omitted
from PB and S-VLAN component
reserved list
Customer BPDUs are neither blocked
nor processed, instead they are
tagged and forwarded
PNP
PNP
PNP
PNP
Provider Edge
Bridge
PEP
PNP
CNP
PNP
CNP
CNP
CNP
PEP
CEP
Provider MSTP
PNP
PNP
PNP
PNP
PNP
Provider Edge
Bridge
PEP
CEP
CNP
PNP
CNP
CNP
CNP
PEP
CEP
Bridge Types
Backbone Bridge
Backbone Edge Bridge
C-VLAN Components
CEP
CEP
Untagged PVID
Tagged
S-VLAN Component
S1
S2
S3
Tagged
PNP
CVID
Verso le PIP:
C-DA e C-SA sono incapsulati dentro lI-TAG
B-DA preso da una tabella locale
B-SA lindirizzo MAC della PIP
Dalle PIP:
accetta solo i frame con B-DA uguale allindirizzo
MAC della PIP
C-DA e C-SA sono presi dallI-TAG
LI-TAG viene rimosso e scartato
Definizioni in sintesi
Port Based
Concettualmente identico al caso 802.1ad, non accetta frame
con S-TAG a meno che non abbiano T-TAG=0 (priority).
S-Tagged
Mappa unistanza di servizio identificata da un SVID in unistanza di servizio Backbone sulla PBBN
identificato da un SID
Interfacce S-TAGGED
Mapping 1:1 tra S-VID e I-SID: In questo
caso non viene trasportato lS-TAG ma
viene dedotto dallI-SID, priorit e DEI
vengono rigenerati a livello di I-TAG.
Bundling degli S-VID su un unico I-SID: In
questo caso viene trasportato anche lSTAG con relativi priorit e DEI, copiati
anche nellI-TAG.
Encapsulation
I-Tagged
Esempio