{"id":5079,"date":"2015-03-17T14:24:28","date_gmt":"2015-03-17T20:24:28","guid":{"rendered":"http:\/\/gregsowell.com\/?p=5079"},"modified":"2015-03-17T14:24:28","modified_gmt":"2015-03-17T20:24:28","slug":"trunking-to-a-nexus-switch","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=5079","title":{"rendered":"Trunking To A Nexus Switch"},"content":{"rendered":"<p><figure id=\"attachment_5081\" aria-describedby=\"caption-attachment-5081\" style=\"width: 581px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2015\/03\/nexus5020.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2015\/03\/nexus5020.png\" alt=\"40 10Gb ports, of which 16 can run in 1Gb mode.  Dual PSU with 5 fans.\" width=\"581\" height=\"153\" class=\"size-full wp-image-5081\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2015\/03\/nexus5020.png 581w, https:\/\/gregsowell.com\/wp-content\/uploads\/2015\/03\/nexus5020-300x79.png 300w\" sizes=\"auto, (max-width: 581px) 100vw, 581px\" \/><\/a><figcaption id=\"caption-attachment-5081\" class=\"wp-caption-text\">40 10Gb ports, of which 16 can run in 1Gb mode.  Dual PSU with 5 fans.<\/figcaption><\/figure><br \/>\nI&#8217;m using a Nexus 5020, and attempting to trunk a 7606 running service provider code&#8230;but for some reason VLANs aren&#8217;t passing.<\/p>\n<p>I issue the following on the 7606:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">7606#show int te1\/1 trunk\r\n\r\nPort                Mode         Encapsulation  Status        Native vlan\r\nTe1\/1               on           802.1q         trunking      1\r\n\r\nPort                Vlans allowed on trunk\r\nTe1\/1               1650-1699\r\n\r\nPort                Vlans allowed and active in management domain\r\nTe1\/1               1650-1653\r\n\r\nPort                Vlans in spanning tree forwarding state and not pruned\r\nTe1\/1               1650-1653<\/code><\/pre>\n<p>This tells me everything is passing here&#8230;what happens when I do the same on the Nexus side:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">Nexus5020# show int e1\/17 trunk\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Native  Status        Port\r\n              Vlan                  Channel\r\n--------------------------------------------------------------------------------\r\nEth1\/17       1       trunking      --\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Vlans Allowed on Trunk\r\n--------------------------------------------------------------------------------\r\nEth1\/17       1,1650-1699\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Vlans Err-disabled on Trunk\r\n--------------------------------------------------------------------------------\r\nEth1\/17       none\r\n\r\n--------------------------------------------------------------------------------\r\nPort          STP Forwarding\r\n--------------------------------------------------------------------------------\r\n\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Vlans in spanning tree forwarding state and not pruned\r\n--------------------------------------------------------------------------------\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Vlans Forwarding on FabricPath\r\n--------------------------------------------------------------------------------\r\nEth1\/17       none<\/code><\/pre>\n<p>As you can see above, none of the VLANs are &#8220;STP Forwarding&#8221;&#8230;but what could be the problem?<\/p>\n<p>It turns out that Nexus chassis have a new feature called <a href=\"http:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/switches\/lan\/catalyst6500\/ios\/12-2SX\/configuration\/guide\/book\/stp_enha.html#wp1052528\">Bridge Assurance<\/a>.  It is an enhancement that helps protect against unidirectional link failure.  Any port designated as &#8220;spanning-tree port type network&#8221; has it enabled by default.  It expects that the switch on the other end supports the feature and is sending crafted BPDUs over to you.  If you happen to be trunking to a standard catalyst switch, then it basically blocks all VLANs from passing on the port!  How do we work around it&#8230;by disabling it.<\/p>\n<p>You have to globally disable the feature with:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">no spanning-tree bridge assurance<\/code><\/pre>\n<p>.<br \/>\nMagically, your VLANs will begin passing:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">Nexus5020# show int e1\/17 trunk\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Native  Status        Port\r\n              Vlan                  Channel\r\n--------------------------------------------------------------------------------\r\nEth1\/17       1       trunking      --\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Vlans Allowed on Trunk\r\n--------------------------------------------------------------------------------\r\nEth1\/17       1,1650-1699\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Vlans Err-disabled on Trunk\r\n--------------------------------------------------------------------------------\r\nEth1\/17       none\r\n\r\n--------------------------------------------------------------------------------\r\nPort          STP Forwarding\r\n--------------------------------------------------------------------------------\r\nEth1\/17       1,1650-1653\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Vlans in spanning tree forwarding state and not pruned\r\n--------------------------------------------------------------------------------\r\n\r\n--------------------------------------------------------------------------------\r\nPort          Vlans Forwarding on FabricPath\r\n--------------------------------------------------------------------------------\r\nEth1\/17       none<\/code><\/pre>\n<p>This seems to be a little documented feature and generally takes a little google-fu to find it.  Good luck and happy switching my friends.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using a Nexus 5020, and attempting to trunk a 7606 running service provider code&#8230;but for some reason VLANs aren&#8217;t passing. I issue the\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,20,8],"tags":[],"class_list":["post-5079","post","type-post","status-publish","format-standard","hentry","category-cisco","category-hardware","category-networking"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5079"}],"version-history":[{"count":1,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5079\/revisions"}],"predecessor-version":[{"id":5082,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5079\/revisions\/5082"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}