Understanding OSPF Authentication

All OSPF version 2 (OSPFv2) protocol exchanges can be authenticated to guarantee that only trusted routers participate in the autonomous system’s (AS’s) routing. By default, OSPF authentication is disabled.

Note: OSPFv3 does not support authentication.

You can enable either of two authentication types:

Because OSPF performs authentication at the area level, all routers within the area must have the same authentication and corresponding password (key) configured. For MD5 authentication to work, both the receiving and transmitting routers must have the same MD5 key.

Related Topics