Basic MPLS VPN Configuration
▀ Configuration of CE Routers
▄ Cisco ASR 903 Router Design and Deployment Guide
! OSPF is used for customerA
router ospf 42
network 10.5.10.0 0.0.0.255 area 42
network 10.5.11.0 0.0.0.255 area 42
network 192.168.41.0 0.0.0.255 area 42
! eBGP is used for customerB
router bgp 64101
bgp log-neighbor-changes
neighbor 192.168.40.1 remote-as 100
!
address-family ipv4
network 172.16.10.0 mask 255.255.255.0 ! advertise those routes through
ebgp
network 172.16.11.0 mask 255.255.255.0
neighbor 192.168.40.1 activate
Verification of PE and CE Routers
Verifying BGP Session establishment between two PE Routers
ASR903-PE2# show ip bgp summary
BGP router identifier 10.10.100.100, local AS number 100
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.10.3.3 4 100 2041 2038 1 0 0 1d06h 0
Verifying VPN Routes Learnt from Local CE and Remote PE Routers
ASR903-PE2#show ip bgp vpnv4 vrf CustomerA
BGP table version is 25, local router ID is 10.10.100.100
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:41 (default for vrf CustomerA)
*>i 172.16.0.0/24 10.10.3.3 2 100 0 ? ! routes from PE1
*>i 172.16.1.0/24 10.10.3.3 2 100 0 ? ! routes from PE1
*> 172.16.10.0/24 192.168.40.2 0 0 64101 I ! routes from local
*> 172.16.11.0/24 192.168.40.2 0 0 64101 I ! CE
*>i 192.168.13.0/29 10.10.3.3 0 100 0 ?