CCIE Pursuit Blog

March 24, 2008

Cool Command 1: Verify OSPF Authentication

Here’s a nice command to quickly verify that your OSPF authentication is enabled:

r5#sh ip os int | i proto|auth|Area
OSPF_VL0
is up, line protocol is up
  Internet Address 191.1.45.5/25, Area 0
  Message digest authentication enabled
Loopback0 is up, line protocol is up
  Internet Address 150.1.5.5/24, Area 0
Serial0/0 is up, line protocol is up
  Internet Address 191.1.125.5/24, Area 0
  Message digest authentication enabled
FastEthernet0/0
is up, line protocol is up
  Internet Address 191.1.5.5/24, Area 5
  Simple password authentication enabled
FastEthernet0/1.45
is up, line protocol is up
  Internet Address 191.1.45.5/25, Area 45
  Simple password authentication enabled
FastEthernet0/1.59
is up, line protocol is up
  Internet Address 191.1.59.5/24, Area 90
FastEthernet0/1.50 is up, line protocol is up
  Internet Address 191.1.50.5/24, Area 90

This command shows us all of the OSPF enabled interfaces, what area they are they are in, whether they are using authentication or not, and – if so – what type of authentication we are using.

For example, we can see that s0/0 is OSPF enabled, is in area 0, is running authentication, and the authentication type is md5.

ip ospf authentication

ip ospf authentication-key

ip ospf message-digest-key

area authentication  

show ip ospf interface

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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 )

Google+ photo

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

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: