In this demo, we configure OSPF single area between an XR node and IOS node. It is assumed that you are familiar with the  IOS config syntax, therefore only XR part will be shown.

XR OSPF P2P topology

Configuration

RP/0/0/CPU0:XRV_R1(config)#router ospf NL_LAB
RP/0/0/CPU0:XRV_R1(config-ospf)#area 0
RP/0/0/CPU0:XRV_R1(config-ospf-ar)#interface gigabitEthernet 0/0/0/0
RP/0/0/CPU0:XRV_R1(config-ospf-ar-if)#network point-to-point

Validation

The commands are similar to IOS ones, apart from the fact that instead of typing “show ip ospf“, you would type “show ospf” as per below example.

Cisco-IOS-XR-OSPF-single-area

See this video for more hands on demo and explanations: