Configuring OSPF Authentication
Two types of authentication used in OSPF
- Simple password or plain-text authentication
Assign a password to be used with neighboring routers
router(config-if)# ip ospf authenctication-key passwordSpecifies the authentication type for an interface (since IOS 12.0)
router(config-if)# ip ospf authentication [message-digest | null]Specifies the authentication type for an area (before IOS 12.0)
router(config-router)# area area-id authencation [message-digest]Example :
R2-2503
interface Loopback0
ip address 70.70.70.70 255.255.255.255
!
interface Serial0
ip address 192.16.64.2 255.255.255.0
ip ospf authentication-key kal
clockrate 64000
!
router ospf 10
log-adjacency-changes
network 70.0.0.0 0.255.255.255 area 0
network 192.16.64.0 0.0.0.255 area 0
area 0 authenticationR1-2503
interface Loopback0
ip address 172.16.10.36 255.255.255.240
!
interface Serial0
ip address 192.16.64.1 255.255.255.0
ip ospf authentication-key kal
!
router ospf 10
network 172.16.0.0 0.0.255.255 area 0
network 192.16.64.0 0.0.0.255 area 0
area 0 authentication
- Message diggest 5 (MD5) authentication
R2-2503
interface Loopback0
ip address 70.70.70.70 255.255.255.255
!
interface Serial0
ip address 192.16.64.2 255.255.255.0
ip ospf message-digest-key 1 md5 kal
clockrate 64000
!
router ospf 10
network 192.16.64.0 0.0.0.255 area 0
network 70.0.0.0 0.255.255.255 area 0
area 0 authentication message-digestR1-2503
interface Loopback0
ip address 172.16.10.36 255.255.255.240
!
interface Serial0
ip address 192.16.64.1 255.255.255.0
ip ospf message-digest-key 1 md5 kal
!
router ospf 10
network 172.16.0.0 0.0.255.255 area 0
network 192.16.64.0 0.0.0.255 area 0
area 0 authentication message-digestNote : kal is password
TROUBLESHOOT
- show ip ospf neighbor
- show ip ospf interface serial0
- show ip route
- ping (ip address)
- debug ip ospf adj
-
Archives
- November 2008 (5)
- October 2008 (2)
- August 2008 (1)
- February 2008 (4)
- January 2008 (1)
- July 2007 (19)
-
Categories
-
RSS
Entries RSS
Comments RSS

![OMG ! [ Explore #1 ] OMG ! [ Explore #1 ]](http://static.flickr.com/2631/4150305338_5dd4270c04_t.jpg)