!
!
!
CE1:
router static
vrf vrf1601
address-family ipv4 unicast
23.8.1.2/32 TenGigE0/0/0/0.1601 192.8.3.94
!
!
!
Related Topics
• Connect MPLS VPN Customers, on page 15
Associated Commands
• router static
Configure OSPF as the Routing Protocol Between the PE and CE Routers
You can use RIP, OSPF or ISIS as the routing protocol between the PE and CE routers.
Figure 9: OSPF as the Routing Protocol between PE and CE Routers
Configuration Example
This example lists the steps to configure PE-CE routing sessions that use OSPF routing protocol. A VRF
instance vrf1601 is configured in the router ospf configuration mode. The router-id for the OSPF process is
13.13.13.1. The redistribute option specifies routes to be redistributed into OSPF. The OSPF area is configured
to be 1 and interface TenGigE0/0/0/0.1601 is associated with that area to enable routing on it.
PE1:
Router-PE1#configure
Router-PE1(config)#router ospf pe-ce-ospf-vrf
Router-PE1(config-ospf)#router-id 13.13.13.1
Router-PE1(config-ospf)#vrf vrf1601
Router-PE1(config-ospf-vrf)#redistribute connected
Router-PE1(config-ospf-vrf)#redistribute bgp 2001
Router-PE1(config-ospf-vrf)#area 1
Router-PE1(config-ospf-vrf-ar)#interface TenGigE0/0/0/0.1601
Router-PE1(config-ospf-vrf-ar)# commit
Repeat this configuration at PE2 node as well.
CE1:
L3VPN Configuration Guide for Cisco NCS 540 Series Routers, IOS XR Release 6.3.x
24
MPLS L3VPN Overview
Configure OSPF as the Routing Protocol Between the PE and CE Routers