Understanding route metric 0

is-is

I have the below output from an IOS-XR box:

RP/0/RSP0/CPU0:RTR1#show route 10.10.10.10
Wed Mar 27 13:34:52.553 IST

Routing entry for 10.10.10.10/32
  Known via "isis IGP", distance 115, metric 261, type level-2
  Installed Mar 27 01:21:50.992 for 12:13:01
  Routing Descriptor Blocks
    172.16.185.6, from 10.10.10.10, via TenGigE0/0/0/1, Backup
      Route metric is 0
    172.16.184.253, from 10.10.10.10, via Bundle-Ether7, Protected
      Route metric is 261
  No advertising protos.

Q1:what is the meaning of 'Route metric is 0' in the above output?

Q2: Is fast-reroute in any way related to Q1 ? I see that fast-reroute is configured under BE7 and not under Te0/0/0/1 in the running config.

Best Answer

Route metrics are used by routing protocols to determine the best paths through your network. The actual metric isn't used to determine the path unless the Administrative Distance is the same between two or more paths. Cisco uses a default Administrative Distance of 0 for directly connected paths. If you want to learn more about Administrative Distance, here's a link to Cisco's support doc on it. As far as actual routing metrics, that depends on which routing protocols you're using. Here's a short explanation of a few metrics.

As for the fast-reroute command, that's used on a Label Switched Path in order to continue passing traffic even in the event of a link or node failure. A good explanation of Label Switched Paths can be found here, and the Cisco support doc on Fast Reroute links can be found here.