{"id":2321,"date":"2020-04-09T16:40:31","date_gmt":"2020-04-09T13:40:31","guid":{"rendered":"https:\/\/blog.3kgroup.ee:443\/?p=2321"},"modified":"2020-10-23T14:49:52","modified_gmt":"2020-10-23T11:49:52","slug":"ruckus-icx-switchide-seadistamine-2","status":"publish","type":"post","link":"https:\/\/blog.3kgroup.ee:443\/?p=2321&lang=en","title":{"rendered":"Ruckus ICX switch setup."},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Creating access<\/h3>\n\n\n\n<p>First, we connect to the ICX switch through the console. We make the physical connection with a standard USB cable with a USB-C connector on the switch side, the same cable used to charge newer phones.<\/p>\n\n\n\n<p>The first setting is to assign a management IP to the switch and activate the web interface. Mgmt IP becomes 192.168.3.19, subnet \/24, gateway 192.168.3.1 and we create a certificate.<\/p>\n\n\n\n<p class=\"has-small-font-size\">ICX7150-C12 Switch&gt;enable<br> No password has been assigned yet\u2026<br> ICX7150-C12 Switch#configure terminal<br> ICX7150-C12 Switch(config)#ip address 192.168.3.19\/24<br> ICX7150-C12 Switch(config)#ip default-gateway 192.168.3.1<br> ICX7150-C12 Switch(config)#crypto-ssl certificate generate<br> Creating certificate, please wait\u2026<br><\/p>\n\n\n\n<p class=\"has-small-font-size\">ICX7150-C12 Switch(config)#<br> ssl-certificate creation is successful<br> crypto-ssl certificate generate secret_data<\/p>\n\n\n\n<p>Loome kasutaja 'ruckus' parooliga 'ruckus'. Switchi nimeks saab '3K_ICX' ning k\u00e4suga 'write mem' kirjutame seaded m\u00e4llu.<\/p>\n\n\n\n<p class=\"has-small-font-size\">ICX7150-C12 Switch(config)#username ruckus password ruckus<br>ICX7150-C12 Switch(config)#aaa authentication login default local<br>ICX7150-C12 Switch(config)#aaa authentication web-server default local<br>ICX7150-C12 Switch(config)#web-management https<\/p>\n\n\n\n<p class=\"has-small-font-size\">ICX7150-C12 Switch(config)#hostname 3K_ICX<br> 3K_ICX(config)#enable telnet authentication<br> 3K_ICX(config)#enable aaa console<br> 3K_ICX(config)#write mem <br>There is no startup config file, unable to save legacy config <br>Flash Memory Write (8192 bytes per dot)<br>.<br>Write startup-config done.<br>Copy Done.<br>3K_ICX(config)# <\/p>\n\n\n\n<p>Now you can access the switch through web-interface.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"974\" height=\"398\" src=\"http:\/\/194.204.18.93:9991\/wp-content\/uploads\/2019\/05\/Capture.png\" alt=\"\" class=\"wp-image-648\" srcset=\"https:\/\/blog.3kgroup.ee:443\/wp-content\/uploads\/2019\/05\/Capture.png 974w, https:\/\/blog.3kgroup.ee:443\/wp-content\/uploads\/2019\/05\/Capture-300x123.png 300w, https:\/\/blog.3kgroup.ee:443\/wp-content\/uploads\/2019\/05\/Capture-768x314.png 768w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/figure>\n\n\n\n<p>To activate ssh access over a mgmt link, a key pair must be created:<\/p>\n\n\n\n<p class=\"has-small-font-size\">3K_ICX(config)#crypto key generate rsa modulus 2048<br>3K_ICX(config)#<br> Creating RSA key pair, please wait\u2026<br>RSA  Key pair is successfully created<br>3K_ICX(config)# <\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"415\" src=\"http:\/\/194.204.18.93:9991\/wp-content\/uploads\/2019\/05\/SSH.png\" alt=\"\" data-id=\"649\" data-link=\"http:\/\/194.204.18.93:9991\/icx-switchi-seadistamine\/ssh\/\" class=\"wp-image-649\" srcset=\"https:\/\/blog.3kgroup.ee:443\/wp-content\/uploads\/2019\/05\/SSH.png 658w, https:\/\/blog.3kgroup.ee:443\/wp-content\/uploads\/2019\/05\/SSH-300x189.png 300w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"415\" src=\"http:\/\/194.204.18.93:9991\/wp-content\/uploads\/2019\/05\/SSH2.png\" alt=\"\" data-id=\"650\" data-link=\"http:\/\/194.204.18.93:9991\/icx-switchi-seadistamine\/ssh2\/\" class=\"wp-image-650\" srcset=\"https:\/\/blog.3kgroup.ee:443\/wp-content\/uploads\/2019\/05\/SSH2.png 656w, https:\/\/blog.3kgroup.ee:443\/wp-content\/uploads\/2019\/05\/SSH2-300x190.png 300w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Creating VLANs.<\/h3>\n\n\n\n<p>Vlans can be added in bulk, ie vlans with similar settings do not have to be created and configured one by one. This option saves a lot of time and effort.<br> We add VLANs between 21-40 and assign them to port 1\/1\/3<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-small-font-size\">SSH@3K_ICX&gt;enable <br>No password has been assigned yet... <br>SSH@3K_ICX#conf t <br>SSH@3K_ICX(config)#vlan 21 to 40  #Siin lisame vlanid 21-40  <br>SSH@3K_ICX(config-mvlan-21-40)#tag  <br> tagged                        802.1Q tagged port <br>SSH@3K_ICX(config-mvlan-21-40)#tagged ethernet 1\/1\/3 #Siin lisame vlani'd switchi pordile 1\/1\/3 <br>SSH@3K_ICX(config-mvlan-21-40)#Added tagged port(s) ethe 1\/1\/3 to port-vlan 21. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 22. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 23. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 24. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 25. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 26. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 27. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 28. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 29. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 30. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 31. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 32. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 33. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 34. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 35. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 36. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 37. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 38. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 39. <br>Added tagged port(s) ethe 1\/1\/3 to port-vlan 40. <br>SSH@3K_ICX(config-mvlan-21-40)#spanning-tree 802-1w # K\u00e4ivitame Spanning Tree Protocol'i protsessi switchis<br>SSH@3K_ICX(config-mvlan-21-40)# <br>SSH@3K_ICX(config-mvlan-21-40)#spanning-tree 802-1w ethernet 1\/1\/3 admin-pt2pt-mac # M\u00e4\u00e4rame pordi 1\/1\/3 admin point-to-point lingiks, pordil on Rapid STP <\/p>\n\n\n\n<p>The same, but using different syntax. We add VLAN 2, 4, 6, 8 and 10.<\/p>\n\n\n\n<p class=\"has-small-font-size\">SSH@3K_ICX#conf t <br>SSH@3K_ICX(config)#vlan 2 4 6 8 10 <br>SSH@3K_ICX(config-mvlan-2*10)#tagg   <br>tagged                        802.1Q tagged port <br>SSH@3K_ICX(config-mvlan-2*10)#tagged ethernet 1\/1\/4 <br>SSH@3K_ICX(config-mvlan-2*10)#Added tagged port(s) ethe 1\/1\/4 to port-vlan 2. <br>Added tagged port(s) ethe 1\/1\/4 to port-vlan 4. <br>Added tagged port(s) ethe 1\/1\/4 to port-vlan 6. <br>Added tagged port(s) ethe 1\/1\/4 to port-vlan 8. <br>Added tagged port(s) ethe 1\/1\/4 to port-vlan 10. <br>SSH@3K_ICX(config-mvlan-2*10)#<\/p>\n\n\n\n<p>You can check the settings:<\/p>\n\n\n\n<p class=\"has-small-font-size\">System-max vlan Params: Max(4095) Default(64) Current(64)<br> Default vlan Id :1<br> Total Number of Vlan Configured :26<br> VLANs Configured :1 to 2 4 6 8 10 21 to 40<br>SSH@3K_ICX#<br>SSH@3K_ICX#show interfaces ethernet 1\/1\/4<br>GigabitEthernet1\/1\/4 is down, line protocol is down<br>  Port down for 20 minute(s) 9 second(s)<br>  Hardware is GigabitEthernet, address is d4c1.9e94.1617 (bia d4c1.9e94.1617)<br>  Configured speed auto, actual unknown, configured duplex fdx, actual unknown<br>  Configured mdi mode AUTO, actual unknown<br>  Member of 5 L2 VLANs, port is tagged, port state is BLOCKING<br>  BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled<br>  Link Error Dampening is Disabled<br>  STP configured to ON, priority is level0, mac-learning is enabled <\/p>\n\n\n\n<p>Here we see that in addition to the default VLAN 1, VLANs 2, 4, 6, 8, 10, 21 to 40 are created, of which 5 VLANs are assigned to port 1\/1\/4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, we connect to the ICX switch through the console. We make the physical connection with a standard USB cable with a USB-C connector on the switch side, the same cable used to charge newer phones.<\/p>\n","protected":false},"author":5,"featured_media":3450,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[442],"tags":[279],"class_list":["post-2321","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3k-support-services","tag-icx-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=\/wp\/v2\/posts\/2321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2321"}],"version-history":[{"count":4,"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=\/wp\/v2\/posts\/2321\/revisions"}],"predecessor-version":[{"id":2775,"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=\/wp\/v2\/posts\/2321\/revisions\/2775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=\/wp\/v2\/media\/3450"}],"wp:attachment":[{"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.3kgroup.ee:443\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}