Skip to content

OSPF Notes – Authentication

Corrections appreciated.

Type 0 : No authentication.  This is the default type.

R0(config-if)#ip ospf authentication null
-----
R0(config-router)#area 1 virtual-link 2.2.2.2 authentication null 

Type 1 : Clear text authentication

-----
R0(config-if)#ip ospf authentication
  - or -
R0(config-router)#area 1 authentication
R0(config-if)#ip ospf authentication-key MYKEY live sex online
-----
R0(config-router)#area 1 virtual-link 2.2.2.2 authentication-key MYKEY

Type 2 : MD5 authentication

-----
R0(config-if)#ip ospf authentication message-digest
  - or -
R0(config-router)#area 1 authentication message-digest
R0(config-if)#ip ospf message-digest-key 1 md5 MYKEY
-----
R0(config-router)#area 1 virtual-link 2.2.2.2 authentication message-digest message-digest-key 1 md5 MYKEY

One thought on “OSPF Notes – Authentication

  1. Wendy says:

    I am very impressed by your posts, I am currently working in large TELCO as NOC and have my CCNA, would like to know if you can give me some guideline of how to gain more hands-on experiences and become one of you in the future.

    Thank You
    Wendy

Leave a Reply to Wendy Cancel reply

Your email address will not be published. Required fields are marked *