Etherchannel PAgP brak łączności po odłączeniu jednego linku

Problemy związane ze switchingiem
Wiadomość
Autor
turbokrecik
member
member
Posty: 39
Rejestracja: 31 lip 2017, 15:35

Etherchannel PAgP brak łączności po odłączeniu jednego linku

#1

#1 Post autor: turbokrecik »

Witam,

Utworzyłem prosty scenariusz testowy. Dwa switche połączone dwoma linkami spiętymi w etherchannel. Utworzyłem w ten sposób kanał komunikacji i uruchomiłem tam trunk.
Wszystko działa do czasu gdy testowo odłączyłem jeden kabel. Stan odłączonego linku zmienił się na I - stand-alone, no i ok. Jednak zwykły ping nie chce już iść.
Czy to normalne zachowanie przełącznika? Powinien on automatycznie przełączyć ruch na ten drugi działający port, tymczasem on tak jakby czekał aż urwane połączenie się przywróci.

Dzieki za pomoc!

double.decode
wannabe
wannabe
Posty: 321
Rejestracja: 15 kwie 2009, 18:31

Re: Etherchannel PAgP brak łączności po odłączeniu jednego linku

#2

#2 Post autor: double.decode »

To nie jest normalne. Pokaż konfigurację interfejsów fizycznych i port-channel po obu stronach.

turbokrecik
member
member
Posty: 39
Rejestracja: 31 lip 2017, 15:35

Re: Etherchannel PAgP brak łączności po odłączeniu jednego linku

#3

#3 Post autor: turbokrecik »

Channel-group listing:
----------------------

Group: 1
----------
Ports in the group:
-------------------
Port: Gi0/0
------------

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
Gi0/0 SA bndl 32768 0x1 0x1 0x1 0x3D

Partner's information:

LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi0/0 SA 32768 0c46.9328.6b00 24s 0x0 0x1 0x1 0x3D

Age of the port in the current state: 0d:00h:21m:17s

Port: Gi0/1
------------

Port state = Up Cnt-bndl-rmt Suspend Mstr Rmt-LACP_Dsbl Not-in-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = null 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
Gi0/1 SA susp 32768 0x1 0x1 0x2 0x7D

Age of the port in the current state: 0d:00h:22m:18s

turbokrecik
member
member
Posty: 39
Rejestracja: 31 lip 2017, 15:35

Re: Etherchannel PAgP brak łączności po odłączeniu jednego linku

#4

#4 Post autor: turbokrecik »

zmieniłem protokół na LACP, ale nic sie nie zmienilo

double.decode
wannabe
wannabe
Posty: 321
Rejestracja: 15 kwie 2009, 18:31

Re: Etherchannel PAgP brak łączności po odłączeniu jednego linku

#5

#5 Post autor: double.decode »

show run interface gi...
show run interface port-cha ...

show etherchannel ... summary

turbokrecik
member
member
Posty: 39
Rejestracja: 31 lip 2017, 15:35

Re: Etherchannel PAgP brak łączności po odłączeniu jednego linku

#6

#6 Post autor: turbokrecik »

interface GigabitEthernet0/0
switchport trunk encapsulation dot1q
switchport mode trunk
media-type rj45
negotiation auto
channel-group 1 mode active
end

interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
media-type rj45
negotiation auto
channel-group 1 mode active
end

interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
end

Switch_1#show etherchannel summary
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 N - not in use, no aggregation
f - failed to allocate aggregator

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

A - formed by Auto LAG


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

Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi0/0(s) Gi0/1(P)

double.decode
wannabe
wannabe
Posty: 321
Rejestracja: 15 kwie 2009, 18:31

Re: Etherchannel PAgP brak łączności po odłączeniu jednego linku

#7

#7 Post autor: double.decode »

Dość dziwny ten suspend.. Jak wygląda sprawa vlanu natywnego po drugiej stronie?
Generalnie, szedłbym w kierunku ustawienia na sztywno vlanu natywnego a jeśli to nie przyniesie rezultatu, wywaleniu interfejsu Po-1 (no interface Port-channel1), usunięciu konfiguracji Gi0/0 oraz Gi0/1 (default interface range GigabitEthernet0/0, GigabitEthernet0/1) a następnie wykreowaniu portchannelu ponownie:

Kod: Zaznacz cały

interface range GigabitEthernet0/0, GigabitEthernet0/1
spanning-tree portfast
channel-group 1 mode active

interface Port-1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate (<DTP to słaby pomysł)
switchport trunk native vlan [i]X[/i]
I wtedy

Kod: Zaznacz cały

sh etherchannel 1 summary

Awatar użytkownika
judge dredd
wannabe
wannabe
Posty: 214
Rejestracja: 02 sie 2009, 15:23

Re: Etherchannel PAgP brak łączności po odłączeniu jednego linku

#8

#8 Post autor: judge dredd »

Cześć,

Generalnie takie rzeczy bywają z etherchannelami, że czasem konfiguracje portów są takie same, a switch twierdzi, że konfiguracja jednego z nich jest niekompatybilna z innymi - to jest częsta przyczyna "suspendowania" danego portu. Powinieneś w logu zobaczyć przyczynę. W momencie kiedy etherchannel się zestawia powinien się również pojawić komunikat, że interfejs Gi0/0 zostaje zawieszony z powodu takiego i takiego. Może to coś wyjaśnić, ale równie dobrze może niestety nie wyjaśnić niczego i i tak trzeba będzie zrobić konfigurację na nowo spokojnie bez nerwowych ruchów na konfiguracji. Powodzenia.

Pozdrawiam!

JD
Zapraszam na szkolenia CCNA prowadzone w pełni on-line (wykłady oraz ćwiczenia ze sprzętem).
Akademia Sieci LANPulse (www.lanpulse.pl)

ODPOWIEDZ