Link Aggregation – Part 2 (LACP Configuration on Cisco Devices) - www.ipcisco.com : www.ipcisco.com
Content Protection by DMCA.com

LACP Configuration on Cisco Devices

In this article we will make a link aggregation protocol with two ports in one bundle. You can use more port up to 8 ports in Cisco devices.

Link aggregation Example Topology on Cisco

Link Aggregation on Cisco Devices

We will use the G1/0/0 and the G2/0/0 ports to configure link aggregation. The basic configuration steps are below.,

On RouterA

RouterA> enable 
RouterA# configure terminal
RouterA (config)# interface port-channel 1
RouterA (config-if)# lacp max-bundle 2
RouterA (config-if)# ip address 192.168.0.1 255.255.255.0
RouterA (config-if)# interface g1/0/0 
RouterA (config-if)# no ip address
RouterA (config-if)# channel-group 1 mode active 
RouterA (config-if)# exit
RouterA (config)# interface g2/0/0 
RouterA (config-if)# no ip address
RouterA (config-if)# channel-group 1 mode active 
RouterA (config-if)# end

On RouterB

RouterB > enable 
RouterB # configure terminal
RouterB (config)# interface port-channel 1
RouterB (config-if)# lacp max-bundle 2
RouterB (config-if)# ip address 192.168.0.2 255.255.255.0
RouterB (config-if)# interface g1/0/0 
RouterB (config-if)# no ip address
RouterB (config-if)# channel-group 1 mode passive 
RouterB (config-if)# exit
RouterB (config)# interface g2/0/0 
RouterB (config-if)# no ip address
RouterB (config-if)# channel-group 1 mode passive
RouterB (config-if)# end

Beside the basic steps, we can also configure some parameters used with LACP. Here we do it for only routerA, you can also use this command on the other end.

RouterA > enable 
RouterA # configure terminal
RouterA (config)# lacp system-priority 11111
RouterA (config)# interface g1/0/0
RouterA (config-if)# lacp port-priority 100
RouterA (config-if)# exit
RouterA (config)# interface g2/0/0
RouterA (config-if)# lacp port-priority 200
RouterA (config-if)# end

To remove aport channel from a port you can use the below configurtion:

RouterA > enable 
RouterA # configure terminal
RouterA (config)# no interface port-channel 1
RouterA (config)# end

To view the agregated link’s information, use the ”show interfaces port-channel 1” command.

I hope these two article will be helpfull for you to understand how to configure link aggregation on Cisco routers. In the following articles, we will focus link aggregation on Juniper and Alcatel-Lucent devices. Keep on ;)

Link Aggregation – Part 1 (Link Aggregation Control Protocol, LACP)
Link Aggregation – Part 2 (LACP Configuration on Cisco Devices)
Link Aggregation – Part 3 (LACP Configuration on Juniper Devices)
Link Aggregation – Part 4 (LAG Configuration on Alcatel-Lucent Devices)




About the Author
Gokhan Kosem is a telecommunation and network engineer. His ambition to IP networks and end-to-end system installation made him to prepare this web-site. By sharing his experiences about various networking protocols beside different system installation experiences and Cisco, Juniper, Alcatel-Lucent devices configurations, he is aimed to be helpful for his collegues in all over the world. He is currently lives in Istanbul, Turkey.

One comment for “Link Aggregation – Part 2 (LACP Configuration on Cisco Devices)”

1
anneau

merci avec tout mon coeur, tu m’a aider!
merci!

December 12th, 2013 at 04:06

Leave a Reply


Copy Protected by Chetan's WP-Copyprotect.