{"id":323,"date":"2018-04-21T16:52:53","date_gmt":"2018-04-21T15:52:53","guid":{"rendered":"https:\/\/zed-network.fr\/?p=323"},"modified":"2020-08-24T19:32:04","modified_gmt":"2020-08-24T18:32:04","slug":"ospf-router-id-lookup","status":"publish","type":"post","link":"https:\/\/zed-network.fr\/?p=323","title":{"rendered":"How to lookup your OSPF Router-ID"},"content":{"rendered":"<p>By default ospf display Router-ID like IP address.<\/p>\n<p>It&#8217;s possible to change this behavior and replace by a name.<\/p>\n<p>Before:<\/p>\n<pre>R1#sh ip ospf neighbor\n\nNeighbor ID Pri State Dead Time Address Interface\n10.0.31.31 0 FULL\/ - 00:00:39 10.0.99.2 Ethernet0\/1\n10.0.130.130 0 FULL\/ - 00:00:36 10.0.10.2 Ethernet0\/2<\/pre>\n<p>After:<\/p>\n<pre>ip host R3 10.0.130.130\nip host R2 10.0.31.31\n\n\nip ospf name-lookup\n\nR1#sh ip ospf neighbor\n\nNeighbor ID Pri State Dead Time Address Interface\nR2 0 FULL\/ - 00:00:38 10.0.99.2 Ethernet0\/1\nR3 0 FULL\/ - 00:00:36 10.0.10.2 Ethernet0\/2<\/pre>\n<p>Of course, fix the router-id.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default ospf display Router-ID like IP address. It&#8217;s possible to change this behavior and replace by a name. Before: R1#sh ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.0.31.31 0 FULL\/ &#8211; 00:00:39 10.0.99.2 Ethernet0\/1 10.0.130.130 0 FULL\/ &#8211; 00:00:36 10.0.10.2 Ethernet0\/2 After: ip host R3 10.0.130.130 ip host R2 10.0.31.31 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-323","post","type-post","status-publish","format-standard","hentry","category-ccie-rs","category-cisco"],"_links":{"self":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=323"}],"version-history":[{"count":4,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions"}],"predecessor-version":[{"id":554,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions\/554"}],"wp:attachment":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}