{"id":6128,"date":"2019-11-13T12:13:28","date_gmt":"2019-11-13T18:13:28","guid":{"rendered":"http:\/\/gregsowell.com\/?p=6128"},"modified":"2019-11-13T12:13:28","modified_gmt":"2019-11-13T18:13:28","slug":"cisco-ifindex-persistent-between-reboots","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=6128","title":{"rendered":"Cisco Ifindex Persistent Between Reboots"},"content":{"rendered":"<p>So if a line card fails in a Cisco device and the chassis is rebooted, then the ifindex for all or some of the interfaces may suddenly change.  To combat this enter the following command:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">snmp-server ifindex persist<\/code><\/pre>\n<p>This command will globally fix the ifindex of interfaces.  Here&#8217;s the <a href=\"https:\/\/www.cisco.com\/en\/US\/docs\/ios_xr_sw\/iosxr_r3.7\/system_management\/command\/reference\/yr37snmp.html#wp1114641\">Cisco<\/a> link.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So if a line card fails in a Cisco device and the chassis is rebooted, then the ifindex for all or some of 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,8],"tags":[],"class_list":["post-6128","post","type-post","status-publish","format-standard","hentry","category-cisco","category-networking"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/6128","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=6128"}],"version-history":[{"count":1,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/6128\/revisions"}],"predecessor-version":[{"id":6129,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/6128\/revisions\/6129"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}