6.3.4 Packet Tracer - Troubleshoot EtherChannel Answers
Topology
Objectives
- Part 1: Examine the Physical Layer and Correct Switch Port Mode Issues
- Part 2: Identify and Correct Port Channel Assignment Issues
- Part 3: Identify and Correct Port Channel Protocol Issues
Background
A junior technician recently configured four switches. Users are complaining that the network is running slowly, and they would like you to investigate.
Port Channel Table
| Channel Group | Ports | Protocol |
|---|---|---|
| 1 | S1: G0/1, G0/2 S3: G0/1, G0/2 |
LACP active |
| 2 | S2: G0/1, G0/2 S4: G0/1, G0/2 |
LACP active |
| 3 | S1: F0/23, F0/24 S2: F0/23, F0/24 |
LACP active |
| 4 | S3: F0/23, F0/24 S4: F0/23, F0/24 |
LACP active |
| 5 | S1: F0/21, F0/22 S4: F0/21, F0/22 |
LACP active |
| 6 | S2: F0/21, F0/22 S3: F0/21, F0/22 |
LACP active |
Device Table
| Device | Group | 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
Contents
- Part 1: Port mode issues (channel status table, Problem 1, Problem 2, Fix 1, Fix 2)
- Part 2: Port channel assignment issues (Problem 3, Fix 3)
- Part 3: Port channel protocol issues (Problem 4, Fix 4)
- Final verification
- Device Configs - Final
Part 1: Examine the Physical Layer and Correct Switch Port Mode Issues
Step 1: Look for access ports.
Examine the switches. When two or more redundant links connect the same switches, Spanning Tree protocol will only put one port in forwarding mode to prevent switching loops. You can see this in Packet Tracer. When physical ports are assigned to an EtherChannel port, they behave as one logical port. Each pair will either be operational or down.
Check which ports and port channels are trunks on each switch:
Port channel status before and after the fixes
| Channel | Link | Before the fixes | Cause | After the fixes |
|---|---|---|---|---|
| Po1 | S1 G0/1-2 ↔ S3 G0/1-2 | S1: SD, members (I); S3: SD, members (I) | Problem 2, Problem 4 | SU on both ends |
| Po2 | S2 G0/1-2 ↔ S4 G0/1-2 | SU on both ends, but S2 side is an access port | Problem 1, Problem 2 | SU, trunk on both ends |
| Po3 | S1 F0/23-24 ↔ S2 F0/23-24 | SU on both ends, but S2 side is an access port | Problem 1, Problem 2 | SU, trunk on both ends |
| Po4 | S3 F0/23-24 ↔ S4 F0/23-24 | S3: SD; S4: SU with the wrong members F0/21-22, while F0/23-24 are (I) | Problem 3, Problem 4 | SU on both ends |
| Po5 | S1 F0/21-22 ↔ S4 F0/21-22 | S1: SU; S4: SD with no member ports | Problem 3 | SU on both ends |
| Po6 | S2 F0/21-22 ↔ S3 F0/21-22 | SD on both ends, members (I) | Problem 1, Problem 2, Problem 4 | SU on both ends |
Step 2: Verify ports are in trunk mode.
Problem 1: S2 – the EtherChannel member ports are access ports
S2# show running-config Building configuration... Current configuration : 1561 bytes ! version 15.0 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname S2 ! ! ! ! ! ! ! spanning-tree mode pvst spanning-tree extend system-id spanning-tree vlan 1 priority 8192 ! interface Port-channel2 switchport mode access ! interface Port-channel3 switchport mode access ! interface Port-channel6 ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! 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 ! interface Vlan1 no ip address shutdown ! ! ! ! ! ! line con 0 ! line vty 0 4 login line vty 5 15 login ! ! ! ! end
a. Verify that all physical ports in the topology are configured as trunks. Correct any ports that are in access mode.
Fix 1: S2: change every member port from access to trunk.
S2(config)# interface range fastethernet 0/21 - 24, gigabitethernet 0/1 - 2 S2(config-if-range)# switchport mode trunk
b. Correct any EtherChannel ports that are not configured as trunks.
Problem 2: Port channel interfaces are not trunks (S1 Po1; S2 Po2, Po3, Po6)
On S2, the show running-config output above shows that Port-channel2 and Port-channel3 are access ports and Port-channel6 has no mode. On S1, Po1 is down, so it does not appear in show interfaces trunk; check its configuration instead:
S1# show running-config | section interface Port-channel1
interface Port-channel1Fix 2: S1 and S2: configure the port channel interfaces as 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
Part 2: Identify and Correct Port Channel Assignment Issues
Step 1: Examine port channel assignments.
Problem 3: S4 – F0/21 and F0/22 are in channel group 4 instead of 5
The Packet Tracer topology and the Port Channel and Device tables provide details about the physical ports and their EtherChannel assignments. Use the show etherchannel summary command to learn how the EtherChannel links are configured. Verify that the switches are configured as shown in the documentation.
Step 2: Correct port channel assignments.
Correct any switch ports that are not assigned to the correct EtherChannel port.
Fix 3: S4: move F0/21 and F0/22 from group 4 to group 5.
S4(config)# interface range fastethernet 0/21 - 22 S4(config-if-range)# no channel-group S4(config-if-range)# channel-group 5 mode active
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(SD) LACP Fa0/23(I) Fa0/24(I)
5 Po5(SU) LACP Fa0/21(P) Fa0/22(P)Part 3: Identify and Correct Port Channel Protocol Issues
Step 1: Identify protocol issues.
Problem 4: S3 – the port channels use PAgP instead of LACP
In 2000, the IEEE released 802.3ad (LACP), which is an open standard version of EtherChannel. For compatibility reasons, the network design team chose to use LACP across the network. The design team has made it a requirement that all ports that participate in EtherChannel need to actively negotiate the link as LACP. Verify that the physical ports are configured as indicated in the topology and Port Channel Table.
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)S3# show running-config | include channel-group channel-group 6 mode desirable channel-group 6 mode desirable channel-group 4 mode desirable channel-group 4 mode desirable channel-group 1 mode desirable channel-group 1 mode desirable
| Mode | on | active | passive | desirable | auto |
|---|---|---|---|---|---|
| on | ✔ | ✘ | ✘ | ✘ | ✘ |
| active (LACP) | ✘ | ✔ | ✔ | ✘ | ✘ |
| passive (LACP) | ✘ | ✔ | ✘ | ✘ | ✘ |
| desirable (PAgP) | ✘ | ✘ | ✘ | ✔ | ✔ |
| auto (PAgP) | ✘ | ✘ | ✘ | ✔ | ✘ |
In this activity S3 used desirable while its neighbors used active: PAgP against LACP, so no channel could form.
Step 2: Correct Protocol issues.
a. Correct any switch ports that are not negotiating using LACP.
Fix 4: S3: rejoin every member port with LACP active.
S3(config)# interface range gigabitethernet 0/1 - 2 S3(config-if-range)# no channel-group S3(config-if-range)# channel-group 1 mode active S3(config-if-range)# interface range fastethernet 0/21 - 22 S3(config-if-range)# no channel-group S3(config-if-range)# channel-group 6 mode active S3(config-if-range)# interface range fastethernet 0/23 - 24 S3(config-if-range)# no channel-group S3(config-if-range)# channel-group 4 mode active
b. Reissue the show etherchannel summary command to verify that all EtherChannel links are now correctly configured.
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)S3# show running-config | include channel-group channel-group 6 mode active channel-group 6 mode active channel-group 4 mode active channel-group 4 mode active channel-group 1 mode active channel-group 1 mode active
Final verification
Wait about 30 seconds (or click Fast Forward Time) so that LACP and spanning tree finish converging, then check every switch:
Device Configs - Final
SWITCH S1
! ============================================================== !--- 6.3.4 Packet Tracer - Troubleshoot EtherChannel !--- FIX SCRIPT FOR SWITCH S1 !--- Usage: copy this whole file and paste it into the S1 terminal (start at the S1> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 1: Examine the Physical Layer and Correct Switch Port Mode Issues. ! -------------------------------------------------------------- !--- b. Port-channel 1 (link to S3) is a trunk, like its member ports. interface port-channel 1 switchport mode trunk exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show interfaces trunk -> Po1 listed as trunking !--- show etherchannel summary -> 1 Po1(SU) LACP Gig0/1(P) Gig0/2(P) (after S3 is fixed in Part 3) ! ==============================================================
SWITCH S2
! ============================================================== !--- 6.3.4 Packet Tracer - Troubleshoot EtherChannel !--- FIX SCRIPT FOR SWITCH S2 !--- Usage: copy this whole file and paste it into the S2 terminal (start at the S2> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 1: Examine the Physical Layer and Correct Switch Port Mode Issues. ! -------------------------------------------------------------- !--- a. Every physical EtherChannel member port (F0/21-24, G0/1-2) changes from access to trunk. interface range fastethernet 0/21 - 24, gigabitethernet 0/1 - 2 switchport mode trunk exit !--- b. The logical Port-channel 2, 3 and 6 interfaces are trunks too. interface port-channel 2 switchport mode trunk exit interface port-channel 3 switchport mode trunk exit interface port-channel 6 switchport mode trunk exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show interfaces trunk -> Po2, Po3 and Po6 listed as trunking !--- show etherchannel summary -> Po2(SU), Po3(SU), Po6(SU), every member (P) (Po6 after S3 is fixed in Part 3) ! ==============================================================
SWITCH S3
! ============================================================== !--- 6.3.4 Packet Tracer - Troubleshoot EtherChannel !--- FIX SCRIPT FOR SWITCH S3 !--- Usage: copy this whole file and paste it into the S3 terminal (start at the S3> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 3: Identify and Correct Port Channel Protocol Issues. ! -------------------------------------------------------------- !--- a. Group 1 (G0/1-2, to S1): remove the PAgP channel-group, rejoin with LACP active. interface range gigabitethernet 0/1 - 2 no channel-group channel-group 1 mode active exit !--- a. Group 6 (F0/21-22, to S2): remove the PAgP channel-group, rejoin with LACP active. interface range fastethernet 0/21 - 22 no channel-group channel-group 6 mode active exit !--- a. Group 4 (F0/23-24, to S4): remove the PAgP channel-group, rejoin with LACP active. interface range fastethernet 0/23 - 24 no channel-group channel-group 4 mode active exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show etherchannel summary -> Po1(SU), Po4(SU), Po6(SU), every member (P) !--- Note: Packet Tracer may still print "PAgP" in the Protocol column after the change; show running-config confirms "channel-group X mode active" (LACP). ! ==============================================================
SWITCH S4
! ============================================================== !--- 6.3.4 Packet Tracer - Troubleshoot EtherChannel !--- FIX SCRIPT FOR SWITCH S4 !--- Usage: copy this whole file and paste it into the S4 terminal (start at the S4> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Part 2: Identify and Correct Port Channel Assignment Issues. ! -------------------------------------------------------------- !--- Step 2. F0/21-22 belong to group 5 (to S1), not group 4: remove them from group 4, then join group 5 with LACP active. interface range fastethernet 0/21 - 22 no channel-group channel-group 5 mode active exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show etherchannel summary -> 4 Po4(SU) LACP Fa0/23(P) Fa0/24(P) (after S3 is fixed) and 5 Po5(SU) LACP Fa0/21(P) Fa0/22(P) ! ==============================================================





