Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

etherChannel

Link aggregation allows the creation of logical links that are


composed of two or more physical links. This provides
increased throughput beyond using only one physical link. Link
aggregation also provides redundancy if one of the links fails.
In this lab, you will configure EtherChannel, a form of link
aggregation used in switched networks. You will configure
EtherChannel using Port Aggregation Protocol (PAgP) and Link
Aggregation Control Protocol (LACP).
SW-M# show etherchannel summary command

Number of channel-groups in use: 2


Number of aggregators: 2

Group Port-channel Protocol Ports


------+-------------+-----------+----------------------------------------------

1 Po1(SU) - Gig 0/1(P) Gig0/2(P)


2 Po2(SU) LACP Fa0/1(P) Fa0/2(P)

key values: S - layer2 U- in use D - down

Switch(config-if-range)#channel-group 2 m
Switch(config-if-range)#channel-group 2 mode pass
Switch(config-if-range)#channel-group 2 mode passive
Switch(config-if-range)#
Creating a port-channel interface Port-channel 2
noshut
Switch(config-if-range)#no shut

Switch(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/3, changed state
to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet0/3, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state


to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet0/4, changed state to up

Switch(config-if-range)#ex
Switch(config)#int port
Switch(config)#int port-channel 2
Switch(config-if)#sw
Switch(config-if)#switchport m
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#sw
Switch(config-if)#switchport t
Switch(config-if)#switchport trunk al
Switch(config-if)#switchport trunk allowed v
Switch(config-if)#switchport trunk allowed vlan 20,30
Switch(config-if)#ex
Switch(config)#
%LINK-3-UPDOWN: Interface FastEthernet0/3, changed state
to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet0/3, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/4, changed state
to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet0/4, changed state to down

Switch(config)#int range g0/1-2


Switch(config-if-range)#channel-g
Switch(config-if-range)#channel-group 3
% Incomplete command.
Switch(config-if-range)#channel-group 3 m
Switch(config-if-range)#channel-group 3 mode on
Switch(config-if-range)#
Creating a port-channel interface Port-channel 3

Switch(config-if-range)#sw
Switch(config-if-range)#no channel-group 3 mode on
Switch(config-if-range)#sw
Switch(config-if-range)#switchport m
Switch(config-if-range)#switchport mode t
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#shut
Switch(config-if-range)#shutdown

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed


state to administratively down

%LINK-5-CHANGED: Interface GigabitEthernet0/2, changed


state to administratively down
Switch(config-if-range)#no channel-group 3 mode on
Switch(config-if-range)#noshut
Switch(config-if-range)#no shut

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed


state to down

%LINK-5-CHANGED: Interface GigabitEthernet0/2, changed


state to down
Switch(config-if-range)#ex
Switch(config)#int port
Switch(config)#int port-channel 3
Switch(config-if)#sw
Switch(config-if)#switchport m
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#sw
Switch(config-if)#switchport t
Switch(config-if)#switchport trunk al
Switch(config-if)#switchport trunk allowed v
Switch(config-if)#switchport trunk allowed vlan 20,30
Switch(config-if)#ex

You might also like