Configuring OSPF MD5 authentication

Posted: 23 Jul 2015 in CCNP
Tags: ,

In previous lab we have learnt how to configure OSPF clear text authentication,and now in this lab we will learn how to configure OSPF MD5 authentication which more secure than clear text authentication.Configuring OSPF MD5 authentication is very similar to configuring clear-text authentication.

Note:While configuring  OSPF MD5  authentication,you must keep two things in mind which i have mentioned below.

1. First you need to configure the MD5 value on an interface by using the ip ospf message-digest-key 1 md5 VALUE interface command
2. Next, you need to configure the interface to use MD5 authentication by using the ip ospf authentication message-digest interface command

ospf authentication

configuration on R1:

R1(config)#int fa0/0

R1(config-if)#ip ospf message-digest-key 1 md5 redhat123

%OSPF: Warning: The password/key will be truncated to 8 characters

R1(config-if)#ip ospf authentication message-digest

To verify OSPF MD5 authentication type below command:

R1#show ip ospf int fa0/0

TIP – OSPF authentication type can also be enabled on an area basis, instead of configuring OSPF authentication type per interface basis.

This is done by using the area AREA_ID authentication [message-digest] command under the OSPF configuration mode.

If you omit the message-digest keyword, a clear-text authentication will be used for that area.

All interfaces inside the area will use OSPF authentication

R1(config)#area 0 authentication message-digest

Configuration on R2:

R2(config)#int fa0/1

R2(config-if)#ip ospf message-digest-key 1 md5 redhat123

%OSPF: Warning: The password/key will be truncated to 8 characters

R2(config-if)#ip ospf authentication message-digest

To verify OSPF MD5 authentication type below command:

R2#show ip ospf int fa0/1

Advertisement
Comments
  1. Essential business skills says:

    yes i have one full time today in essential business skills

    Like

  2. ccNA says:

    how much one can earn from wordAds in whech product

    Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.