Specifications
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-291
Cisco IOS XR Routing Configuration Guide
The following example shows that keychain authentication is enabled on the Gigabit Ethernet 0/4/0/1 
interface:
RP/0/RP0/CPU0:router# show ospf 1 interface GigabitEthernet0/4/0/1
GigabitEthernet0/4/0/1 is up, line protocol is up 
 Internet Address 100.10.10.2/24, Area 0 
 Process ID 1, Router ID 2.2.2.1, Network Type BROADCAST, Cost: 1
 Transmit Delay is 1 sec, State DR, Priority 1 
 Designated Router (ID) 2.2.2.1, Interface address 100.10.10.2
 Backup Designated router (ID) 1.1.1.1, Interface address 100.10.10.1
 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
 Hello due in 00:00:02
 Index 3/3, flood queue length 0
 Next 0(0)/0(0)
 Last flood scan length is 2, maximum is 16
 Last flood scan time is 0 msec, maximum is 0 msec
 Neighbor Count is 1, Adjacent neighbor count is 1
 Adjacent with neighbor 1.1.1.1 (Backup Designated Router)
 Suppress hello for 0 neighbor(s)
  Keychain-based authentication enabled
 Key id used is 3
 Multi-area interface Count is 0
The following example shows output for configured keys that are active:
RP/0/RP0/CPU0:router# show key chain ospf_intf_1
Key-chain: ospf_intf_1/ -
Key 1 -- text "0700325C4836100B0314345D"
 cryptographic-algorithm -- MD5
 Send lifetime: 11:30:30, 01 May 2007 - (Duration) 600 
 Accept lifetime: Not configured
Key 2 -- text "10411A0903281B051802157A"
 cryptographic-algorithm -- MD5
 Send lifetime: 11:40:30, 01 May 2007 - (Duration) 600 
 Accept lifetime: Not configured
Key 3 -- text "06091C314A71001711112D5A"
 cryptographic-algorithm -- MD5
 Send lifetime: 11:50:30, 01 May 2007 - (Duration) 600 [Valid now]
 Accept lifetime: Not configured
Key 4 -- text "151D181C0215222A3C350A73"
 cryptographic-algorithm -- MD5
 Send lifetime: 12:00:30, 01 May 2007 - (Duration) 600 
 Accept lifetime: Not configured
Key 5 -- text "151D181C0215222A3C350A73"
 cryptographic-algorithm -- MD5
 Send lifetime: 12:10:30, 01 May 2007 - (Duration) 600 
 Accept lifetime: Not configured
RP/0/RP0/CPU0:router#










