{"id":1109,"date":"2024-05-10T09:17:13","date_gmt":"2024-05-10T09:17:13","guid":{"rendered":"https:\/\/www.linuxsystems.ovh\/?p=1109"},"modified":"2024-05-13T11:03:11","modified_gmt":"2024-05-13T11:03:11","slug":"tworzenie-lacp-na-routerze-cisco","status":"publish","type":"post","link":"https:\/\/www.linuxsystems.ovh\/?p=1109","title":{"rendered":"Tworzenie LACP na switchu CISCO"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">W wpisie poka\u017c\u0119 jak stworzy\u0107 LACP na switchu CISCO<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Na pocz\u0105tek sprawdzi\u0142em czy porty s\u0105 UP i czy s\u0105 poprawnie pod\u0142\u0105czone &#8211; w moim przypadku by\u0142 to port 8 i 10.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">switch_CISCO#show interfaces GigabitEthernet1\/0\/10<br>GigabitEthernet1\/0\/10 is up, line protocol is up (connected)<br>  Hardware is Gigabit Ethernet, address is abcd.abcd.abcd (bia abcd.abcd.abcd)<br>  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,<br>     reliability 255\/255, txload 1\/255, rxload 1\/255<br>  Encapsulation ARPA, loopback not set<br>  Keepalive set (10 sec)<br>  Full-duplex, 1000Mb\/s, media type is 10\/100\/1000BaseTX<br>  input flow-control is off, output flow-control is unsupported<br>  ARP type: ARPA, ARP Timeout 04:00:00<br>  Last input never, output 00:00:00, output hang never<br>  Last clearing of \"show interface\" counters never<br>  Input queue: 0\/75\/0\/0 (size\/max\/drops\/flushes); Total output drops: 130<br>  Queueing strategy: fifo<br>  Output queue: 0\/40 (size\/max)<br>  5 minute input rate 0 bits\/sec, 0 packets\/sec<br>  5 minute output rate 53000 bits\/sec, 48 packets\/sec<br>     0 packets input, 57372 bytes, 0 no buffer<br>     Received 0 broadcasts (0 multicasts)<br>     0 runts, 0 giants, 0 throttles<br>     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored<br>     0 watchdog, 323 multicast, 0 pause input<br>     0 input packets with dribble condition detected<br>     0 packets output, 0 bytes, 0 underruns<br><br>switch_CISCO#show interfaces GigabitEthernet1\/0\/8<br>GigabitEthernet1\/0\/8 is up, line protocol is up (connected)<br>  Hardware is Gigabit Ethernet, address is abcd.abcd.abcd (bia abcd.abcd.abcd)<br>  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,<br>     reliability 255\/255, txload 1\/255, rxload 1\/255<br>  Encapsulation ARPA, loopback not set<br>  Keepalive set (10 sec)<br>  Full-duplex, 1000Mb\/s, media type is 10\/100\/1000BaseTX<br>  input flow-control is off, output flow-control is unsupported<br>  ARP type: ARPA, ARP Timeout 04:00:00<br>  Last input never, output 00:00:01, output hang never<br>  Last clearing of \"show interface\" counters never<br>  Input queue: 0\/75\/0\/0 (size\/max\/drops\/flushes); Total output drops: 0<br>  Queueing strategy: fifo<br>  Output queue: 0\/40 (size\/max)<br>  5 minute input rate 4000 bits\/sec, 1 packets\/sec<br>  5 minute output rate 65000 bits\/sec, 48 packets\/sec<br>     202516 packets input, 27538377 bytes, 0 no buffer<br>     Received 1851 broadcasts (0 multicasts)<br>     0 runts, 0 giants, 0 throttles<br>     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored<br>     0 watchdog, 0 multicast, 0 pause input<br>     0 input packets with dribble condition detected<br>     0 packets output, 0 bytes, 0 underruns<br>     0 output errors, 0 collisions, 0 interface resets<br>     0 babbles, 0 late collision, 0 deferred<br>     0 lost carrier, 0 no carrier, 0 PAUSE output<br>     0 output buffer failures, 0 output buffers swapped out<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wi\u0119c skonfigurowa\u0142em sobie na nim LACP na porcie 8 i porcie 10:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">switch_CISCO(config)#interface GigabitEthernet1\/0\/8<br>switch_CISCO(config-if)#channel-group 1 mode active<br>switch_CISCO(config-if)#exit<br>switch_CISCO(config)#interface GigabitEthernet1\/0\/8<br>switch_CISCO(config-if)#channel-group 1 mode active<br>switch_CISCO(config-if)#exit<br>switch_CISCO(config)#exit<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I teraz poleceniem etherchannel summary sprawdzi\u0142em, czy jest wszystko okej:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">switch_CISCO#show etherchannel summary<br>Flags:  D - down        P - bundled in port-channel<br>        I - stand-alone s - suspended<br>        H - Hot-standby (LACP only)<br>        R - Layer3      S - Layer2<br>        U - in use      f - failed to allocate aggregator<br><br>        M - not in use, minimum links not met<br>        u - unsuitable for bundling<br>        w - waiting to be aggregated<br>        d - default port<br><br><br>Number of channel-groups in use: 6<br>Number of aggregators:           6<br><br>Group  Port-channel  Protocol    Ports<br>------+-------------+-----------+-----------------------------------------------<br>1      Po1(SU)         LACP      Gi1\/0\/8(P)  Gi1\/0\/10(w)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Zosta\u0142o mi tylko na serwerze ustawi\u0107 LACP poprawnie i mo\u017cna by\u0142o cieszy\u0107 si\u0119&nbsp;poprawnie skonfigurowanym LACP.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>W wpisie poka\u017c\u0119 jak stworzy\u0107 LACP na switchu CISCO<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62],"tags":[],"class_list":["post-1109","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=\/wp\/v2\/posts\/1109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1109"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=\/wp\/v2\/posts\/1109\/revisions"}],"predecessor-version":[{"id":1114,"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=\/wp\/v2\/posts\/1109\/revisions\/1114"}],"wp:attachment":[{"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxsystems.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}