Enables OSPF routing for the specified routing process and places the router in router configuration mode.
or
Enables OSPFv3 routing for the specified routing process and places the router in router ospfv3 configuration mode.
The process-name argument is any alphanumeric string no longer than 40 characters.
Note
Step 4 router-id { router-id }
Example:
RP/0//CPU0:router(config-ospf)# router-id 192.168.4.3
Configures a router ID for the OSPF process.
We recommend using a stable IPv4 address as the router ID.
Note
Step 5 area area-id
Example:
RP/0//CPU0:router(config-ospf)# area 1
Enters area configuration mode and configures a nonbackbone area for the OSPF process.
• The area-id argument can be entered in dotted-decimal or IPv4 address notation, such as area 1000 or
area 0.0.3.232. However, you must choose one form or the other for an area. We recommend using the IPv4 address
notation.
Step 6 virtual-link router-id
Example:
RRP/0//CPU0:router(config-ospf-ar)# virtual-link 10.3.4.5
Defines an OSPF virtual link.
• See .
Step 7 authentication message-digest
Example:
RP/0//CPU0:router(config-ospf-ar-vl)#authentication message-digest
Selects MD5 authentication for this virtual link.
Step 8 message-digest-key key-id md5 { key | clear key | encrypted key }
Example:
RP/0//CPU0:router(config-ospf-ar-vl)#message-digest-key 4 md5 yourkey
Defines an OSPF virtual link.
• See 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.
Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.3.x
66
Implementing OSPF
Create Virtual Link