Missing: Route Metric

Hi Mikrotik,

may be i’m blind. You missed to print the route-metric in the routing table.
I’ve found no command to print it.
This is an essential info for a router.

I’m searching why a route goes a way I dont predict and I have no
chance to understand it because I’ve no information.

Stefan

/ip route print detail
or
/ip route print terse

When you say metric are you talking about the distance property ?

Hi,

The metric shown here is allways 110 for OSPF. This is what cisco
calls distance.
I’m talking about the metric the router uses to make his routing decision
between different routes learned via ospf.
The sum of all link-costs to the target.

-----------------8<--------------------------
gw2>sh ip route 192.168.0.1
Routing entry for 192.168.0.0/24
Known via “ospf 1”, distance 110, metric 40, type extern 1
Last update from 192.168.136.17 on FastEthernet0/1.5, 00:00:45 ago
Routing Descriptor Blocks:

  • 192.168.136.17, from 192.168.138.6, 00:00:45 ago, via FastEthernet0/1.5
    Route metric is 40, traffic share count is 1
    ------------------>8--------------------------

Stefan

Hi,
I’m missing metric as well. Even in 3.0rc13 software. As ‘ste’ described above, metric is something completely different than administrative distance and routing table should list both parameters of each route.
Basicaly AD is fixed for routing protocol and tells to router how reliable routing protocol is. If router has OSPF (AD 110) route to network and eBGP (AD 20) to same network it will prefer eBGP route regardless the actual metric. Metric take place when routing process (such as OSPF or BGP) is choosing which route to netowork install to FIB.

Tenis

All information about OSPF routes can be viewed here:
/routing ospf route print

Fine,
it shows me OSPF cost and it is cool. But still think that listing metric in general routing table is essential to troubleshooting and network tuning. Routing table is populated by more sources then OSPF.