Capitolo 8
Funzionalità avanzate degli switch di livello 2
Copyright © 2002 - The McGraw-Hill Companies srl
CPU e RAM
Interfaccia
Interfaccia
Interfaccia
Interfaccia
Interfaccia
Switching Fabric
Interfaccia
Copyright © 2002 - The McGraw-Hill Companies srl
Ingressi
Uscite
Copyright © 2002 - The McGraw-Hill Companies srl
Straight
Cross
Copyright © 2002 - The McGraw-Hill Companies srl
Copyright © 2002 - The McGraw-Hill Companies srl
Rete
Copyright © 2002 - The McGraw-Hill Companies srl
Rete
Copyright © 2002 - The McGraw-Hill Companies srl
Modello ISO/OSI
Applicazione
Presentazione
Sessione
Trasporto
Rete
Data Link
Fisico
Sottolivelli per
LAN 802
Sottolivello LLC
MAC Control (opzionale)
MAC - Media Access Control
Copyright © 2002 - The McGraw-Hill Companies srl
User Priority Sigla
Tipo di traffico
0 (default)
BE
Best Effort
1
BK
Background
2
--
non definita
3
EE
Excellent Effort
4
CL
Controlled Load
5
VI
“Video,” < 100 ms latenza e jitter
6
VO
“Voice,” < 10 ms latenza e jitter
7
NC
Network Control
Copyright © 2002 - The McGraw-Hill Companies srl
Coda
prioritaria
Tipo di traffico
BE
1
2
BE
3
BE
4
5
6
7
8
VO
BK
BE
BK
BE
CL
VO
CL
VO
CL
VI
VO
VO
BK
BE
EE
CL
VI
BK
BE
EE
CL
VI
VO
NC
BE
EE
CL
VI
VO
NC
BK
----
Copyright © 2002 - The McGraw-Hill Companies srl
Filtering
Database
1
Informazione
porta mittente
2
Ricezione trama
Informazione
porta destinatario
3
Scarto trama
1 Filtering Frames
2 Enforcing topology restriction
3 Queueing Frames
Code
4
5
6
Trasmissione trama
4 Selecting frames for transmission
5 Mapping priority
6 Recalculating FCS
Copyright © 2002 - The McGraw-Hill Companies srl
1 ottetto
6 ottetti
Destination Address
6 ottetti
Source Address
2 ottetti
2 ottetti
2 ottetti
Legth/Type = 8808
OpCode = 00-01 (PAUSE)
Pause_time (pause-quanta)
42 ottetti
PAD (tutti 0)
4 ottetti
FCS
(01-80-C2-00-00-01)
Copyright © 2002 - The McGraw-Hill Companies srl
Technology Ability Field
D0
D1
D2
D3
D4
D5
rsvd rsvd rsvd rsvd rsvd FD
D6
D7
D8
D9
D10 D11 D12 D13 D14 D15
HD PS1 PS2 rsvd rsvd rsvd RF1 RF2 Ack
0
0
No Pause
0
1
Asymmetric Pause verso il link partner
1
0
Symmetric Pause
1
1
Symmetric Pause e Asymmetric Pause
(tipo “Both”) verso il local device
NP
0
0
No error, Link OK
0
1
Offline
1
0
Link Failure
1
1
Auto-Negotiation Error
Copyright © 2002 - The McGraw-Hill Companies srl
Register 4: Auto-Negotiation Advertisement Register
Bit(s) Nome
Descrizione
Default
R/W
15
Next Page
Constant 0 = trasmissione della pagina con le capacità 0
primarie
RO
14
Reserved
Riservato. Deve essere impostato al valore 0.
0
RO
13
Remote Fault
1 = malfunzionamento al lato opposto del collegamento 0
0 = nessun malfunzionamento
RW
12:5
Technology Ability Campo di 8 bit contenente informazioni sulle
Field
funzionalità specifiche delle tecnologie identificate dal
valore del campo selector field cui si offre supporto.
00101111
RW
4:0
Selector Field
00001
RO
Campo di 5 bit che identifica il tipo di messaggio
inviato per la negoziazione. Nel circuito Intel 82559
questo campo non è scrivibile (read only) e contiene
il valore 00001b che indica lo standard IEEE 802.3.
Copyright © 2002 - The McGraw-Hill Companies srl
Local Device
Link Partner
Local Device
resolution
Link Partner
resolution
Bit - PS1
Bit - PS2
Bit - PS1
Bit - PS2
0
0
Don’t
care
Don’t
care
Disable PAUSE
TX & RX
Disable PAUSE
TX & RX
0
1
0
Don’t
care
Disable PAUSE
TX & RX
Disable PAUSE
TX & RX
0
1
1
0
Disable PAUSE
TX & RX
Disable PAUSE
TX & RX
0
1
1
1
Enable PAUSE TX
Disable PAUSE RX
Enable PAUSE RX
Disable PAUSE TX
Asymmetric
Asymmetric PAUSE
Pause
Both Sym & Asym Pause
1
0
0
Don’t
care
Disable PAUSE
TX & RX
Disable PAUSE
TX & RX
1
Don’t care
1
Don’t care
Enable PAUSE
TX & RX
Enable PAUSE
TX & RX
Symmetric or Both
Symmetric or Both
1
1
0
0
Disable PAUSE
TX & RX
Disable PAUSE
TX & RX
1
1
0
1
Enable PAUSE RX
Disable PAUSE TX
Enable PAUSE TX
Disable PAUSE RX
Both Sym & Asym Pause
Asymmetric PAUSE
Copyright © 2002 - The McGraw-Hill Companies srl
Calcolatore
lento
Buffer Interfaccia
Calcolatore veloce
Verso
la CPU
Controllo di flusso asimmetrico
Soglia di pausa
Saturazione buffer
Calcolatore
lento
Buffer Interfaccia
Calcolatore veloce
Verso
la CPU
Invio
pause
Soglia di pausa
Saturazione buffer
Copyright © 2002 - The McGraw-Hill Companies srl
pause
Buffer Interfaccia
Verso
la CPU
Invio
pause
Soglia di pausa
Saturazione buffer
Controllo di flusso simmetrico
Buffer Interfaccia
Verso
la CPU
Invio
pause
Soglia di pausa
Saturazione buffer
Copyright © 2002 - The McGraw-Hill Companies srl
PC-5
2
Sym. or Both Pause 1
3
4 Sym. or Both Pause
100 Mb/s
100 Mb/s
Sym. or Both Pause
Sym. or Both Pause
PC-8
Controllo di flusso simmetrico
PC-7
Copyright © 2002 - The McGraw-Hill Companies srl
PC-5
2
3
1
4
100 Mb/s
100 Mb/s
Output Buffer porta 4
Soglia di pausa
PC-8
Saturazione Buffer
PC-7
Buffer Interfaccia
Verso
la CPU
Soglia di pausa
Saturazione Buffer
Copyright © 2002 - The McGraw-Hill Companies srl
PC-5
2
3
1
4
100 Mb/s
100 Mb/s
Output Buffer porta 4
PC-8
Soglia di pausa
PC-7
Saturazione Buffer
Buffer Interfaccia
Verso
la CPU
Invio
Pause
Soglia di pausa
Saturazione Buffer
Copyright © 2002 - The McGraw-Hill Companies srl
PC-5
2
3
1
4
100 Mb/s
100 Mb/s
Output Buffer porta 4
Soglia di pausa
PC-8
Saturazione Buffer
PC-7
Buffer Interfaccia
Verso
la CPU
Soglia di pausa
Saturazione Buffer
Copyright © 2002 - The McGraw-Hill Companies srl
PC-5
2
3
1
4
100 Mb/s
100 Mb/s
Output Buffer porta 4
PC-8
Soglia di pausa
PC-7
Saturazione Buffer
Buffer Interfaccia
Verso
la CPU
Invio
Pause
Soglia di pausa
Saturazione Buffer
Copyright © 2002 - The McGraw-Hill Companies srl
PC-5
2
3
1
4
100 Mb/s
100 Mb/s
Output Buffer porta 4
PC-8
Invio
Pause
PC-7
Soglia di pausa
Saturazione Buffer
Buffer Interfaccia
Verso
la CPU
Soglia di pausa
Saturazione Buffer
Copyright © 2002 - The McGraw-Hill Companies srl
PC-5
2
3
1
4
100 Mb/s
100 Mb/s
Output Buffer porta 4
Soglia di pausa
PC-8
Saturazione Buffer
PC-7
Buffer Interfaccia
Verso
la CPU
Soglia di pausa
Saturazione Buffer
Copyright © 2002 - The McGraw-Hill Companies srl
PC-5
100 Mb/s
2
3
1
4
Buffer Interfaccia
100 Mb/s
V
la
Soglia di pausa
Saturazione Buffer
PC-8
PC-7
Buffer Interfaccia
Verso
la CPU
Soglia di pausa
Saturazione Buffer
Copyright © 2002 - The McGraw-Hill Companies srl
Sym. or Both Pause
Sym. or Both Pause
Sym. or Both Pause
Stazione veloce
Sym. or Both Pause
Symmetric flow control
Sym. or Both Pause
Both Pause
Sym. or Both Pause
Both Pause
Asymmetric flow control
Asym. Pause
Stazione lenta
Asym. Pause
Stazione lenta
Copyright © 2002 - The McGraw-Hill Companies srl
Switch-2
7
1
8
1 Gb/s
1 Gb/s
3
Switch-1
9
2
1
1 Gb/s
Server-C
4
1 Gb/s
5
1
1 Gb/s
Switch-3
PC-X
Server-B
9
10
Server-A
PC-Y
Copyright © 2002 - The McGraw-Hill Companies srl
Switch-2
7
1
8
1 Gb/s
1 Gb/s
3
Switch-1
9
2
1
1 Gb/s
Server-C
4
1 Gb/s
5
1
1 Gb/s
Switch-3
PC-X
Server-B
9
10
Server-A
PC-Y
Copyright © 2002 - The McGraw-Hill Companies srl
Switch-2
7
1
8
1 Gb/s
1 Gb/s
3
Switch-1
Server-C
9
2
1
Blocca tutti i flussi !
1 Gb/s
4
1 Gb/s
5
1
1 Gb/s
Switch-3
PC-X
Server-B
9
10
Server-A
PC-Y
Copyright © 2002 - The McGraw-Hill Companies srl
Switch-2
7
1
8
1 Gb/s
1 Gb/s
3
Switch-1
1
1 Gb/s
1 Gb/s
5
Pause
Server-C
4
9
2
Symmetric
flow control
Input Buffer
porta 1
1 Saturaz.
1 Gb/s
Switch-3
PC-X
Server-B
9
10
Server-A
PC-Y
Copyright © 2002 - The McGraw-Hill Companies srl
Switch-2
7
1
8
1 Gb/s
1 Gb/s
3
Switch-1
1
1 Gb/s
Pause
Server-C
4
1 Gb/s
9
2
5
1
1 Gb/s
Switch-3
PC-X
Server-B
9
10
Server-A
PC-Y
Copyright © 2002 - The McGraw-Hill Companies srl
Switch-2
7
1
8
1 Gb/s
1 Gb/s
3
Switch-1
1
Controllo di
flusso
simmetrico
Server-C
4
1 Gb/s
9
2
1 Gb/s
5
1
1 Gb/s
Switch-3
PC-X
Server-B
9
10
Server-A
PC-Y
Copyright © 2002 - The McGraw-Hill Companies srl
Switch-2
7
1
8
1 Gb/s
1 Gb/s
3
Switch-1
Server-C
4
1 Gb/s
5
9
2
1
NIENTE 1 Gb/s
controllo di
flusso
Controllo di flusso
asimmetrico
1
1 Gb/s
Switch-3
PC-X
Server-B
9
10
Controllo di
flusso
asimmetrico
Server-Adi
Controllo
flusso
asimmetric
o
PC-Y
Copyright © 2002 - The McGraw-Hill Companies srl
Modello ISO/OSI
Applicazione
Presentazione
Sessione
Trasporto
Rete
Data Link
Fisico
Sottolivelli per
LAN 802.3
Sottolivello LLC
Link Aggregation Sublayer (opzionale)
MAC Control
opzionale
MAC Control
opzionale
MAC Control
opzionale
MAC
MAC
MAC
Fisico
Fisico
Fisico
Copyright © 2002 - The McGraw-Hill Companies srl
A
B
Actor A - Partner B
Actor B - Partner A
Copyright © 2002 - The McGraw-Hill Companies srl
B
A
Normale funzionamento
Actor A - Partner B
Actor B - Partner A
B
A
Actor A - Partner B
Caso di guasto
Actor B - Partner A
Copyright © 2002 - The McGraw-Hill Companies srl
MAC Client
Link Aggregation
Control
Link Aggregation
Control Protocol
Aggregation
Control
Frame Collection
Frame Distribution
Marker
Responder
Marker Generator/ Frame
Receiver (opzion.) Distributor
Marker
Frames
Frame
Collector
MAC Client
Frames
Aggregator
Parser/MUX
Marker
Frames
Aggregator
Parser/MUX
MAC
Client
Frames
Aggregator
Parser/MUX
Aggregator
Link
Aggregation
Sublayer
Control
Parser/MUX
Control
Parser/MUX
Control
Parser/MUX
MAC
Control
MAC
Control
MAC
Control
MAC
MAC
MAC
Fisico
Fisico
Fisico
Copyright © 2002 - The McGraw-Hill Companies srl
1 ottetto
6 ottetti
Destination Address
6 ottetti
Source Address
2 ottetti
1 ottetto
2 ottetti
Legth/Type = 88-09
SubType 1 o 2
Version
108 ottetti
4 ottetti
(01-80-C2-00-00-02)
1 = Link Aggregation Control Protocol
2 = Link Aggregation Marker Protocol
LACP Info
FCS
Copyright © 2002 - The McGraw-Hill Companies srl
Coppie di indirizzi MAC
mittente e destinazione
Ultimi
2 bit
Risultato
XOR
Link
Scelto
Source MAC Address 00-00-00-00-00-01
Destination MAC Addr. 00-00-00-00-00-04
01
00
01
Link 2
Source MAC Address 00-00-00-00-00-02
Destination MAC Addr. 00-00-00-00-00-05
10
01
11
Link 4
Source MAC Address 00-00-00-00-00-03
Destination MAC Addr. 00-00-00-00-00-07
11
11
00
Link 1
Source MAC Address 00-00-00-00-00-06
Destination MAC Addr. 00-00-00-00-00-08
10
00
10
Link 3
Copyright © 2002 - The McGraw-Hill Companies srl
RSTP IEEE 802.1w
Alternate
Copyright © 2002 - The McGraw-Hill Companies srl
R
Indirizzo Ethernet corrispondente a H
Indirizzo IP multicast di tutte le stazioni
7
Host Membership Query (H,h)
Forwarding table
f 1,2,3
g 1,3
i 1,2,3
1
1
2
3
Forwarding table
f 1,2,4
g 1,3
i 1,3,4
6
a
Forwarding table
f 1,2,3
i 1,3
1
1
5
b
2
2
Host
Membership
Report (F,f)
A
3
Host
Membership
3 Report (G,g)
g
Host
Membership
Report (I,i)
B
2
C
4
4
3
E
D
Copyright © 2002 - The McGraw-Hill Companies srl
Scarica

1 - Ateneonline