Login

Benvenuto, Ospite
Nome utente: Password: Ricordami
  • Pagina:
  • 1

ARGOMENTO:

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 6 Mesi fa #1

  • DamianoLama
  • Autore della discussione
  • Offline
  • Premium Member
  • Premium Member
  • Messaggi: 50
  • Ringraziamenti ricevuti 0
Buongiorno,

nel configurare un link in etherchannel su uno Switch Catalyst2960 in modalità active verso un Server ho notato che non mi viene segnalato quale porta sta funzionando e dove sta passando il carico (vedi le due righe in grassetto alla fine dell'ultimo comando di show). Il link aggregation è up e la scheda virtuale del server mi indica correttamente un flusso a 2GB, deduco che l'etherchannel è configurato correttamente (anche perché tutto funziona). Il channel-group è il 4 e le porte che ne fanno parte sono la gigabit1/0/46 e la gigabit2/0/46
Allego qualche show:

INTRANET#show etherchannel sum
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator

M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port


Number of channel-groups in use: 4
Number of aggregators: 4

Group Port-channel Protocol Ports

+
+
+
1 Po1(SU) LACP Gi1/0/47(P) Gi1/0/48(P) Gi2/0/47(P)
Gi2/0/48(P)
2 Po2(SD) -
3 Po3(SD) -
4 Po4(SU) LACP Gi1/0/46(P) Gi2/0/46(P)




INTRANET#show interfaces port-channel 4 sum

*: interface is up
IHQ: pkts in input hold queue IQD: pkts dropped from input queue
OHQ: pkts in output hold queue OQD: pkts dropped from output queue
RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec)
TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec)
TRTL: throttle count

Interface IHQ IQD OHQ OQD RXBS RXPS TXBS TXPS TRTL

* Port-channel4 0 0 0 0 4916000 2737 25123000 4169 0




INTRANET#show etherchannel port-channel
Channel-group listing:


Group: 1
Port-channels in the group:

Port-channel: Po1 (Primary Aggregator)


Age of the Port-channel = 153d:11h:45m:10s
Logical slot/port = 5/1 Number of ports = 4
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Port security = Disabled

Ports in the Port-channel:

Index Load Port EC state No of bits
+
+
+
+
0 00 Gi1/0/47 Active 0
0 00 Gi1/0/48 Active 0
0 00 Gi2/0/47 Active 0
0 00 Gi2/0/48 Active 0

Time since last port bundled: 153d:11h:43m:53s Gi2/0/47

Group: 2
Port-channels in the group:

Port-channel: Po2

Age of the Port-channel = 153d:07h:46m:44s
Logical slot/port = 5/2 Number of ports = 0
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel Ag-Not-Inuse
Protocol = -
Port security = Disabled


Group: 3
Port-channels in the group:

Port-channel: Po3

Age of the Port-channel = 153d:07h:33m:22s
Logical slot/port = 5/3 Number of ports = 0
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel Ag-Not-Inuse
Protocol = -
Port security = Disabled


Group: 4
Port-channels in the group:

Port-channel: Po4 (Primary Aggregator)


Age of the Port-channel = 4d:22h:01m:02s
Logical slot/port = 5/4 Number of ports = 2
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Port security = Disabled

Ports in the Port-channel:

Index Load Port EC state No of bits
+
+
+
+
0 00 Gi1/0/46 Active 0
0 00 Gi2/0/46 Active 0

Time since last port bundled: 0d:01h:25m:31s Gi1/0/46
Time since last port Un-bundled: 4d:23h:15m:47s Gi1/0/46

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 6 Mesi fa #2

  • instructor
  • Offline
  • Administrator
  • Administrator
  • Messaggi: 1385
  • Ringraziamenti ricevuti 172
Dunque, dal tuo output si direbbe che il traffico passante sul portchannel 4 sia nullo, infatti leggendo le ultime righe dello show etherchannel portchannel si vede:

Index Load Port EC state No of bits
+
+
+
+
0 00 Gi1/0/46 Active 0
0 00 Gi2/0/46 Active 0

che sostanzialmente vuol dire che le due porte del channel hanno carico a zero.

Puoi anche utilizzare il comando show etherchannel port per avere informazioni sulla distribuzione del carico.

In ogni caso ti consiglio di generare traffico e successivamente verificare come viene distribuito il traffico passante sul port-channel

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 6 Mesi fa #3

  • DamianoLama
  • Autore della discussione
  • Offline
  • Premium Member
  • Premium Member
  • Messaggi: 50
  • Ringraziamenti ricevuti 0
Il server sta generando traffico in particolare fa streaming continuo di file da uno storage, ho anche eseguito un ping esteso ma non vedo traffico sul port-channel. La cosa strana ma corretta è che il traffico sulle 2 porte c'è, allego i 2 output:

INTRANET#show int gigabitEthernet 1/0/46
GigabitEthernet1/0/46 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 8cb6.4fd7.23ae (bia 8cb6.4fd7.23ae)
MTU 9000 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:24, output 00:00:06, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 503
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 3484000 bits/sec, 1880 packets/sec
5 minute output rate 51000 bits/sec, 45 packets/sec
19068535 packets input, 4330823486 bytes, 0 no buffer
Received 2430 broadcasts (440 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 440 multicast, 0 pause input
0 input packets with dribble condition detected
751483 packets output, 160125677 bytes, 0 underruns
0 output errors, 0 collisions, 8 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out


INTRANET#show int gigabitEthernet 2/0/46
GigabitEthernet2/0/46 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 04c5.a48b.d8ae (bia 04c5.a48b.d8ae)
MTU 9000 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 4/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 47998
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 524000 bits/sec, 271 packets/sec
5 minute output rate 19589000 bits/sec, 3722 packets/sec
3312976308 packets input, 2306447767082 bytes, 0 no buffer
Received 1993883 broadcasts (1609837 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 1609837 multicast, 0 pause input
0 input packets with dribble condition detected
4213946800 packets output, 4823464632844 bytes, 0 underruns
0 output errors, 0 collisions, 6 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out


Potrebbe essere un problema sulla tipologia di load-balance del link etherchannel? Anche qui allego output.

INTRANET#show etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-mac

EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source MAC address
IPv4: Source MAC address
IPv6: Source MAC address

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 6 Mesi fa #4

  • Paolo_Tesse
  • Offline
  • Platinum Member
  • Platinum Member
  • Messaggi: 250
  • Ringraziamenti ricevuti 0
chiedo scusa,
ma in questo caso le porte non dovrebbero essere in desirable?

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 6 Mesi fa #5

  • instructor
  • Offline
  • Administrator
  • Administrator
  • Messaggi: 1385
  • Ringraziamenti ricevuti 172

Paolo_Tesse ha scritto: chiedo scusa,
ma in questo caso le porte non dovrebbero essere in desirable?

No, perchè il protocollo utilizzato è LACP come puoi notare dall'output dello show etherchannel port-channel

Age of the Port-channel = 4d:22h:01m:02s
Logical slot/port = 5/4 Number of ports = 2
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Port security = Disabled


Mentre per Damiano potresti inviare l'uotput dello show etherchannel port?

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 6 Mesi fa #6

  • DamianoLama
  • Autore della discussione
  • Offline
  • Premium Member
  • Premium Member
  • Messaggi: 50
  • Ringraziamenti ricevuti 0
Se non ricordo male il comando show etherchannel port non me lo faceva dare, cmq domani riprovo e nel caso invierò l'output. Un'altra domanda Virgilio, i valori 5/4 di

Logical slot/port = 5/4 Number of ports = 2

come devono essere interpretati? Slot 5, porta 4, ma cosa vuol dire se la mia fast-ethernet è la giga 1/0/46??

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 6 Mesi fa #7

  • DamianoLama
  • Autore della discussione
  • Offline
  • Premium Member
  • Premium Member
  • Messaggi: 50
  • Ringraziamenti ricevuti 0
Output show etherchannel port, il port-channel 1 è un link in trunk tra il 2960 e un 3750.

INTRANET#show etherchannel port
Channel-group listing:

Group: 1
Ports in the group:
Port: Gi1/0/47

Port state = Up Mstr Assoc In-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = Po1 GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP

Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.

Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi1/0/47 SA bndl 32768 0x1 0x1 0x130 0x3D

Partner's information:

LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi1/0/47 SA 32768 40f4.ece0.2f00 8s 0x0 0x1 0x17 0x3D

Age of the port in the current state: 154d:06h:36m:33s

Port: Gi1/0/48

Port state = Up Mstr Assoc In-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = Po1 GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP

Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.

Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi1/0/48 SA bndl 32768 0x1 0x1 0x131 0x3D

Partner's information:

LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi1/0/48 SA 32768 40f4.ece0.2f00 1s 0x0 0x1 0x18 0x3D

Age of the port in the current state: 154d:06h:40m:13s

Port: Gi2/0/47

Port state = Up Mstr Assoc In-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = Po1 GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP

Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.

Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi2/0/47 SA bndl 32768 0x1 0x1 0x230 0x3D

Partner's information:

LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi2/0/47 SA 32768 40f4.ece0.2f00 24s 0x0 0x1 0x15 0x3D

Age of the port in the current state: 154d:06h:41m:04s

Port: Gi2/0/48

Port state = Up Mstr Assoc In-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = Po1 GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP

Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.

Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi2/0/48 SA bndl 32768 0x1 0x1 0x231 0x3D

Partner's information:

LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi2/0/48 SA 32768 40f4.ece0.2f00 7s 0x0 0x1 0x16 0x3D

Age of the port in the current state: 154d:06h:41m:05s


Group: 2

Group: 3

Group: 4
Ports in the group:
Port: Gi1/0/46

Port state = Up Mstr Assoc In-Bndl
Channel group = 4 Mode = Active Gcchange = -
Port-channel = Po4 GC = - Pseudo port-channel = Po4
Port index = 0 Load = 0x00 Protocol = LACP

Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.

Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi1/0/46 SA bndl 32768 0x4 0x4 0x12F 0x3D

Partner's information:

LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi1/0/46 SA 255 001b.2125.9900 4s 0x0 0x11 0x5 0x3D

Age of the port in the current state: 0d:16h:10m:00s

Port: Gi2/0/46

Port state = Up Mstr Assoc In-Bndl
Channel group = 4 Mode = Active Gcchange = -
Port-channel = Po4 GC = - Pseudo port-channel = Po4
Port index = 0 Load = 0x00 Protocol = LACP

Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.

Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi2/0/46 SA bndl 32768 0x4 0x4 0x22F 0x3D

Partner's information:

LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi2/0/46 SA 255 001b.2125.9900 7s 0x0 0x11 0x1 0x3D

Age of the port in the current state: 0d:17h:43m:14s

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 6 Mesi fa #8

  • instructor
  • Offline
  • Administrator
  • Administrator
  • Messaggi: 1385
  • Ringraziamenti ricevuti 172
E' strano che neanche in questo output si veda il bilanciamento di traffico
Port index = 0 Load = 0x00 Protocol = LACP

Di che apparato si tratta?
Bisognerebbe analizzare il manuale dell'apparato specifico per capire perchè in questi output non venga riportato il bilanciamento.

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 3 Mesi fa #9

  • Paolo_Tesse
  • Offline
  • Platinum Member
  • Platinum Member
  • Messaggi: 250
  • Ringraziamenti ricevuti 0
con il comando
show spanning-tree
da cosa dipende il costo del link etherchannel?

Si prega Accedi a partecipare alla conversazione.

Capitolo 6 OCG: LOAD-BALANCE 12 Anni 3 Mesi fa #10

  • instructor
  • Offline
  • Administrator
  • Administrator
  • Messaggi: 1385
  • Ringraziamenti ricevuti 172

Paolo_Tesse ha scritto: con il comando
show spanning-tree
da cosa dipende il costo del link etherchannel?

Dalla speed negoziata sulle porte secondo la tabella dei costi spanning-tree. Quindi tiene conto della velocità reale dell'ehterchannel

Si prega Accedi a partecipare alla conversazione.

  • Pagina:
  • 1
Moderatori: jpalombi