Configuring etherchannel on Cisco switches
Home > Switch configuration notes > Configuring etherchannel on Cisco switches
Configuring etherchannel on 2950+ switches with latest IOS
To configure etherchannel on 2950+ switches with latest IOS:
- Go to `config t' mode.
- Use `interface range Fastethernet 0/21 - 24' type command to configure group of interfaces
- Use exact same configuration for all interfaces.
- Use 'channel-group 1 mode desirable' to make interfaces member of channel-group 1
- In `config t' use `port-channel load-balance dst-mac' to load-balance based on dst-mac address
- Use command `show spanning-tree active' and you should see only one port belonging to port-channel in list of ports
- Use command `show etherchannel 1 summary' to see that things are fine.
- Use command `show interface port-channel 1' to see overall channel statistics and members
Give similar commands on other end to finish formation of etherchannel.
Note that etherchannel will form only when:
- Both ends are in mode on (no PAgP)
- Both ends are in mode desirable
- One end in mode auto and other in mode desirable
Don't configure interface port-channel 1
There is no need to configure interface port-channel by using commands like
switchport mode trunk switchport trunk allowed vlan 1,10,20
The port-channel interface will automatically get configured same as the members of the channel group. Also if we delete the port-channel while ports are still part of the channel then all the ports will automatically get configured in 'shutdown' mode. So if we want to remove port-channel first we should do something like `no channel-group 1 mode desirable' on all member ports before use `no port-channel 1'.
Configuring etherchannel on switches older than 2950
Upgrade switch to latest IOS so that you can get updated commands as possible.
For switches older than 2950
- You will have to configure interfaces one by one as there is no interface range command.
- For each interface use `port group 1' command to make interface member of port group 1
- You can not configure load balancing. May be there is some in-built default.
- Use command `show spanning-tree brief' as the command `show spanning-tree active' is not present.
- Use command `show etherchannel summary' to see that etherchannel is working fine.
- Use command `show port group 1' as command `show etherchannel' is not present.
Home > Switch configuration notes > Configuring etherchannel on Cisco switches