How to Configure EtherChannel, Port-Channel or Port Aggregation on Cisco switch?

EtherChannel or Port Aggregation is process bundling multiple physical ports into single logical port for higher availability and higher bandwidth. All the ports members must be on the same VLAN, same speed and configuration.

To configure EtherChannel on Cisco switch, use the commands below:

SW03()#conf t
SW03(config)#interface range g0/2-3
SW03(config-if-range)#channel-group 1 mode active
This will put gigabit port 1 and 2 into single logical port using LAG mode.

Other mode options for ether-channel


SW03(config-if-range)#channel-group 1 mode ?
active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected

YOu may “Show etherchannel summary” command to display LAG configuration information


SW05#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: 1
Number of aggregators: 1

Group Port-channel Protocol Ports
——+————-+———–+———————————————-

1 Po1(SU) LACP Fa0/1(P) Fa0/2(P)
SW05#

or “show etherchannel port-channel” command


SW05#show etherchannel port-channel
Channel-group listing:
———————-

Group: 1
———-
Port-channels in the group:
—————————

Port-channel: Po1 (Primary Aggregator)
————

Age of the Port-channel = 02d:05h:02m:14s
Logical slot/port = 2/1 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = LACP
Port Security = Disabled

Ports in the Port-channel:

Index Load Port EC state No of bits
——+——+——+——————+———–
0 00 Fa0/1 Active 0
0 00 Fa0/2 Active 0
Time since last port bundled: 00d:05h:25m:38s Fa0/2
SW05#

Publisher: abdirahman isse

Share this post