Define Vrfs On Pe Routers To Enable Customer Connectivity - Cisco NCS 540 Series Configuration Manual

L3vpn; for ios xr release 6.3.x
Hide thumbs Also See for NCS 540 Series:
Table of Contents

Advertisement

Define VRFs on PE Routers to Enable Customer Connectivity

Define VRFs on PE Routers to Enable Customer Connectivity
VPN routing and forwarding (VRF) defines the VPN membership of a customer site attached to a PE router.
A one-to-one relationship does not necessarily exist between customer sites and VPNs. A site can be a member
of multiple VPNs. However, a site can associate with only one VRF. A VRF contains all the routes available
to the site from the VPNs of which it is a member. The distribution of VPN routing information is controlled
through the use of VPN route target communities, implemented by BGP extended communities.
Configuration Example
This example configures a VRF instance (vrf1601) and specifies the import and export route-targets(2001:1601).
The import route policy is the one that can be imported into the local VPN. The export route policy is the one
that can be exported from the local VPN. The import route-target configuration allows exported VPN routes
to be imported into the VPN if one of the route targets of the exported route matches one of the local VPN
import route targets. When the route is advertised to other PE routers, the export route target is sent along
with the route as an extended community.
Router-PE1#configure
Router-PE1(config)#vrf vrf1601
Router-PE1(config-vrf)#address-family ipv4 unicast
Router-PE1(config-vrf-af)#import route-target
Router-PE1(config-vrf-af-import-rt)#2001:1601
Router-PE1(config-vrf-af-import-rt)#exit
Router-PE1(config-vrf-af)#export route-target
Router-PE1(config-vrf-af-export-rt)#2001:1601
Router-PE1(config-vrf-af-export-rt)#commit
This VRF instance is then associated with the respective BGP instance.
Running Configuration
vrf vrf1601
address-family ipv4 unicast
import route-target
2001:1601
!
export route-target
2001:1601
!
!
!
Verification
Verify the import and export route targets.
L3VPN Configuration Guide for Cisco NCS 540 Series Routers, IOS XR Release 6.3.x
16
Configure BGP as the Routing Protocol Between the PE and CE Routers, on page 18
Configure RIPv2 as the Routing Protocol Between the PE and CE Routers, on page 22
Configure Static Routes Between the PE and CE Routers, on page 23
Configure OSPF as the Routing Protocol Between the PE and CE Routers, on page 24
MPLS L3VPN Overview

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents