Reference Guide
OSPFv2 authentication
You can enable OSPF authentication either with clear text or with MD5.
• Set a clear text authentication scheme on the interface in INTERFACE mode.
ip ospf authentication-key key
• Set MD5 authentication in INTERFACE mode.
ip ospf message-digest-key keyid md5 key
Congure text authentication
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ip ospf authentication-key sample
View text authentication
OS10(conf-if-eth1/1/1)# show configuration
!
interface ethernet1/1/1
ip address 10.10.10.2/24
no switchport
no shutdown
ip ospf 100 area 0.0.0.0
ip ospf authentication-key sample
Congure MD5 authentication
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ip ospf message-digest-key 2 md5 sample12345
View MD5 authentication
OS10(conf-if-eth1/1/1)# show configuration
!
interface ethernet1/1/1
ip address 10.10.10.2/24
no switchport
no shutdown
ip ospf 100 area 0.0.0.0
ip ospf message-digest-key 2 md5 sample12345
Troubleshoot OSPFv2
You can troubleshoot the OSPFv2 operations, and check questions for any typical issues that interrupt a process.
• Is OSPF enabled globally?
• Is OSPF enabled on the interface?
• Are adjacencies established correctly?
• Are the interfaces congured for L3 correctly?
• Is the router in the correct area type?
• Are the OSPF routes included in the OSPF database?
• Are the OSPF routes included in the routing table in addition to the OSPF database?
Troubleshooting OSPF with show commands
• View a summary of all OSPF process IDs enabled in EXEC mode.
show running-configuration ospf
• View summary information of IP routes in EXEC mode.
show ip route summary
Layer 3
299