{"id":844,"date":"2021-08-20T03:08:24","date_gmt":"2021-08-20T03:08:24","guid":{"rendered":"http:\/\/feralpacket.org\/?p=844"},"modified":"2021-08-20T03:08:24","modified_gmt":"2021-08-20T03:08:24","slug":"etherchannel-notes","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=844","title":{"rendered":"Etherchannel Notes"},"content":{"rendered":"<p><span style=\"font-weight: bold;\">Etherchannel<\/span><\/p>\n<p>&nbsp;&#8211; It\u2019s an interfaced bundling technology<\/p>\n<p>&nbsp;&#8211; Used to group up to 8 (2 to 8) similar interfaces<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Must have same properties<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Speed<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Duplex<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Interface mode<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;-&gt; Access<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;-&gt; Trunk<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; VLAN-ID (for access ports)<\/p>\n<p>&nbsp;&#8211; Protocols can be used to configure the etherchannel<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Port Aggregation Protocol (PAgP)<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Master &#8211; desirable<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Slave &#8211; auto<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Link Aggregation Control Protocol (LACP)<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; 802.1ad<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Can have up to 8 backup interfaces<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Master &#8211; active<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; Slave &#8211; passive<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Manual etherchannel configuration<\/p>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;-&gt; only keyword is \u201con&#8221;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/ffef535e8b61bc6f5d1e0357cbd91c5e.jpeg\" style=\"\" width=\"\" height=\"\"><\/p>\n<p>SW1(config)# <span style=\"background-color: #fffaa5;-evernote-highlight:true;\">int range fa0\/1 &#8211; 2<\/span><\/p>\n<p><span style=\"background-color: #fffaa5;-evernote-highlight:true;\">&nbsp;channel group 5 mode { desirable | auto | active | passive | on }<\/span><\/p>\n<p>show etherchannel sum<\/p>\n<p>&nbsp; &nbsp; &nbsp;Po1&nbsp; &nbsp; &nbsp;SU&nbsp; &nbsp; &nbsp;Fa0\/1(P), Fa0\/2(P)<\/p>\n<p><span style=\"font-weight: bold;\">L3 Ehterchannel<\/span><\/p>\n<p>SW1(config)# <span style=\"background-color: #fffaa5;-evernote-highlight:true;\">int range fa0\/1 &#8211; 2<\/span><\/p>\n<p><span style=\"background-color: #fffaa5;-evernote-highlight:true;\">&nbsp;no switchport<\/span><\/p>\n<p>&nbsp;&#8211; \u201cno switchport\u201d must be configured before the channel-group configuration<\/p>\n<p><span style=\"font-weight: bold;\">LACP<\/span><\/p>\n<p>&nbsp;&#8211; Uses concept of Master \/ Slave to decide negotiator<\/p>\n<p>&nbsp;&#8211; Master is elected according to lower priority<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Default system priority &#8211; 32768<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Then lowest MAC address<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Lowest Port-ID used first<\/p>\n<p>&nbsp;&#8211; Negotiator (Master) determines which ports are used<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; Other ports become backup ports (if more than 8 are configured)<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/09ccc6fa53fd7a31eefd835113d36f8a.jpeg\" style=\"\" width=\"\" height=\"\"><\/p>\n<p>SW1(config)# lacp system-priority 100<\/p>\n<p>Once master is elected, port-priority can be used to decide which ports are used<\/p>\n<p>&nbsp;&#8211; Lower is better (default is 32768)<\/p>\n<p>SW1(config)# <span style=\"background-color: #fffaa5;-evernote-highlight:true;\">int range fa0\/9 &#8211; 16<\/span><\/p>\n<p><span style=\"background-color: #fffaa5;-evernote-highlight:true;\">&nbsp;lacp port-priority 100<\/span><\/p>\n<p><span style=\"font-weight: bold;\">Load Balancing Mechanism<\/span><\/p>\n<p>&nbsp;&#8211; 9 algorithms are available to decide exit interface<\/p>\n<p>&nbsp;&#8211; Only 1 algorithm can be configured<\/p>\n<p>&nbsp;&#8211; Sending side affected only<\/p>\n<p>&nbsp;&#8211; Single input<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; src-ip<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; dst-ip<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; src-mac<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; dst-mac<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; src-port<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; dst-port<\/p>\n<p>&nbsp;&#8211; Dual input<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; src-dst-ip<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; src-dst-mac<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; src-dst-port<\/p>\n<p>src-dst-ip<\/p>\n<p>&nbsp;&#8211; Source IP: &nbsp;10.0.0.1 (0000 0001)<\/p>\n<p>&nbsp;&#8211; Source IP: &nbsp;10.0.0.2 (0000 0010)<\/p>\n<p>&nbsp;&#8211; Destination IP: &nbsp;10.0.0.5 (0000 0101)<\/p>\n<p>&nbsp;&#8211; 2 links<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; last bit<\/p>\n<p>&nbsp;&#8211; 3 to 4 links<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; last 2 bits<\/p>\n<p>&nbsp;&#8211; 5 &#8211; 8 links<\/p>\n<p>&nbsp; &nbsp; &nbsp;-&gt; last 3 bits<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2018\/10\/141c81870453145583a274c1cd635268.jpeg\" style=\"\" width=\"\" height=\"\"><\/p>\n<p>XOR used for dual input algorithms<\/p>\n<p>SW1(config)# <span style=\"background-color: #fffaa5;-evernote-highlight:true;\">port-channel load-balance { src-ip | dst-ip | src-mac | dst-mac | src-port | dst-port | src-dst-ip | src-dst-mac | src-dst-port }<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Etherchannel<\/p>\n","protected":false},"author":1,"featured_media":841,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[16,63,62,31],"class_list":["post-844","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-etherchannel","tag-lacp","tag-pagp","tag-published"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=844"}],"version-history":[{"count":1,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/844\/revisions"}],"predecessor-version":[{"id":969,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/844\/revisions\/969"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/media\/841"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}