OSPF default gateway

Userlevel 3
I need to understand the OSPF IProute output for the default route.

I have a network that basically has 4 exits to the internet ( default routes )

If the switch see's these routes with the same metric , they all appear in the routing table ?

If they are seen with different metrics then only the lowest metric is seen in the " show IP route" which is the current default gateway.

Is there a way of showing the " other default routes and their metrics.

2 replies

Userlevel 2
If the metrics are different only the lowest metric route will be displayed in the routing table. We cannot see the other higher metrics route in routing table.
Userlevel 6
The OSPF process sends the equal, lowest cost paths to rtmgr so we have the ability to do ECMP if it's enabled. If you dont have ECMP enabled you can see that only one path was provided to FIB.