Implementing OSPF on Cisco IOS XR Software
Configuration Examples for Implementing OSPF on Cisco IOS XR Software
RC-191
Cisco IOS XR Routing Configuration Guide
ABR Totally Stub Area for OSPFv3: Example
The following example shows that area 1 is configured as a totally stub area:
router ospfv3 1
router-id 10.0.0.217
area 0
interface POS 0/2/0/1
area 1
stub no-summary
interface POS 0/2/0/0
Route Redistribution for OSPFv3: Example
The following example uses prefix lists to limit the routes redistributed from other protocols.
Only routes with 9898:1000 in the upper 32 bits and with prefix lengths from 32 to 64 are redistributed
from BGP 42. Only routes not matching this pattern are redistributed from BGP 1956.
ipv6 prefix-list list1
seq 10 permit 9898:1000::/32 ge 32 le 64
ipv6 prefix-list list2
seq 10 deny 9898:1000::/32 ge 32 le 64
seq 20 permit ::/0 le 128
router ospfv3 1
router-id 10.0.0.217
redistribute bgp 42
redistribute bgp 1956
distribute-list prefix-list list1 out bgp 42
distribute-list prefix-list list2 out bgp 1956
area 1
interface POS 0/2/0/0
Virtual Link Configured Through Area 1 for OSPFv3: Example
This example shows how to set up a virtual link to connect the backbone through area 1 for the OSPFv3
topology that consists of areas 0 and 1 and virtual links 10.0.0.217 and 10.0.0.212:
ABR 1 Configuration
router ospfv3 1
router-id 10.0.0.217
area 0
interface POS 0/2/0/1
area 1
virtual-link 10.0.0.212
interface POS 0/2/0/0
ABR 2 Configuration
router ospfv3 1
router-id 10.0.0.212
area 0
interface POS 0/3/0/1
area 1
virtual-link 10.0.0.217
interface POS 0/2/0/0