SOURCECODEBD.NET

Live Experience

5. IMPLEMENTING SPANNING TREE PROTOCOL

HOW TO CONFIGURE LINK AGGREGATION USING ETHER-CHANNEL
 
Task 1 
 
Configure L 2 trunk between SW1 & SW2 using default encapsulation on ports fa0/9, fa0/11.  
Configure ether channel between SW1 and SW2 on interfaces fa0/9, fa0/11, without using negotiation protocols. 
Configure interfaces fa0/9, fa0/11 on SW1 & SW2 in channel group 1 with a mode of “on”. 
 
Switch1 
 
Interface port-channel 1 
 
Int range fa0/9, fa0/11 
Channel-group 1 mode on
 
Switch2 
 
Interface port-channel 1 
 
Int range fa0/9, fa0/11 
Channel-group 1 mode on
 
Verification : 
 
SW2#show etherchannel summary 
 
The output displays port channel created for ports fa0/9, fa0/11 and is denoted as po 1 
(su) where, s :  layer 2, u : in use, P : in port channel 
 
SW2#show interfaces port-channel 1 switchport
 
By default all interfaces are in dynamic desirable mode which automatically negotiates to 
become trunk if not specified. 
The output displays default ISL trunking for this port-channel.   
 
SW2#show int trunk
 
The output displays the port-channel interface as trunk instead of individual ports. 
 
SW2#show spanning-tree vlan 1
 
The output displays the forwarding port as portchannel 1 instead of separate port because 
of ether channel configured on ports fa0/9, fa0/11, they appear as one bundle. 
    
 
Task 2 
 
(Scenario Based On Task 1) 
 
Configure L 2 trunk between SW1 & SW2 using dot1q or isl encapsulation on ports fa 
0/7 , fa 0/9, fa 0/11.  
Configure ether channel between SW1 and SW2 on interfaces fa 0/7, fa0/9, fa0/11. Both 
switches SW1 and SW2 should initiate negotiation via PAgP.
 
 
Switch1 
 
Interface port-channel 1 
 
Int range fa0/7 , fa0/9 , fa0/11 
Channel-group 1 mode desirable
 
 
Switch2 
 
Interface port-channel 1 
 
Int range fa0/7 , fa0/9 , fa0/11 
Channel-group 1 mode desirable
 
 
Verification : 
 
SW1#show etherchannel summary
 
The output displays protocol as “PAgP” and Po1 (SU) (port-channel 1) created for ports 
fa0/7, fa0/9, fa0/11, where s :  layer 2, U :  in use. 
 
SW1#show interfaces port-channel 1 switchport 
 
The output displays that this interface port-channel 1 has automatically negotiated to 
become trunk. 
 
SW1#show int trunk 
 
The output displays port-channel 1 as trunk instead of individual ports. 
 
SW1#show spanning-tree vlan 1 
 
The output displays the forwarding port as portchannel 1 instead of separate ports. 
 
 
Task 3 
 
(Scenario Based On Task 1) 
 
Configure L 2 trunk between SW1 & SW2 using dot1q or isl encapsulation on ports 
 fa 0/7 , fa 0/9, fa 0/11.  
Configure ether channel between SW1 and SW2 on interfaces fa 0/7, fa0/9, fa0/11. Both 
switches SW1 and SW2 should initiate negotiation via LAcP. 
 
 
Switch1 
 
Interface port-channel 1 
 
Int range fa0/7 , fa0/9 , fa0/11 
Channel-group 1 mode active
 
Switch2 
 
Interface port-channel 1 
 
Int range fa0/7 , fa0/9 , fa0/11 
Channel-group 1 mode active 
 
 
Verification : 
 
SW1#show etherchannel summary
 
The output displays protocol as “LACP” and po1 (SU) (port-channel 1) created for ports 
fa0/7, fa0/9, fa0/11. 
 
Task 4 
 
(Scenario Based On Task 1) 
 
Configure interface port-channel 1 to ports fa0/7, fa0/9, fa0/11. 
Configure VLAN 100 and assign to ports fa0/7, fa0/9, fa0/11. 
Configure ether-channel between SW1 & SW2 i.e. create channel-group 1 with the mode 
“on” (without using negotiating protocols). 
 
 
Switch1 
 
Interface range fa0/7, fa0/9, fa0/11 
Switchport mode access 
Switchport access vlan 100 
Channel-group 1 mode on
 
 
Switch2 
 
Interface range fa0/7, fa0/9, fa0/11 
Switchport mode access 
Switchport access vlan 100 
Channel-group 1 mode on 
 
Verification : 
 
SW1#show vlan brief 
 
The output displays portchannel 1 in VLAN 100 instead of individual ports. 
 
SW1#show etherchannel summary
 
The output displays no protocol and po1 (SU) created for ports fa0/7, fa0/9, fa0/11, where : 
P = Port-channel, s = layer 2, U = in use. 
 
Task 5 
 
(Scenario Based On Task 1) 
 
To configure Layer 3 ether-channel, create the port channel logical interface, assign ip 
address and then put the ethernet interfaces into the port-channel.
 
 
Switch1 
 
Interface port-channel 1 
Ip add 100.0.0.1 255.0.0.0 
 
Interface range fa0/7, fa0/9, fa0/11 
No switchport 
No ip address 
Channel-group 1 mode on 
 
Switch2 
 
Interface port-channel 1 
Ip add 100.0.0.2 255.0.0.0 
 
Interface range fa0/7, fa0/9, fa0/11 
No switchport 
No ip address 
Channel-group 1 mode on 
 
 
Verification : 
 
Test the connectivity of port-channel 
Ping from SW1 to SW2 
100 % successful 
 
SW1#ping 100.0.0.2
 
SW1#show Etherchannel summary
You are here: Home / Switching / HOW TO CONFIGURE LINK AGGREGATION USING ETHER-CHANNEL