Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing OSPF on Cisco IOS XR Software
Configuration Examples for Implementing OSPF on Cisco IOS XR Software
RC-260
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Virtual Link Configured with MD5 Authentication for OSPF Version 2: Example
The following examples show how to configure a virtual link to your backbone and apply MD5
authentication. You must perform the steps described on both ABRs at each end of the virtual link.
After you explicitly configure the ABRs, the configuration is inherited by all interfaces bound to that
area—unless you override the values and configure them explicitly for the interface.
To understand virtual links, see the “Virtual Link and Transit Area for OSPF” section on page RC-183.
In this example, all interfaces on router ABR1 use MD5 authentication:
router ospf ABR1
router-id 10.10.10.10
authentication message-digest
message-digest-key 100 md5 0 cisco
area 0
interface pos 0/2/0/1
interface pos 0/3/0/0
area 1
interface pos 0/3/0/1
virtual-link 10.10.5.5
!
!
In this example, only area 1 interfaces on router ABR3 use MD5 authentication:
router ospf ABR2
router-id 10.10.5.5
area 0
area 1
authentication message-digest
message-digest-key 100 md5 0 cisco
interface pos 0/9/0/1
virtual-link 10.10.10.10
area 3
interface Loopback 0
interface pos 0/9/0/0
!
VPN Backbone and Sham Link Configured for OSPF Version 2: Example
The following examples show how to configure a provider edge (PE) router to establish a VPN backbone
and sham link connection:
logging console debugging
vrf vrf_1
address-family ipv4 unicast
import route-target
100:1
!
export route-target
100:1
!
!
!
interface Loopback0
ipv4 address 2.2.2.1 255.255.255.255
!
interface Loopback1
vrf vrf_1
ipv4 address 10.0.1.3 255.255.255.255