<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hi All,Thanks for sharing.i in Switching</title>
    <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/4088504#M486936</link>
    <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;What does [1/0] mean for static routes when we give the command show ip route.&lt;BR /&gt;I know 1 is the AD value of static route, and 0 is the metric value.&lt;BR /&gt;But what does 0 represent here? Is it hop count to next directly connected interface.. how is the 0 metric value calculated and why is it always 0 in [1/0].&lt;BR /&gt;If you can explain with a diagram, it would really help. Thanks. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 08:54:04 GMT</pubDate>
    <dc:creator>whizkidraj</dc:creator>
    <dc:date>2020-05-19T08:54:04Z</dc:date>
    <item>
      <title>Default Metric value for static routes  in CISCO ?</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544008#M302656</link>
      <description>&lt;P&gt;Hi Floks,&lt;/P&gt;&lt;P&gt;i have basic doubt on metric calculation of the routes in cisco routers.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;what was the default metric value for static routes ?&lt;/LI&gt;&lt;LI&gt;How it is calculated ?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please share me if there is any link for reference.&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Rajesh Kumar V&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 03:50:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544008#M302656</guid>
      <dc:creator>Rajesh cisco</dc:creator>
      <dc:date>2019-03-08T03:50:05Z</dc:date>
    </item>
    <item>
      <title>  Any comments really helpful</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544009#M302657</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comments really helpful for me . please share your points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Rajeshkumar V&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2014 15:32:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544009#M302657</guid>
      <dc:creator>Rajesh cisco</dc:creator>
      <dc:date>2014-06-25T15:32:33Z</dc:date>
    </item>
    <item>
      <title>  1. Default is one. it can</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544010#M302658</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Default is one. it can be overridden&lt;/P&gt;&lt;P&gt;2.Its not calculated. Dynamic protocols calculate metrics. this is static...therefore no calculation. It can be "set" with a configuration command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_pi/configuration/12-4/iri-12-4-book.html&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2014 17:49:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544010#M302658</guid>
      <dc:creator>vmiller</dc:creator>
      <dc:date>2014-06-25T17:49:35Z</dc:date>
    </item>
    <item>
      <title>I believe that the prior</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544011#M302659</link>
      <description>&lt;P&gt;I believe that the prior response has confused metric with Administrative Distance. A static route does have an Administrative Distance and by default it is 1 and can be set to some different value. Metrics are used by dynamic routing protocols. A static route does not have a metric unless it is being redistributed into a dynamic routing protocol and in that case the assignment of metric is dependent on the particular routing protocol (OSPF does it differently from EIGRP which does it differently from RIP).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2014 18:49:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544011#M302659</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2014-06-25T18:49:56Z</dc:date>
    </item>
    <item>
      <title>Hi All,Thanks for sharing.i</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544012#M302660</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Thanks for sharing.&lt;/P&gt;&lt;P&gt;i have another question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what was the metric of local route by default. can i set that to 0 ?&lt;/P&gt;&lt;P&gt;please confirm.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 07:48:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544012#M302660</guid>
      <dc:creator>Rajesh cisco</dc:creator>
      <dc:date>2014-06-26T07:48:33Z</dc:date>
    </item>
    <item>
      <title>Hi Rajesh, Default route you</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544013#M302661</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Default route you cannot set it to 0. It can have the metric between 1 to 255.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please do rate for the helpful posts and mark correct answers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 09:17:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544013#M302661</guid>
      <dc:creator>nkarthikeyan</dc:creator>
      <dc:date>2014-06-26T09:17:42Z</dc:date>
    </item>
    <item>
      <title> Thanks karthi.So, Basically</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544014#M302662</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks karthi.&lt;/P&gt;&lt;P&gt;So, Basically we cannot use 0 as metric for directly connected route.&lt;/P&gt;&lt;P&gt;In that case we cannot use 0 as the metric for static route&amp;nbsp; too ?.&lt;/P&gt;&lt;P&gt;I see that many router manufactures&amp;nbsp; use metric 0 (ad=1 metric=0 [1/0]) for static routes and also standard&amp;nbsp; mention that non valid metric is -1 and not 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 10:09:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544014#M302662</guid>
      <dc:creator>Rajesh cisco</dc:creator>
      <dc:date>2014-06-26T10:09:13Z</dc:date>
    </item>
    <item>
      <title>Directly connected can be</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544015#M302663</link>
      <description>&lt;P&gt;Directly connected can be considered as 0 always and static route is with 1 as the default and it differs for each routing protocols.&lt;/P&gt;&lt;TABLE bgcolor="#FFFFFF" border="1" cellpadding="3" cellspacing="1" width="60%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH bgcolor="#CCCCFF" colspan="1" height="" rowspan="1" width=""&gt;Route Source&lt;/TH&gt;&lt;TH bgcolor="#CCCCFF" colspan="1" height="" rowspan="1" width=""&gt;Default Distance Values&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Connected interface&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Static route&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Enhanced Interior Gateway Routing Protocol (EIGRP) summary route&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;External Border Gateway Protocol (BGP)&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Internal EIGRP&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;IGRP&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;OSPF&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;110&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Intermediate System-to-Intermediate System (IS-IS)&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;115&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Routing Information Protocol (RIP)&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Exterior Gateway Protocol (EGP)&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;140&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;On Demand Routing (ODR)&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;External EIGRP&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;170&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Internal BGP&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;Unknown*&lt;/TD&gt;&lt;TD bgcolor="#FFFFFF" colspan="1" height="" rowspan="1" width=""&gt;255&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 10:37:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544015#M302663</guid>
      <dc:creator>nkarthikeyan</dc:creator>
      <dc:date>2014-06-26T10:37:00Z</dc:date>
    </item>
    <item>
      <title> thanks a lot karthi.what you</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544016#M302664</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot karthi.&lt;/P&gt;&lt;P&gt;what you said is exactly correct for Administrative Distance (AD).&amp;nbsp;&lt;/P&gt;&lt;P&gt;my doubt is in metric point. can we set 0 as a metric for static route ? if yes , how we are determining.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Rajesh kuamr V&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 10:54:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544016#M302664</guid>
      <dc:creator>Rajesh cisco</dc:creator>
      <dc:date>2014-06-26T10:54:00Z</dc:date>
    </item>
    <item>
      <title> example:R1#sh ip route 2.2.2</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544017#M302665</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: blue;"&gt;R1#&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="color: red;"&gt;&lt;SPAN style="background-color: #eeeeee;"&gt;sh ip route 2.2.2.0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: blue;"&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;&lt;SPAN style="font-size: x-small;"&gt;Routing entry for 2.2.2.0/24&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;Known via "&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="color: #274e13;"&gt;static&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="color: blue;"&gt;", &lt;/SPAN&gt;&lt;SPAN style="color: magenta;"&gt;&lt;SPAN style="background-color: #eeeeee;"&gt;&lt;B&gt;distance 1&lt;/B&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;, metric 0 &lt;/SPAN&gt;&lt;SPAN style="color: orange;"&gt;&lt;SPAN style="background-color: #eeeeee;"&gt;(&lt;B&gt;connected&lt;/B&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: blue;"&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;Routing Descriptor Blocks:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: blue;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="color: #274e13;"&gt;&amp;nbsp;&lt;SPAN style="background-color: #eeeeee;"&gt;* 12.12.12.2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: blue;"&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;Route metric is 0, traffic share count is 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #274e13;"&gt;&lt;SPAN style="background-color: #eeeeee;"&gt;&lt;B&gt;&amp;nbsp;directly connected, via Serial0/1&lt;/B&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Jun 2014 11:00:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544017#M302665</guid>
      <dc:creator>Rajesh cisco</dc:creator>
      <dc:date>2014-06-26T11:00:36Z</dc:date>
    </item>
    <item>
      <title>I am not sure you can achieve</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544018#M302666</link>
      <description>&lt;P&gt;I am not sure you can achieve it with static route.... when you redistribute static routes in to dynamic routing protocols you can set a metric for the static route.&lt;/P&gt;&lt;P&gt;But in static route as per my knowledge you cannot do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 11:19:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544018#M302666</guid>
      <dc:creator>nkarthikeyan</dc:creator>
      <dc:date>2014-06-26T11:19:33Z</dc:date>
    </item>
    <item>
      <title> thanks karthi.i will check</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544019#M302667</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks karthi.&lt;/P&gt;&lt;P&gt;i will check and update u.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 11:37:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/2544019#M302667</guid>
      <dc:creator>Rajesh cisco</dc:creator>
      <dc:date>2014-06-26T11:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hi All,Thanks for sharing.i</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/4088504#M486936</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;What does [1/0] mean for static routes when we give the command show ip route.&lt;BR /&gt;I know 1 is the AD value of static route, and 0 is the metric value.&lt;BR /&gt;But what does 0 represent here? Is it hop count to next directly connected interface.. how is the 0 metric value calculated and why is it always 0 in [1/0].&lt;BR /&gt;If you can explain with a diagram, it would really help. Thanks. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 08:54:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/4088504#M486936</guid>
      <dc:creator>whizkidraj</dc:creator>
      <dc:date>2020-05-19T08:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hi All,Thanks for sharing.i</title>
      <link>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/4088535#M486937</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1048439"&gt;@whizkidraj&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;as clearly explained in this thread in Cisco IOS implementation static routes have an admin distance of 1 by default that can be changed when configuring a so called floating static route.&lt;/P&gt;
&lt;P&gt;The metric value is never computed in static routing.&lt;/P&gt;
&lt;P&gt;The IP routing table daemon provides a 0 for this missing value for static entries because it handles also dynamic routing entries in the form [AD/metric].&lt;/P&gt;
&lt;P&gt;In the case of static routes that [1/0] the 0 is just a place holder a value given to a field that is never checked. It cannot be modified by configuration.&lt;/P&gt;
&lt;P&gt;To be noted when a static route specifies an outgoing interface instead of an IP next-hop it can have AD 0 like a connected route.&lt;/P&gt;
&lt;P&gt;But in evey case the metric value is meaningless when comparing static routes between them or with entries generated by dynamic routing protocols.&lt;/P&gt;
&lt;P&gt;The most specific entry is used first then if there is a tie the lowest AD is preferred.&lt;/P&gt;
&lt;P&gt;This is correct because each routing protocol has its own way to calculate metric for example in RIP a metric of 16 is infinite . OSPF intra area routes are 16 bit unsigned integer ( up to 65,535) OSPF inter area are 24 bit values. EIGRP metric was 32 bit in classic EIGRP. In last EIGRP implementation (the named EIGRP ) the metric is 64 bit integer and needs a scaling factor to be reported in the routing table as the routing table metric field is 32 bit wide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope to help&lt;/P&gt;
&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 09:53:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/default-metric-value-for-static-routes-in-cisco/m-p/4088535#M486937</guid>
      <dc:creator>Giuseppe Larosa</dc:creator>
      <dc:date>2020-05-19T09:53:00Z</dc:date>
    </item>
  </channel>
</rss>

