OSPF is configurable and computed, and the console cannot report any of it #1371
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1371
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OSPF is configurable —
ospf router-id,ospf area,ip ospf cost|area|passiveper interface — andcomputeOspf()turns those numbers into adjacencies, an SPF tree and installed routes. None of it can be readback. The only console answer that mentions OSPF is
Oinshow ip route.So: set
ip ospf cost 25, then try to find out whether the engine used it, which port the adjacency formed on, orwho the neighbour is. There is no command that answers any of those. Same shape as
show power inlinebefore#1295 and the STP election before #1365 — the mechanism exists, the surface does not.
What must be true instead
show ip ospf— the process: router id, areas, interfaces (with the passive count), neighbours, routesinstalled, and whether the engine has settled.
show ip ospf neighbour [<port>]— who, at what address, on which port.show ip ospf interface [<port>]— area, cost, adjacency, passive, and where the cost came from, becausecost 10typed andcost 10derived from a 100 Mbps wire are the same route and a different story.show ip routecannot disagree.