{"id":1050,"date":"2018-04-19T12:03:43","date_gmt":"2018-04-19T10:03:43","guid":{"rendered":"http:\/\/www.quisted.net\/?p=1050"},"modified":"2018-04-19T12:03:43","modified_gmt":"2018-04-19T10:03:43","slug":"dc-nx-os","status":"publish","type":"post","link":"https:\/\/www.quisted.net\/index.php\/2018\/04\/19\/dc-nx-os\/","title":{"rendered":"[DC] NX-OS"},"content":{"rendered":"<ul>\n<li><span style=\"color: #800080;\">VDC<\/span><\/li>\n<li><span style=\"color: #800080;\">VPC<\/span><\/li>\n<li><span style=\"color: #800080;\">Fabricpath<\/span><\/li>\n<li><span style=\"color: #800080;\">Fabric Extenders (FEX)<\/span><\/li>\n<li><span style=\"color: #800080;\">OTV<\/span><\/li>\n<\/ul>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quisted.net\/index.php\/2018\/04\/19\/dc-nx-os\/#VDC_Virtual_Device_Context\" >VDC ( Virtual Device Context )<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quisted.net\/index.php\/2018\/04\/19\/dc-nx-os\/#VPC_Virtual_Port_Channel\" >VPC ( Virtual Port Channel )<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quisted.net\/index.php\/2018\/04\/19\/dc-nx-os\/#Fabricpath\" >Fabricpath<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"VDC_Virtual_Device_Context\"><\/span><strong>VDC ( Virtual Device Context )<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/www.cisco.com\/c\/en\/us\/products\/collateral\/switches\/nexus-7000-10-slot-switch\/White_Paper_Tech_Overview_Virtual_Device_Contexts.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.cisco.com\/c\/en\/us\/products\/collateral\/switches\/nexus-7000-10-slot-switch\/White_Paper_Tech_Overview_Virtual_Device_Contexts.html<\/a><\/p>\n<p><a href=\"https:\/\/www.cisco.com\/en\/US\/docs\/switches\/datacenter\/sw\/5_x\/nx-os\/virtual_device_context\/command\/reference\/vdc_commands.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.cisco.com\/en\/US\/docs\/switches\/datacenter\/sw\/5_x\/nx-os\/virtual_device_context\/command\/reference\/vdc_commands.html<\/a><\/p>\n<p><em>A VDC can be used to virtualize the device itself, presenting the physical switch as multiple logical devices. Within that VDC it can contain its own unique and independent set of VLANs and VRFs. Each VDC can have assigned to it physical ports, thus allowing for the hardware data plane to be virtualized as well. Within each VDC, a separate management domain can manage the VDC itself, thus allowing the management plane itself to also be virtualized<\/em>.<\/p>\n<p><strong>Create a new VDC:<\/strong><\/p>\n<p>N7k1(config)#<span class=\"synph\"> <span class=\"kwd\">vdc<\/span><\/span> <strong><span style=\"color: #3366ff;\">N5K1<\/span><\/strong><br \/>\nN7k1(config-vdc)#<br \/>\nN7k1# <span style=\"color: #ff0000;\">switchto vdc\u00a0<strong><span style=\"color: #3366ff;\">N5K1<\/span><\/strong><\/span><\/p>\n<p><strong>Show allocated interfaces:<\/strong><\/p>\n<pre>switch# show vdc membership\n\nvdc_id: 0 vdc_name: switch interfaces:\n\n        Ethernet2\/1           Ethernet2\/2           Ethernet2\/3\n        Ethernet2\/4           Ethernet2\/5           Ethernet2\/6\n        Ethernet2\/7           Ethernet2\/8           Ethernet2\/9\n        Ethernet2\/10          Ethernet2\/11          Ethernet2\/12\n        Ethernet2\/13          Ethernet2\/14          Ethernet2\/15\n        Ethernet2\/16          Ethernet2\/17          Ethernet2\/18\n        Ethernet2\/19          Ethernet2\/20          Ethernet2\/21\n        Ethernet2\/22          Ethernet2\/23          Ethernet2\/24\n        Ethernet2\/25          Ethernet2\/26          Ethernet2\/27\n        Ethernet2\/28          Ethernet2\/29          Ethernet2\/30\n        Ethernet2\/31          Ethernet2\/32          Ethernet2\/33\n        Ethernet2\/34          Ethernet2\/35          Ethernet2\/36\n        Ethernet2\/37          Ethernet2\/38          Ethernet2\/39\n        Ethernet2\/40          Ethernet2\/41          Ethernet2\/42\n        Ethernet2\/43          Ethernet2\/44          Ethernet2\/45\n        Ethernet2\/48\n\nvdc_id: 1 vdc_name: N5K1\n\n        Ethernet2\/47\n<\/pre>\n<p><strong>Allocate interfaces:<\/strong><\/p>\n<pre>N7k1(config)#vdc N5K1\nN7k1(config-vdc)#allocate interface e2\/1 - 12\n<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VPC_Virtual_Port_Channel\"><\/span><strong>VPC ( Virtual Port Channel )<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/vpc-design.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-950\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/vpc-design.png\" alt=\"\" width=\"372\" height=\"402\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/vpc-design.png 372w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/vpc-design-278x300.png 278w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.cisco.com\/c\/en\/us\/products\/collateral\/switches\/nexus-5000-series-switches\/configuration_guide_c07-543563.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.cisco.com\/c\/en\/us\/products\/collateral\/switches\/nexus-5000-series-switches\/configuration_guide_c07-543563.html<\/a><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"nKbsepMx1C\"><p><a href=\"http:\/\/www.quisted.net\/route\/various\/lab-iv-vpc-virtual-port-channels\/\">LAB IV ( vPC &#8211; virtual Port-channels )<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.quisted.net\/route\/various\/lab-iv-vpc-virtual-port-channels\/embed\/#?secret=nKbsepMx1C\" data-secret=\"nKbsepMx1C\" width=\"600\" height=\"338\" title=\"&#8220;LAB IV ( vPC &#8211; virtual Port-channels )&#8221; &#8212; CC&amp;P | CCDP\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p><!--more--><\/p>\n<ul>\n<li><strong>vPC overview<\/strong>\n<ul>\n<li>vPC made up of only 2 physical switches\n<ul>\n<li>vPC peers<\/li>\n<\/ul>\n<\/li>\n<li><span style=\"color: #ff0000;\"><strong>vPC Peers<\/strong><\/span> each have\n<ul>\n<li>Same Domain #<\/li>\n<li><strong><span style=\"color: #3366ff;\">vPC Peer link<\/span><\/strong>\n<ul>\n<li>Layer 2 trunk link to sync control plane between peers<\/li>\n<li>MAC table, ARP cache, IGMP Snooping DB<\/li>\n<li>Uses Cisco Fabcric Service over Ethernet ( CFSoE )<\/li>\n<li>Used to elect a vPC primarty and vPC Secondary Role<\/li>\n<li>Normally not used for the Dataplane\n<ul>\n<li><span style=\"color: #3366ff;\"><strong>vPC Peer link<\/strong><\/span> generally much lower BW than aggregate of <span style=\"color: #339966;\"><strong>vPC member ports<\/strong><\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><span style=\"color: #993366;\"><strong>vPC Peer Keepalive Link<\/strong><\/span>\n<ul>\n<li>Layer 3 used as heartbeat in the control plane.<\/li>\n<li>Used to prevent active\/active or &#8220;Split Brain&#8221; vPC roles<\/li>\n<li>Not used in the vPC dataplane.<\/li>\n<\/ul>\n<\/li>\n<li><strong><span style=\"color: #339966;\">vPC Member Ports<\/span><\/strong>\n<ul>\n<li>Dataplane portchannel towards the downstream neighbor<\/li>\n<li>Each <span style=\"color: #ff0000;\"><strong>vPC Peer<\/strong> <\/span>has at least one memberport per vPC<\/li>\n<li>From the perspective of the downstream neighbor, upsteam <span style=\"color: #ff0000;\"><strong>vPC peers<\/strong><\/span> are one switch<\/li>\n<li>VLANs on<span style=\"color: #339966;\"><strong> vPC member ports<\/strong><\/span> must be allowed on <span style=\"color: #ff0000;\"><strong>vPC Peer<\/strong><\/span> link trunks<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>vPC orphans\n<ul>\n<li>Servers or switches connected to only one <strong><span style=\"color: #ff0000;\">vPC peer<\/span><\/strong><\/li>\n<\/ul>\n<\/li>\n<li>vPC Loop Prevention\n<ul>\n<li>Goal of vPC is to hide redundant links from STP\n<ul>\n<li>Could result in layer2 flooding loops<\/li>\n<\/ul>\n<\/li>\n<li>Loops are prevented via vPC check behavior\n<ul>\n<li><em>Frames received in the <span style=\"color: #3366ff;\"><strong>vPC Peer Link<\/strong><\/span> cannot flood out a <span style=\"color: #339966;\"><strong>vPC Member Port<\/strong><\/span> while the remote<span style=\"color: #ff0000;\"><strong> vPC Peer<\/strong> <\/span>has active <strong><span style=\"color: #339966;\">vPC Members Ports<\/span><\/strong> in the same vPC.<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Fabricpath\"><\/span><strong>Fabricpath<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"http:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/FabricPath-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-802\" src=\"http:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/FabricPath-1.png\" alt=\"\" width=\"670\" height=\"478\" \/><\/a><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"2YtMMUUMqm\"><p><a href=\"http:\/\/www.quisted.net\/arc\/datacenter-design-trill-fabric-path\/\">Datacenter Design V ( TRILL, Fabric Path )<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.quisted.net\/arc\/datacenter-design-trill-fabric-path\/embed\/#?secret=2YtMMUUMqm\" data-secret=\"2YtMMUUMqm\" width=\"600\" height=\"338\" title=\"&#8220;Datacenter Design V ( TRILL, Fabric Path )&#8221; &#8212; CC&amp;P | CCDP\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p><a href=\"https:\/\/www.cisco.com\/c\/en\/us\/products\/collateral\/switches\/nexus-5000-series-switches\/guide_c07-690079.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.cisco.com\/c\/en\/us\/products\/collateral\/switches\/nexus-5000-series-switches\/guide_c07-690079.html<\/a><\/p>\n<p><a href=\"https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/switches\/datacenter\/sw\/6_x\/nx-os\/fabricpath\/configuration\/guide\/b-Cisco-Nexus-7000-Series-NX-OS-FP-Configuration-Guide-6x.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/switches\/datacenter\/sw\/6_x\/nx-os\/fabricpath\/configuration\/guide\/b-Cisco-Nexus-7000-Series-NX-OS-FP-Configuration-Guide-6x.html<\/a><\/p>\n<ul>\n<li><strong>Classic Ethernet ( CE )<\/strong>\n<ul>\n<li>Regular internet with regular flooding, regular STP, etc.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Leaf switch<\/strong>\n<ul>\n<li>Connects CE domain to FP domain<\/li>\n<\/ul>\n<\/li>\n<li><strong>Spine switch<\/strong>\n<ul>\n<li>FP backbone switch all ports in the FP domain only<\/li>\n<\/ul>\n<\/li>\n<li><strong>FP Core Ports<\/strong>\n<ul>\n<li>Links on leaf up to Spine, or Spine to Spine<\/li>\n<li>i.e. the switchport mode fabricpath links<\/li>\n<\/ul>\n<\/li>\n<li><strong>CE Edge Ports<\/strong>\n<ul>\n<li>Links of leaf connecting to regular CE domain (to servers \/ switches)<\/li>\n<li>i.e. NOT the switchport mode fabricpath links<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"color: #993366;\"><strong>Activating the fabricpath feature set.<\/strong><\/span><\/p>\n<p>For the activation is the &#8220;ENHANCED_LAYER2.PK&#8221; license needed, or the grace-period of 120 days:<\/p>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/04\/fabricpathactivate.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-1070 size-full\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/04\/fabricpathactivate.png\" alt=\"\" width=\"1481\" height=\"411\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/04\/fabricpathactivate.png 1481w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/04\/fabricpathactivate-300x83.png 300w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/04\/fabricpathactivate-768x213.png 768w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/04\/fabricpathactivate-1024x284.png 1024w\" sizes=\"auto, (max-width: 1481px) 100vw, 1481px\" \/><\/a><\/p>\n<p>config<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VDC VPC Fabricpath Fabric Extenders (FEX) OTV VDC ( Virtual Device Context ) https:\/\/www.cisco.com\/c\/en\/us\/products\/collateral\/switches\/nexus-7000-10-slot-switch\/White_Paper_Tech_Overview_Virtual_Device_Contexts.html https:\/\/www.cisco.com\/en\/US\/docs\/switches\/datacenter\/sw\/5_x\/nx-os\/virtual_device_context\/command\/reference\/vdc_commands.html A VDC can be used to virtualize the device itself, presenting the physical switch as multiple logical devices. Within that VDC it can contain its own unique and independent set of VLANs and VRFs. Each VDC can have assigned to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1050","post","type-post","status-publish","format-standard","hentry","category-dc"],"_links":{"self":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/1050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/comments?post=1050"}],"version-history":[{"count":0,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/1050\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/media?parent=1050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/categories?post=1050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/tags?post=1050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}