Implementing OSPF on Cisco IOS XR Software
Configuration Examples for Implementing OSPF on Cisco IOS XR Software

RC-239

Cisco IOS XR Routing Configuration Guide
!
!
area 4
interface POS 0/1/0/2
cost 20
!
interface POS 0/2/0/2
!
interface POS 0/3/0/2
!
!
area 6
cost 30
interface POS 0/1/0/3
!
interface POS 0/2/0/3
!
interface POS 0/3/0/3
cost 1
!
!
MPLS TE for OSPF Version 2: Example

The following example shows how to configure the OSPF portion of MPLS TE. However, you still need

to build an MPLS TE topology and create an MPLS TE tunnel. See the Cisco IOS XR MPLS

Configuration Guide for information.

In this example, loopback interface 0 is associated with area 0 and area 0 is declared to be an MPLS area:

interface Loopback 0
ip address 10.10.10.10 255.255.255.0
!
interface POS 0/2/0/0
ip address 10.1.2.2 255.255.255.0
!
router ospf 1
router-id 10.10.10.10
nsf
auto-cost reference-bandwidth 10000
area 0
interface POS 0/2/0/0
interface Loopback 0
mpls traffic-eng area 0
mpls traffic-eng router-id Loopback 0
ABR with Summarization for OSPFv3: Example

The following example shows the prefix range 2300::/16 summarized from area 1 into the backbone:

router ospfv3 1
router-id 192.168.0.217
area 0
interface POS 0/2/0/1
area 1
range 2300::/16
interface POS 0/2/0/0