OSPF: A note about OSPF authentication

Interface level command

ip ospf authentication message-digest (Enable MD5 authentication)
ip ospf message-digest-key 1 md5 cisco

ip ospf authentication (Enable clear text authentication)

ip ospf authentication-key cisco

OSPF authentication type

Type 0: Null, no authentication

Command: ip ospf authentication null

Type 1: Clear text

Command: ip ospf authentication

Type 2: MD5 hash authentication

Command: ip ospf authentication message-digest

Condition for the authentication to work

OSPF neighbors must have the same authentication.

If OSPF area authentication is enabled, it must be enabled for the entire area.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s