{"id":149,"date":"2020-10-29T15:36:47","date_gmt":"2020-10-29T14:36:47","guid":{"rendered":"http:\/\/www.sensimedia.org\/?p=149"},"modified":"2025-03-07T08:44:20","modified_gmt":"2025-03-07T07:44:20","slug":"os10-basic-config","status":"publish","type":"post","link":"https:\/\/sensimedia.org\/?p=149","title":{"rendered":"OS10 Basic Config"},"content":{"rendered":"\n<p>Exemple de configuration simple<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"376\" src=\"http:\/\/sensimedia.org\/wp-content\/uploads\/2020\/10\/image-2.png\" alt=\"\" class=\"wp-image-152\" srcset=\"https:\/\/sensimedia.org\/wp-content\/uploads\/2020\/10\/image-2.png 986w, https:\/\/sensimedia.org\/wp-content\/uploads\/2020\/10\/image-2-300x114.png 300w, https:\/\/sensimedia.org\/wp-content\/uploads\/2020\/10\/image-2-768x293.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>Soit un domaine VLT interconnect\u00e9 en L2, via une interco  LACP  \u00e0 un autre domaine VLT.<\/p>\n\n\n\n<p>Pas de routage activ\u00e9 sur les \u00e9quipements. On consid\u00e8re que le SRV1 et SRV2 ont des vlans en communs. <br>On aura donc un trunk avec les n Vlans n\u00e9cessaires d\u00e9clar\u00e9s sur le PO1 (attachement du serveur) mais aussi sur le PO100 qui sert \u00e0 l&#8217;interco des deux domaines VLT.<\/p>\n\n\n\n<p>On commence par interconnecter les deux ports OOB pour avoir un lien de HeartBeat entre les deux swicths du m\u00eame domaine VLT<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>SW1<\/td><td>SW2<\/td><\/tr><tr><td>interface mgmt1\/1\/1<br>&nbsp;no shutdown<br>&nbsp;no ip address dhcp<br>&nbsp;ip address 10.10.10.1\/30<br>&nbsp;no ipv6 enable<br>!<\/td><td>interface mgmt1\/1\/1<br>&nbsp;no shutdown<br>&nbsp;no ip address dhcp<br>&nbsp;ip address 10.10.10.2\/30<br>&nbsp;no ipv6 enable<br>!<\/td><\/tr><\/tbody><\/table><figcaption>Ceci n&#8217;est pas obligatoire, mais est une bonne prarique.<\/figcaption><\/figure>\n\n\n\n<p>D\u00e9claration du VLT entre SW1 et SW2<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>SW1<\/td><td>SW2<\/td><\/tr><tr><td>vlt-domain 1<br>&nbsp;backup destination 10.10.10.2<br>&nbsp;discovery-interface ethernet1\/1\/13<br>&nbsp;primary-priority 4096<br>&nbsp;vlt-mac xx:xx:xx:xx:xx:xx<\/td><td>vlt-domain 1<br>&nbsp;backup destination 10.10.10.1<br>&nbsp;discovery-interface ethernet1\/1\/13<br>&nbsp;primary-priority 8192<br>&nbsp;vlt-mac xx:xx:xx:xx:xx:xx<\/td><\/tr><\/tbody><\/table><figcaption>remplacer la vlt-mac, pas une addresse mac forg\u00e9, cette ligne n&#8217;est pas obligatoire, mais elle fait partie des bonnes pratiques.<br>Si vous n\u2019utilisez pas le mgmt port, ne d\u00e9clarez pas de backup destination.<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>On rajoute les vlans n\u00e9cessaires<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>SW1<\/td><td>SW2<\/td><\/tr><tr><td>interface vlan10<br>&nbsp;description &#8220;VLAN10&#8221;<br>&nbsp;no shutdown<\/td><td>interface vlan10<br>&nbsp;description &#8220;VLAN10&#8221;<br>&nbsp;no shutdown<\/td><\/tr><tr><td>interface vlan12<br>&nbsp;description &#8220;VLAN12&#8221;<br>&nbsp;no shutdown<\/td><td>interface vlan12<br>&nbsp;description &#8220;VLAN12&#8221;<br>&nbsp;no shutdown<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>On configure les interfaces d&#8217;attachement au serveur SRV1 (mais \u00e7a pourrait \u00eatre un switch). Dans le cas d&#8217;un serveur attention au type de teaming\/bonding, dans le cas pr\u00e9sent on est sur un teaming de type switch d\u00e9pendant.<\/p>\n\n\n\n<p>On en profite pour creer le Port-Channel 1, et on laisse passer les VLANs 10, 12 dans trunk.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>SW1<\/td><td>SW2<\/td><\/tr><tr><td>interface ethernet1\/1\/1<br>&nbsp;description &#8220;Vers SRV1_Port1&#8221;<br>&nbsp;no shutdown<br>&nbsp;channel-group 1 mode active<br>&nbsp;no switchport<br>&nbsp;flowcontrol receive off<\/td><td>interface ethernet1\/1\/1<br>&nbsp;description &#8220;Vers SRV1_Port2&#8221;<br>&nbsp;no shutdown<br>&nbsp;channel-group 1 mode active<br>&nbsp;no switchport<br>&nbsp;flowcontrol receive off<\/td><\/tr><tr><td>interface port-channel1<br>&nbsp;description &#8220;PO1_SRV1_P1&#8221;<br>&nbsp;no shutdown<br>&nbsp;switchport mode trunk<br>&nbsp;switchport trunk allowed vlan 10,12<br>&nbsp;vlt-port-channel 1<\/td><td>interface port-channel1<br>&nbsp;description &#8220;PO1_SRV1_P2&#8221;<br>&nbsp;no shutdown<br>&nbsp;switchport mode trunk<br>&nbsp;switchport trunk allowed vlan 10,12<br>&nbsp;vlt-port-channel 1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>On configure ensuite les interfaces et le port channel \u00e0 destination du second domaines VLT. On laisse passer dans le trunk du port channel 100 les Vlans 10, 12. <\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>SW1<\/td><td>SW2<\/td><\/tr><tr><td>interface ethernet1\/1\/10<br>&nbsp;description &#8220;Vers VLT2_SW1_Port10&#8221;<br>&nbsp;no shutdown<br>&nbsp;channel-group 100 mode active<br>&nbsp;no switchport<br>&nbsp;flowcontrol receive off<\/td><td>interface ethernet1\/1\/10<br>&nbsp;description &#8220;Vers VLT2_SW2_Port10&#8221;<br>&nbsp;no shutdown<br>&nbsp;channel-group 100 mode active<br>&nbsp;no switchport<br>&nbsp;flowcontrol receive off<\/td><\/tr><tr><td>interface port-channel100<br>&nbsp;description &#8220;PO100_VLT2_P10&#8221;<br>&nbsp;no shutdown<br>&nbsp;switchport mode trunk<br>&nbsp;switchport trunk allowed vlan 10,12<br>&nbsp;vlt-port-channel 100<\/td><td>interface port-channel100<br>&nbsp;description &#8220;PO100_VLT2_P10&#8221;<br>&nbsp;no shutdown<br>&nbsp;switchport mode trunk<br>&nbsp;switchport trunk allowed vlan 10,12<br>&nbsp;vlt-port-channel 100<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>On r\u00e9p\u00e9te l&#8217;action en adaptant sur le second domaines VLT. <\/p>\n\n\n\n<p>Attention les domaines VLTs doivent avoir des ID unique, donc la d\u00e9claration du second domaine VLT se fera comme suit, sur les deux switchs du VLT domaine 2<\/p>\n\n\n\n<p>vlt-domain 2<br>backup destination xx.xx.xx.xx<br>discovery-interface ethernet1\/1\/13<br>primary-priority 4096 [8192]<br>vlt-mac xx:xx:xx:xx:xx:xx<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exemple de configuration simple Soit un domaine VLT interconnect\u00e9 en L2, via une interco LACP \u00e0 un autre domaine VLT. Pas de routage activ\u00e9 sur les \u00e9quipements. On consid\u00e8re que le SRV1 et SRV2 ont des vlans en communs. On aura donc un trunk avec les n Vlans n\u00e9cessaires d\u00e9clar\u00e9s sur le PO1 (attachement du &hellip; <a href=\"https:\/\/sensimedia.org\/?p=149\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;OS10 Basic Config&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6,8],"tags":[16,21,22],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-dellemc","category-networking","category-os10","tag-dellemc","tag-networking","tag-os10"],"_links":{"self":[{"href":"https:\/\/sensimedia.org\/index.php?rest_route=\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sensimedia.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sensimedia.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sensimedia.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sensimedia.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149"}],"version-history":[{"count":1,"href":"https:\/\/sensimedia.org\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions"}],"predecessor-version":[{"id":517,"href":"https:\/\/sensimedia.org\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions\/517"}],"wp:attachment":[{"href":"https:\/\/sensimedia.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sensimedia.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sensimedia.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}