6.3.4 – Packet Tracer – Dépannage d’EtherChannel

0

6.3.4 – Packet Tracer – Dépannage d’EtherChannel

Objectifs

Partie 1: Examen de la couche physique et résolution des problèmes de mode de port de commutateur
Partie 2: Identification et correction des erreurs d’attribution de port-channel
Partie 3: Identification et correction des erreurs de protocole de port-channel

Contexte

Quatre commutateurs ont été récemment configurés par un technicien junior. Les utilisateurs se plaignent de la lenteur du réseau et ils aimeraient que vous meniez une enquête.

Tableau de Port-Channel

Groupe de canaux Ports Protocole
1 S1: G0/1, G0/2
S2: G0/1, G0/2
LACP actif
2 S2: G0/1, G0/2
S4: G0/1, G0/2
LACP actif
3 S1: F0/23, F0/24
S2: F0/23, F0/24
LACP actif
4 S3: F0/23, F0/24
S4: F0/23, F0/24
LACP actif
5 S1: F0/21, F0/22
S4: F0/21, F0/22
LACP actif
6 S2: F0/21, F0/22
S3: F0/21, F0/22
LACP actif

Tableau de Périphérique

Périphérique Groupe Ports
S1 1 G0/1, G0/2
3 F0/23, F0/24
5 F0/21, F0/22
S2 2 G0/1, G0/2
3 F0/23, F0/24
6 F0/21, F0/22
S3 1 G0/1, G0/2
4 F0/23, F0/24
6 F0/21, F0/22
S4 2 G0/1, G0/2
4 F0/23, F0/24
5 F0/21, F0/22

Instructions

Partie 1: Examen de la couche physique et correction des erreurs liées au mode du port de commutateur

Étape 1: Recherchez des ports d’accès.

Examinez les commutateurs. Lorsque deux liaisons redondantes ou plus connectent les mêmes commutateurs, le protocole Spanning Tree ne met qu’un port en mode de transfert pour empêcher les boucles de commutation. Vous pouvez le voir dans Packet Tracer. Lorsque des ports physiques sont attribués à un port EtherChannel, ils se comportent comme un port logique unique. Chaque paire sera opérationnelle ou désactivée.

Étape 2: Vérifiez que les ports sont en mode de trunk.

Sur S2, les interfaces de canal de port et les interfaces physiques qui ont été configurées dans les canaux de port sont toutes configurées en tant que ports d’accès. Les interfaces physiques doivent être configurées en tant que jonctions. Les interfaces de canal de port doivent également être configurées en tant que jonctions.

S2#show running-config 
. . ! interface FastEthernet0/21 switchport mode access channel-group 6 mode active ! interface FastEthernet0/22 switchport mode access channel-group 6 mode active ! interface FastEthernet0/23 switchport mode access channel-group 3 mode active ! interface FastEthernet0/24 switchport mode access channel-group 3 mode active ! interface GigabitEthernet0/1 switchport mode access channel-group 2 mode active ! interface GigabitEthernet0/2 switchport mode access channel-group 2 mode active ! ! end

a. Vérifiez que tous les ports physiques de la topologie sont configurés comme des trunks. Corrigez ceux qui sont en mode d’accès.

S2(config)#interface range f0/21-24, g0/1-2
S2(config-if-range)#switchport mode trunk

b. Corrigez les ports EtherChannel qui ne sont pas configurés comme des trunks.

S1(config)#interface port-channel 1
S1(config-if)#switchport mode trunk
S2(config)#interface port-channel 2
S2(config-if)#switchport mode trunk
S2(config-if)#interface port-channel 3
S2(config-if)#switchport mode trunk
S2(config-if)#interface port-channel 6
S2(config-if)#switchport mode trunk

Partie 2: Identification et correction des erreurs d’attribution de port-channel

L’affectation de l’interface de canal de port peut prêter à confusion. Il est possible que des erreurs se produisent lors de l’attribution de ports physiques aux canaux de port. Dans ce cas, les ports F0/21 et F0/22 sur S4 ont été affectés au groupe de canaux de ports 4. Ils doivent être réaffectés au groupe de canaux de ports 5.

Étape 1: Examinez les attributions de port-channel.

La topologie Packet Tracer et les tableaux de port-channel et de périphérique fournissent des détails sur les ports physiques et leurs attributions EtherChannel. Utilisez la commande show etherchannel summary pour savoir comment les liaisons Etherchannel sont configurés. Vérifiez que les commutateurs sont configurés comme indiqué dans la documentation.

S1#show etherchannel summary
Flags:  D - down        P - 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
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port


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

Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------

1      Po1(SD)           LACP   Gig0/1(I) Gig0/2(I) 
3      Po3(SU)           LACP   Fa0/23(P) Fa0/24(P) 
5      Po5(SU)           LACP   Fa0/21(P) Fa0/22(P)

S2#show etherchannel summary
Flags:  D - down        P - 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
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port


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

Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------

2      Po2(SU)           LACP   Gig0/1(P) Gig0/2(P) 
3      Po3(SU)           LACP   Fa0/23(P) Fa0/24(P) 
6      Po6(SD)           LACP   Fa0/21(I) Fa0/22(I)

S3#show etherchannel summary
Flags: D - down P - 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
u - unsuitable for bundling
w - waiting to be aggregated
d - default port

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

Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------

1 Po1(SD) PAgP Gig0/1(I) Gig0/2(I)
4 Po4(SD) PAgP Fa0/23(I) Fa0/24(I)
6 Po6(SD) PAgP Fa0/21(I) Fa0/22(I)

S4#show etherchannel summary
Flags: D - down P - 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
u - unsuitable for bundling
w - waiting to be aggregated
d - default port

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

Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------

2 Po2(SU) LACP Gig0/1(P) Gig0/2(P)
4 Po4(SU) LACP Fa0/21(P) Fa0/22(P) Fa0/23(I) Fa0/24(I)
5 Po5(SD) -

Étape 2: Corrigez les attributions de port-channel.

Corrigez les ports qui ne sont pas attribués au port EtherChannel approprié.

S4(config)#interface range f0/21-22
S4(config-if-range)#channel-group 5 mode active

Partie 3: Identification et correction des erreurs de protocole de port-channel

L’équipe de conception du réseau a exigé que toutes les liaisons EtherChannel négocient activement LACP. Les ports physiques du commutateur S3 ont été configurés pour établir sans condition PAgP, et non LACP, EtherChannels. Ceci doit être corrigé sur S3 afin que les EtherChannels puissent être établis.

Étape 1: Identifiez les problèmes de protocole.

En 2000, l’IEEE a publié la version 802.3ad (LACP), qui est une version standard ouverte d’EtherChannel. Pour des raisons de compatibilité, l’équipe de conception réseau a choisi d’utiliser le protocole LACP sur le réseau. L’équipe de conception a exigé que tous les ports participant à EtherChannel négocient activement la liaison en tant que LACP. Vérifiez que les ports physiques sont configurés conformément à la topologie et le tableau de port-channel.

S3# show etherchannel summary
Flags:  D - down        P - 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
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port


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

Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------

1      Po1(SD)           PAgP   Gig0/1(I) Gig0/2(I) 
4      Po4(SD)           PAgP   Fa0/23(I) Fa0/24(I) 
6      Po6(SD)           PAgP   Fa0/21(I) Fa0/22(I)
Étape 2: Corrigez les problèmes de protocole.

a. Corrigez les ports de commutateur qui ne négocient pas à l’aide du protocole LACP.

S3(config)# interface range g0/1-2
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 1 mode active
S3(config-if-range)# interface range f0/21-22
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 6 mode active
S3(config-if-range)# interface range f0/23-24
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 4 mode active

b. Ré-exécutez la commande show etherchannel summary pour vérifier que toutes les liaisons EtherChannel sont désormais correctement configurées.

S3# show etherchannel summary
Flags:  D - down        P - 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
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port


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

Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------

1      Po1(SU)           PAgP   Gig0/1(P) Gig0/2(P) 
4      Po4(SU)           PAgP   Fa0/23(P) Fa0/24(P) 
6      Po6(SU)           PAgP   Fa0/21(P) Fa0/22(P)

Scénarios de réponse

Commutateur 1

enable
conf t
interface port-channel 1
 switchport mode trunk

Commutateur 2

enable
conf t
interface range f0/21-24, g0/1-2
switchport mode trunk
interface port-channel 2
switchport mode trunk
interface port-channel 3
switchport mode trunk
interface Port-channel 6
switchport mode trunk

Commutateur 3

enable
conf t
interface range g0/1 - 2
no channel-group
channel-group 1 mode active
interface range f0/21 - 22
no channel-group
channel-group 6 mode active
interface range f0/23 - 24
no channel-group
channel-group 4 mode active

Commutateur 4

enable
conf t
interface range f0/21 - 22
channel-group 5 mode active
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments