{"id":203,"date":"2020-09-26T13:27:14","date_gmt":"2020-09-26T13:27:14","guid":{"rendered":"https:\/\/dft.wiki\/?p=203"},"modified":"2026-06-09T14:52:35","modified_gmt":"2026-06-09T18:52:35","slug":"etherchannel-on-cisco-routers","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=203","title":{"rendered":"EtherChannel on Cisco Routers"},"content":{"rendered":"<p>When the network grows and traffic increases, the trunks between switches start to become the weak point of the system.<\/p>\n<p>If this single cable breaks, all communication is lost, and all traffic shares the bandwidth of only one port:<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-404\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2020\/09\/image-66.png\" alt=\"\" \/><\/figure>\n<p>Simply adding another cable does not fully solve the problem:<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-405\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2020\/09\/image-67.png\" alt=\"\" \/><\/figure>\n<p>STP will automatically block one of the ports to prevent loops, so traffic is still limited to one port, with the second serving only as a spare in case the primary fails.<\/p>\n<p>EtherChannel creates one virtual interface made up of up to 8 ports. The resulting connection speed equals the sum of each port&#8217;s bandwidth.<\/p>\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p>Switch1<\/p>\n<pre>enable \r\nconfigure terminal \r\nno ip domain lookup\r\nline con 0\r\nlogging synchronous\r\nhostname Switch1<\/pre>\n<\/div>\n<div class=\"wp-block-column\">\n<p>Switch2<\/p>\n<pre>enable \r\nconfigure terminal \r\nno ip domain lookup\r\nline con 0\r\nlogging synchronous\r\nhostname Switch2<\/pre>\n<\/div>\n<\/div>\n<p><strong>Set EtherChannel Static:<\/strong><\/p>\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p>Switch1<\/p>\n<pre>interface range g0\/1-2\r\nchannel-group 1 mode <strong>on<\/strong><\/pre>\n<\/div>\n<div class=\"wp-block-column\">\n<p>Switch2<\/p>\n<pre>interface range g0\/1-2\r\nchannel-group 1 mode <strong>on<\/strong><\/pre>\n<\/div>\n<\/div>\n<p><strong>Set EtherChannel to negotiate via PAgP protocol (Cisco):<\/strong><\/p>\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p>Switch1<\/p>\n<pre>interface range g0\/1-2\r\nchannel-group 1 mode <strong>desirable<\/strong><\/pre>\n<\/div>\n<div class=\"wp-block-column\">\n<p>Switch2<\/p>\n<pre>interface range g0\/1-2\r\nchannel-group 1 mode <strong>desirable<\/strong><\/pre>\n<p>OR<\/p>\n<p>interface range g0\/1-2<br \/>\nchannel-group 1 mode <strong>auto<\/strong><\/p>\n<\/div>\n<\/div>\n<p><strong>Set EtherChannel to negotiate via LACP protocol:<\/strong><\/p>\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p>Switch1<\/p>\n<pre>interface range g0\/1-2\r\nchannel-group 1 mode <strong>active<\/strong><\/pre>\n<\/div>\n<div class=\"wp-block-column\">\n<p>Switch2<\/p>\n<pre>interface range g0\/1-2\r\nchannel-group 1 mode <strong>active<\/strong><\/pre>\n<p>OR<\/p>\n<pre>interface range g0\/1-2\r\nchannel-group 1 mode <strong>passive<\/strong><\/pre>\n<\/div>\n<\/div>\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\" style=\"flex-basis: 69%;\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-409\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2020\/09\/image-69.png\" alt=\"\" \/><\/figure>\n<\/div>\n<div class=\"wp-block-column\" style=\"flex-basis: 31%;\">\n<p><strong>No EtherChannel:<\/strong><br \/>\n&#8211; Single port speed<br \/>\n&#8211; 1 spare port<\/p>\n<p><strong>EtherChannel:<\/strong><br \/>\n&#8211; Combined port speed<br \/>\n&#8211; No dedicated spare port, but if one link goes down the other carries the traffic.<\/p>\n<\/div>\n<\/div>\n<p><strong>Mode Definitions:<\/strong><\/p>\n<ul class=\"is-style-default\">\n<li>ON &#8211; ON\n<ul>\n<li>Forces link aggregation without negotiation.<\/li>\n<\/ul>\n<\/li>\n<li>Desirable &#8211; Desirable\n<ul>\n<li>Both sides initiate negotiation and form the link.<\/li>\n<\/ul>\n<\/li>\n<li>Desirable &#8211; Auto\n<ul>\n<li>One side initiates negotiation and the other responds to form the link.<\/li>\n<\/ul>\n<\/li>\n<li>Auto &#8211; Auto\n<ul>\n<li>Both sides wait and will NOT initiate negotiation, so the link will NOT form.<\/li>\n<\/ul>\n<\/li>\n<li>Active &#8211; Active\n<ul>\n<li>Both sides initiate negotiation and form the link.<\/li>\n<\/ul>\n<\/li>\n<li>Active &#8211; Passive\n<ul>\n<li>One side initiates negotiation and the other responds to form the link.<\/li>\n<\/ul>\n<\/li>\n<li>Passive &#8211; Passive\n<ul>\n<li>Both sides wait and will NOT initiate negotiation, so the link will NOT form.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>To verify the configuration on each switch, use the following commands:<\/strong><\/p>\n<pre>show spanning-tree\r\nshow etherchannel summary\r\nshow interfaces port-channel 1<\/pre>\n<p>EtherChannel can also be used on access ports, but it is most commonly applied to trunk ports since they are the natural bottleneck for traffic.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When the network grows and traffic increases, the trunks between switches start to become the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-ccna"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203"}],"version-history":[{"count":7,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":5841,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions\/5841"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}