{"id":751,"date":"2024-11-26T03:43:51","date_gmt":"2024-11-26T00:43:51","guid":{"rendered":"https:\/\/itgen.itbumper.com\/?page_id=751"},"modified":"2024-11-26T03:48:27","modified_gmt":"2024-11-26T00:48:27","slug":"0019_cisco-ether%d1%81hannel","status":"publish","type":"page","link":"https:\/\/itgen.itbumper.com\/?page_id=751","title":{"rendered":"0019_Cisco: Ether\u0421hannel"},"content":{"rendered":"<p style=\"text-align: justify;\" data-tadv-p=\"keep\">EtherChannel is a technology that combines multiple physical ports into a single logical link to increase bandwidth and provide fault tolerance. It supports three aggregation methods: <strong>LACP<\/strong>, <strong>PAgP<\/strong>, and <strong>static (manual configuration)<\/strong>.<\/p>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nASW -Access switch\nDSW - Distribution switch\nPort channel \/ LAG\n\n\n#STATIC ETHERCHANNEL- ussually up to 16 (Catalist) \/ 256 (Nexus) port channel`s groups and up to 8 ports in each group\n#PAgP\t\t\t\t- ussually up to 16 (Catalist) \/ 256 (Nexus) port channel`s groups and up to 8 ports in each group\n#LACP 802.3ad \t\t- ussually up to 16 (Catalist) \/ 256 (Nexus) port channel`s groups and up to 16 ports in each group (8 active + 8 passive)\n\n#Modes\n#-Source MAC addresses - all frames with the same source MAC addresses will always use the same interface\n#-Destination MAC address - all frames with the same destination address will always use the same interface\n#-Source and Destination MAC addresses\n#-Source IP\n#-Destination IP\n#-Source and Destination IP\n\n\t\t====================LACP======================\n\t\tactive\t\t--&gt; LACP\n\t\tpassive\t\t--&gt; LACP\n\t\t====\n\t\tpassive + passive\t\t--&gt; no etherchannel\n\t\tactive + passive\t\t--&gt; OK\n\t\tactive + active\t\t\t--&gt; OK\n\t\t\n\t\t\n\t\t====================PAgP======================\n\t\tauto\t\t--&gt; PAgP\n\t\tdesirable   --&gt; PAgP \n\t\t====\n\t\tauto + auto \t\t\t--&gt; no etherchannel\n\t\tdesirable + auto \t\t--&gt; OK\n\t\tdesirable + desirable \t--&gt; OK\n\t\t\n\t\t\n\t\t==============Static Ethercannel==============\n\t\ton\t\t\t--&gt; Static Ethercannel only\n\t\t\n\t\t====\n\t\ton + on \t\t\t\t--&gt; OK\n\t\tother combinations\t\t--&gt; no etherchannel\n\t\t\n#Check all interfaces have same speed and configuration, then do\t\n\t\nenable\n\tconfigure terminal\n\t\tshow etherchannel load-balance\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#show current mode\n\t\tport-channel load-balance { src-mac| dst-mac | src-dst-mac | src-ip | dst-ip | src-dst-ip }\t\t#to choose mode\t\t\n\t\t\n\t\tinterface range GigabitEthernet0\/1 - 2\n\t\t\tchannel-group &lt;group_number&gt; mode &lt;choose a mode&gt;\n\t\t\texit\n\t\t\n\t\tinterface Port-channel &lt;group_number&gt;\n\t\t\tswitchport mode trunk \t\t\t\t\t\t#access can be set too\n\t\t\tswitchport trunk allowed vlan 10,20,30\t\t#add allowed VLANs (example)\n\t\t\texit\n\t\t\n\tshow etherchannel summary\t\t\t\t\t\t\t#to show etherchannel status, mode and its ports\n\tshow running-config | section Port-channel\n\tshow interfaces Port-channel &lt;group_number&gt;\n\tshow spanning-tree interface Port-channel &lt;group_number&gt;\n\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>EtherChannel is a technology that combines multiple physical ports into a single logical link to increase bandwidth and provide fault tolerance. It supports three aggregation methods: LACP, PAgP, and static (manual configuration).<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/751"}],"collection":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=751"}],"version-history":[{"count":2,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/751\/revisions"}],"predecessor-version":[{"id":755,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/751\/revisions\/755"}],"wp:attachment":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}