17-Troubleshooting EtherChannel II
17-Troubleshooting EtherChannel II
17-Troubleshooting EtherChannel II
Troubleshooting EtherChannel II
Objective
Analyze, locate, and fix EtherChannel problems on your network, which could be caused by
misconfiguration or incorrect design.
Lab Topology
The topology diagram below represents the NetMap in the Simulator.
Command Summary
Command Description
channel-group port-channel-number assigns an Ethernet interface to an EtherChannel group
mode {on | auto [non-silent] | desirable
[non-silent] | active | passive}
configure terminal enters global configuration mode from privileged EXEC
mode
enable enters privileged EXEC mode
end ends and exits configuration mode
exit exits one level in the menu structure
interface type number changes from global configuration mode to interface
configuration mode
interface range gigabitethernet slot/ configures a range of interfaces
starting-port - ending-port
lacp port-priority priority-value configures the Link Aggregation Control Protocol (LACP)
priority for the interface
lacp system-priority priority-value configures the LACP priority for the system
show cdp neighbors displays information about directly connected neighbors
show etherchannel [channel-group- displays EtherChannel information for a channel
number] {detail | load-balance | port |
port-channel | summary | protocol}]
show running-config displays the active configuration file
show running-config interface type displays the specified interface’s active configuration file
number
show spanning-tree displays spanning tree state information
shutdown; no shutdown disables an interface; enables an interface
You can do so by clicking the Grade Lab icon ( ) in the toolbar or by pressing Ctrl+G.
You should create a troubleshooting and verification plan before attempting to correct the problem. There
are several possible solutions to this task. You will be working on ASW1 and DSW1 in this task. The
following are steps that you can take to resolve the issue:
1. EtherChannel technology can provide several benefits to networks, including load balancing and link
redundancy. You should first document each port-channel interface on ASW1; include the device it is
connected to and its operational status. Document the properties of the channel group, including the
state of each member interface and which negotiation protocol, if any, is in use.
In the following steps, you will go through the process of making the required configuration changes
to ensure that FastEthernet 0/3 is included in the channel group but only used as a backup with low
priority. You will also verify your changes by simulating failure in other links in the EtherChannel and
observing whether FastEthernet 0/3 is used as last resort substitute.
2. EtherChannel requires a minimum of two links between devices. You should issue the following
command on ASW1 to display the neighbor relationships; the FastEthernet 0/1 - FastEthernet 0/10
ports form links to the FastEthernet 0/1 - FastEthernet 0/10 ports on DSW1. These 20 ports form 10
links that can be configured to form a channel group between ASW1 and DSW1.
4. LACP uses a configurable port priority value for each interface to determine which interfaces
become bundled (bndl) in the port channel and which ones are placed in hot standby mode ( hot-
sby). Interfaces with lower values are prioritized above interfaces with higher values. If the port
priorities are configured the same or left as the default (32768), the port number is used instead.
Issue the following command on ASW1 to view details, including the LACP port priority, of each
member port. All of the interfaces on ASW1 are configured with the default value, so in this scenario
the port number will determine the priority. Sample output is shown below:
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Fa0/1 SP bndl 32768 0x3 0x3 0x2 0x3C
Partner’s information:
<output omitted>
5. In order to configure FastEthernet 0/3 so that it is used as the lowest priority interface of the
EtherChannel, you should configure the LACP priority to be higher than the other member
interfaces. On ASW1, issue the following commands to change the priority to the maximum value of
65535 so that it is higher than the default value 32768:
6. On ASW1, issue the following command to see whether there have been any changes to the state
of the member interfaces. By lowering the priority of FastEthernet 0/3, you might expect that it would
replace FastEthernet 0/9 as a hot standby interface. It appears, however, that there has been no
change and FastEthernet 0/9 and FastEthernet 0/10 are still the only two interfaces in hot standby
mode.
ASW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol pvst
Root ID Priority 32768
Address 000C.1289.3959
Cost 23
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
DSW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol pvst
Root ID Priority 32768
Address 000C.1289.3959
Cost 4
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
8. On ASW1, issue the following command to configure ASW1 with a priority of 100 (any number
between 1 and 32767 can be used, but this lab is graded on the entry of 100). This will make ASW1
the decision-maker and allow it to dictate which links are placed in hot standby mode.
10. FastEthernet 0/3 and FastEthernet 0/10 should now both be in hot standby mode. To verify that
FastEthernet 0/10 will be selected as an active interface before FastEthernet 0/3, you can shut down
one of the active links in the EtherChannel and observe which hot standby interface is selected to
become active.
You should create a troubleshooting and verification plan before attempting to correct the problem. There
are several possible solutions to this task. You will be working on DSW1 and CSW1 in this task. The
following are steps that you can take to resolve the issue:
1. The junior network administrator halted work upon detection of a spanning tree loop. You should
first document the state of the EtherChannel between DSW1 and CSW1, including configuration
of member interfaces and which negotiation protocol, if any, is in use. In an EtherChannel
configuration, all member interfaces should be configured similarly without differences: speed,
duplex, native VLAN, VLAN range, trunking status and type should all be the same. If a negotiation
protocol is being used, both devices must use the same protocol in order to successfully negotiate
the link. Since this scenario involves a spanning tree loop, you should observe the spanning tree
details, including the interface port states. Determine which interfaces are causing the loop, and
correct the problem.
3. View any configuration changes made to the GigabitEthernet interfaces on DSW1 and CSW1 by
using the show running-config interface interface-id command. The output indicates that both
GigabitEthernet0/1 and GigabitEthernet0/2 are configured to trunk unconditionally using 802.1Q
encapsulation. On DSW1, the interfaces are also configured as members of channel-group 2 with no
negotiation protocol being used.
4. EtherChannel mode on will bundle interfaces irrespective of the configuration of the interfaces on the
opposite side of the link. Once interfaces are up and bundled, the port-channel interface changes
to an up state and is added to the spanning tree as a single logical link, replacing the bundled
member interfaces. Issue the following command on DSW1 and CSW1 to verify the port states in
the spanning tree on DSW1 and CSW1. You should observe that interface Port-Channel 2 on DSW1
is in a forwarding state and at the same time interfaces GigabitEthernet 0/1 and GigabitEthernet 0/2
on CSW1 are also forwarding.
DSW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol pvst
Root ID Priority 32768
Address 000C.1289.3959
Cost 4
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
CSW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol pvst
Root ID Priority 32768
Address 000C.1289.3959
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
6. On CSW1, issue the following command to verify that the GigabitEthernet 0/1 and GigabitEthernet
0/2 interfaces have been replaced with a Port-Channel 2 interface in the spanning tree on CSW1.
With only one interface in the forwarding state on each end of the link between DSW1 and CSW1,
you have verified that there should be no spanning tree loop. Sample output is shown below:
CSW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol pvst
Root ID Priority 32768
Address 000C.1289.3959
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Copyright © 1996–2017 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.