Basic MPLS VPN Configuration
▀ CE Related Configuration on PE Routers
▄ Cisco ASR 903 Router Design and Deployment Guide
exit-address-family
ASR903-PE2 Configuration
ip vrf CustomerA
rd 100:41
route-target export 100:41
route-target import 100:41
!
ip vrf CustomerB
rd 100:42
route-target export 100:42
route-target import 100:42
router bgp 100
bgp log-neighbor-changes
neighbor 10.10.3.3 remote-as 100 ! peering with ASR903-PE1
neighbor 10.10.3.3 update-source Loopback10
!
address-family vpnv4 ! transport VPN routes
neighbor 10.10.3.3 activate
neighbor 10.10.3.3 send-community extended
exit-address-family
CE Related Configuration on PE Routers
ASR903-PE1 Configuration
interface GigabitEthernet0/1/0
description To CustomerA Site 1
ip vrf forwarding CustomerA ! put the interface under vrf CustomerA
ip address 192.168.13.3 255.255.255.248
ip ospf dead-interval 3
ip ospf hello-interval 1
negotiation auto
interface GigabitEthernet0/1/7
description To CustomerB Site 1
ip vrf forwarding CustomerB ! put the interface under vrf CustomerA
ip address 192.168.14.1 255.255.255.248
ip router isis CustB
negotiation auto
!
router ospf 41 vrf CustomerA ! use OSPF between PE and CE
router-id 192.168.13.3
redistribute bgp 100 subnets ! redistribute VPNv4 routes from other
PEs
network 192.168.13.3 0.0.0.0 area 41
!