Configuration Examples For Implementing Mpls Layer 3 Vpns; Configuring An Mpls Vpn Using Bgp: Example - Cisco CRS Configuration Manual

Ios xr virtual private network
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

Configuration Examples for Implementing MPLS Layer 3 VPNs

Configuration Examples for Implementing MPLS Layer 3 VPNs
The following section provides sample configurations for MPLS L3VPN features:

Configuring an MPLS VPN Using BGP: Example

The following example shows the configuration for an MPLS VPN using BGP on "vrf vpn1":
address-family ipv4 unicast
!
!
route-policy pass-all
pass
end-policy
!
interface Loopback0
ipv4 address 10.0.0.1 255.255.255.255
!
interface TenGigE 0/1/0/0
vrf vpn1
ipv4 address 10.0.0.2 255.0.0.0
!
interface TenGigE 0/1/0/1
ipv4 address 10.0.0.1 255.0.0.0
!
router ospf 100
area 100
!
!
router bgp 100
address-family vpnv4 unicast
retain route-target route-policy policy1
neighbor 10.0.0.3
!
vrf vpn1
!
!
mpls ldp
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
268
import route-target
100:1
!
export route-target
100:1
!
interface loopback0
interface TenGigE 0/1/0/1
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
rd 100:1
address-family ipv4 unicast
redistribute connected
!
neighbor 10.0.0.1
remote-as 200
address-family ipv4 unicast
as-override
route-policy pass-all in
route-policy pass-all out
!
advertisement-interval 5
!
Implementing MPLS Layer 3 VPNs

Advertisement

Table of Contents
loading

Table of Contents