Specifications
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-260
Cisco IOS XR Routing Configuration Guide
Step 8
message-digest-key 
key-id
 md5 {
key
 | clear 
key 
| encrypted 
key
}
Example:
RP/0/RP0/CPU0:router(config-ospf-ar-vl)#
message-digest-key 4 md5 yourkey
Defines an OSPF virtual link.
• See the “Virtual Link and Transit Area for OSPF” 
section on page 233 to understand a virtual link.
• The key-id argument is a number in the range from 1 to 
255. The key argument is an alphanumeric string of up 
to 16 characters. The routers at both ends of the virtual 
link must have the same key identifier and key to be 
able to route OSPF traffic. 
• The authentication-key key command is not supported 
for OSPFv3.
• Once the key is encrypted it must remain encrypted.
Step 9
Repeat all of the steps in this task on the ABR that is 
at the other end of the virtual link. Specify the same 
key ID and key that you specified for the virtual link 
on this router.
—
Step 10
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-ospf-ar-vl)# end
or
RP/0/RP0/CPU0:router(config-ospf-ar-vl)# commit
Saves configuration changes.
• When you issue the end command, the system prompts 
you to commit changes:
Uncommitted changes found, commit them before 
exiting(yes/no/cancel)?
[cancel]:
–
Entering yes saves configuration changes to the 
running configuration file, exits the configuration 
session, and returns the router to EXEC mode.
–
Entering no exits the configuration session and 
returns the router to EXEC mode without 
committing the configuration changes.
–
Entering cancel leaves the router in the current 
configuration session without exiting or 
committing the configuration changes.
• Use the commit command to save the configuration 
changes to the running configuration file and remain 
within the configuration session.
Step 11
show ospf [
process-name
] [
area-id
] 
virtual-links
or
show ospfv3 [
process-name
] virtual-links
Example:
RP/0/RP0/CPU0:router# show ospf 1 2 
virtual-links
or
RP/0/RP0/CPU0:router# show ospfv3 1 
virtual-links
(Optional) Displays the parameters and the current state of 
OSPF virtual links.
Command or Action Purpose










