Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-233
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Graceful Restart enabled, last GR 11:12:26 ago (took 6 secs)
Area BACKBONE(0)
Number of interfaces in this area is 1
SPF algorithm executed 1 times
Number of LSA 6. Checksum Sum 0x0268a7
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
RP/0/RP0/CPU0:router#
Displaying Graceful Restart Information for an OSPFv3 Instance
The following screen output shows the link state for an OSPFv3 instance:
RP/0/RP0/CPU0:router# show ospfv3 1 database grace
OSPFv3 Router with ID (2.2.2.2) (Process ID 1)
Router Link States (Area 0)
ADV Router Age Seq# Fragment ID Link count Bits
1.1.1.1 1949 0x8000000e 0 1 None
2.2.2.2 2007 0x80000011 0 1 None
Link (Type-8) Link States (Area 0)
ADV Router Age Seq# Link ID Interface
1.1.1.1 180 0x80000006 1 PO0/2/0/0
2.2.2.2 2007 0x80000006 1 PO0/2/0/0
Intra Area Prefix Link States (Area 0)
ADV Router Age Seq# Link ID Ref-lstype Ref-LSID
1.1.1.1 180 0x80000006 0 0x2001 0
2.2.2.2 2007 0x80000006 0 0x2001 0
Grace (Type-11) Link States (Area 0)
ADV Router Age Seq# Link ID Interface
2.2.2.2 2007 0x80000005 1 PO0/2/0/0
RP/0/RP0/CPU0:router#
Configuring an OSPFv2 Sham Link
This task explains how to configure a provider edge (PE) router to establish an OSPFv2 sham link
connection across a VPN backbone. This task is optional.
Prerequisites
Before configuring a sham link in a Multiprotocol Label Switching (MPLS) VPN between
provider edge (PE) routers, OSPF must be enabled as follows:
Create an OSPF routing process.
Configure a loopback interface that belongs to VRF and assign a IPv4 address with the host mask
to it.
Configure the sham link under the area submode.
See “Enabling OSPF” section on page RC-194 for information on these OSPF configuration
prerequisites.