OSPF cost and adjacency checker
Each interface's OSPF (Open Shortest Path First) cost from the reference bandwidth by each vendor's documented rule, the speeds that collapse to the same cost and the smallest reference that tells them apart; and, for two neighbouring interfaces, every mismatch, the packet each side drops under RFC 2328 or RFC 5340, and the neighbour state each side stalls in.
NetworkingKept in this browser · My desk
Juniper Junos OS divides the reference by the interface speed. Type the reference in bits per second (10000000000), or with a unit (10g); blank uses the default, 100 Mbit/s.
One to eight speeds with a unit, separated by commas: 100M, 1G, 2.5G, 10G, 1544k.
Runs locally in your browser. Nothing is sent anywhere.
Pick a vendor and enter the interface speeds. Example fills Junos at its default reference with 100 Mbit/s, 1 Gbit/s and 10 Gbit/s.
References
- RFC 2328, OSPF Version 2, April 1998 (STD 54): sections 1.2, 6, 8.2, 9.5.1, 10.1, 10.4, 10.5, 10.6, 12.4.1.1, 12.4.1.2, 12.4.1.4, 16.1 and appendices A.3.1, A.3.2, A.3.3, A.4.2, C.3, D.2, D.3 and D.5
- RFC Editor, errata for RFC 2328: verified erratum 3734 (the AuType is checked per interface)
- RFC 5340, OSPF for IPv6, July 2008: sections 2.4, 2.6, 4.2.2, 4.2.2.1 and appendix A.3.2
- RFC 3101, The OSPF Not-So-Stubby Area (NSSA) Option, January 2003: sections 1.3 and 2.1
- RFC 5709, OSPFv2 HMAC-SHA Cryptographic Authentication, October 2009: sections 3, 3.2 and 3.4
- RFC 6549, OSPFv2 Multi-Instance Extensions, March 2012: sections 2, 3 and 3.1
- RFC 7166, Supporting Authentication Trailer for OSPFv3, March 2014: sections 3, 4.2, 4.6 and 5
- RFC 4552, Authentication/Confidentiality for OSPFv3, June 2006: section 3
- RFC 5838, Support of Address Families in OSPFv3, April 2010: section 2.1
- RFC Editor, RFC index (XML): the current status of RFC 2328, 5340, 3101, 4552, 5709, 5838, 6549 and 7166
- Cisco, IP Routing Configuration Guide, Cisco IOS XE 17.18.x (Catalyst 9300 Switches), Configuring OSPF (read through a second reader: curl answered HTTP 403)
- Cisco, IP Routing: OSPF Command Reference, A through ip ospf demand-circuit: auto-cost and ip ospf cost (read in a browser on 2026-11-08: the site refuses automated reads)
- Cisco, IP Routing: OSPF Command Reference: ip ospf mtu-ignore (read through a second reader: curl answered HTTP 403)
- Juniper Networks, Junos OS CLI Reference: reference-bandwidth (Protocols OSPF) and metric (Protocols OSPF Interface)
- Juniper Networks, Junos OS OSPF User Guide (PDF of 18 June 2026): Controlling the Cost of Individual OSPF Network Segments
- FRRouting documentation (latest), OSPFv2: auto-cost reference-bandwidth
- Extreme Networks, Switch Engine v33.7.1 Command References (PDF): configure ospf cost and configure ospf metric-table, pages 1093 to 1099
- Extreme Networks, Fabric Engine v9.4 Command References (PDF): ip ospf default-cost, ip ospf cost and ip ospf mtu-ignore enable
- Arista Networks, EOS User Manual (4.37.0F as served), Open Shortest Path First version 2: auto-cost reference-bandwidth and ip ospf cost (read in a browser on 2026-11-08: the site refuses automated reads)
- HPE Aruba Networking, AOS-CX 10.16 IP Routing Guide: reference-bandwidth (read in a browser on 2026-11-08: the site refuses automated reads)
- HPE Aruba Networking, AOS-CX 10.16 IP Routing Guide: ip ospf cost (read in a browser on 2026-11-08: the site refuses automated reads)
- Huawei, S5700 and S6700 V200R025C00 Command Reference, OSPF Configuration Commands: ospf cost (read in a browser on 2026-11-08: the site refuses automated reads)
- Huawei, S5700 and S6700 V200R025C00 Command Reference, OSPF Configuration Commands: bandwidth-reference (OSPF) (read in a browser on 2026-11-08: the site refuses automated reads)
- Huawei, S5700 and S6700 V200R025C00 Command Reference, OSPF Configuration Commands: ospf mtu-enable (read in a browser on 2026-11-08: the site refuses automated reads)
- Huawei, S5700 and S6700 V200R025C00 Command Reference, OSPF Configuration Commands: ospf timer hello (read in a browser on 2026-11-08: the site refuses automated reads)
- Huawei, S5700 and S6700 V200R025C00 Command Reference, OSPF Configuration Commands: ospf timer dead (read in a browser on 2026-11-08: the site refuses automated reads)
- MikroTik, RouterOS Manual 7.24, CLI Reference: routing/ospf/interface-template