Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on CiscoIOS XR Software
RC-227
Cisco IOS XR Routing Configuration Guide
Configuring the Multi-VRF Capability for OSPF Routing
This task explains how to configure multi-VRF capability for OSPF Routing. This task is implemented
for OSPFv2 only.
SUMMARY STEPS
1. configure
2. router ospf process-name
3. vrf vrf-name
4. domain-id [secondary] type {0005 | 0105 | 0205 | 8005} value value
5. domain-tag tag
6. disable-dn-bit-check
7. interface type instance
8. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step1 configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step2 router ospf process-name
Example:
RP/0/RP0/CPU0:router(config)# router ospf 1
Enables OSPF routing for the specified routing process and
places the router in router configuration mode.
Note The process-name argument is any alphanumeric
string no longer than 40 characters.
Step3 vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-ospf)# vrf vrf1
Creates a VPN routing anf forwarding (VRF) instance and
enters VRF configuration mode.
Step4 domain-id [secondary] type {0005 | 0105 | 0205
| 8005} value value
Example:
RP/0/RP0/CPU0:router(config-ospf-vrf)#
domain-id 0105 1AF234
Specifies the OSPF VRF domain ID.
The value argument is a six-octet hex number.
Step5 domain-tag tag
Example:
RP/0/RP0/CPU0:router(config-0spf-vrf)#
domain-tag 234
Specifies the OSPF VRF domain tag.
The valid range for tag is 0 to 4294967295.