cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2493
Views
5
Helpful
6
Replies

MPLS VPN route import

Ratheesh mv
Level 1
Level 1

MPLS.PNG

 

PE-1 is advertising routes to PE-5 via MP-BGP. Route-target import has not been configured on PE-5 for VRF TEST although routes are being received and installed in "show ip bgp vpnv4 all" but not not being installed in show ip bgp vpnv4 vrf TEST.

 

Why is PE-5 accepting routes and installed in "show ip bgp vpnv4 all" even though route-target export has not been configured? Is it default behavior , kind of bug or configuration mistake ?

 

PE-5#sh running-config | section vrf ->VRF configuration
ip vrf TEST
rd 5:5
route-target export 100:100
ip vrf forwarding TEST

 

3 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

we may be receiving  GRT, is there any announcement in GRT  From P ? 

 

post the config of the device all.

 

show us an example output of the route you receiving in PE 5

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

when you export and import used, all will be exported and imported.

 

you can view best as per below :

 

show ip bgp vpnv4 vrf XXX

 

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, x best-external

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

Hi Harold Ritter

 

It was configuration mistake . I configured route-reflector client command on PE-5 that is what it was receiving all routes without matching import command .Thanks for response.

View solution in original post

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

we may be receiving  GRT, is there any announcement in GRT  From P ? 

 

post the config of the device all.

 

show us an example output of the route you receiving in PE 5

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Ratheesh mv
Level 1
Level 1

Hi balaji.bandi

 

It was configuration mistake . I configured route-reflector client command on PE-5 that is what it was receiving all routes without matching import command .Thanks for response.

 

I would like to clear one more doubt. As per my understanding if PE-5 receive subnet "x" from different PE routers, PE-5 installs all information in  "show ip bgp vpnv4 all" and import only best path to "show ip bgp vpnv4 vrf TEST". I hope I am correct. If it is wrong please correct it 

when you export and import used, all will be exported and imported.

 

you can view best as per below :

 

show ip bgp vpnv4 vrf XXX

 

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, x best-external

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

TOPOLOGY.PNG

May I know why I am getting different output in each VRF table.? 

As per my understanding import only best path to VRF table. show ip bgp vpnv4 vrf xxx .

 

>When PE-5 importing 10.89.16.0/24, it is being shown only best path in VRF TEST table but same time there are all paths in VRF NEW.

 

>VRF NEW is having same RD value on PE-5 (Import PE for 10.89.16.0/24) and on PE-1 and PE-2 (Export PE for 10.89.16.0/24)(RD=1:1)

 

>VRF TEST is having rd 5:5 on PE-5 (Import PE for 10.89.16.0/24) and on PE-1 and PE-2 are having rd 1:1 (Export PE for 10.89.16.0/24)

 

PE-5#sh ip bgp vpnv4 all
BGP table version is 101, local router ID is 5.5.5.5
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: 1:1 (default for vrf NEW)
*>i 10.89.16.0/24 2.2.2.2 0 100 0 65000 ?
* i                         2.2.2.2 0 100 0 65000 ?
Route Distinguisher: 5:5 (default for vrf TEST)
*>i 10.89.16.0/24 2.2.2.2 0 100 0 65000 ?
PE-5#

 

PE-5#sh ip bgp vpnv4 vrf TEST
BGP table version is 101, local router ID is 5.5.5.5
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: 5:5 (default for vrf TEST)
*>i 10.89.16.0/24 2.2.2.2 0 100 0 65000 ? ---->Showing only best path 
PE-5#

 

 

PE-5#sh ip bgp vpnv4 vrf NEW
BGP table version is 101, local router ID is 5.5.5.5
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: 1:1 (default for vrf NEW)
*>i 10.89.16.0/24 2.2.2.2 0 100 0 65000 ?
* i                      2.2.2.2 0 100 0 65000 ?---->Showing all imported paths 
PE-5#

 

VRF configuration of PE routers

=========================

PE-1 - VRF
==========
ip vrf TEST
rd 1:1
route-target export 200:200

PE-2 - VRF
==========
ip vrf TEST
rd 1:1
route-target export 200:200

PE-5 - VRF
==========
ip vrf NEW
rd 1:1
route-target import 200:200

ip vrf TEST
rd 5:5
route-target import 200:200

Harold Ritter
Cisco Employee
Cisco Employee

Hi @Ratheesh mv ,

 

This is not default behavior. Do you have "no bgp default route-target filter" configured on PE-5 by any chance?

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi Harold Ritter

 

It was configuration mistake . I configured route-reflector client command on PE-5 that is what it was receiving all routes without matching import command .Thanks for response.

Review Cisco Networking products for a $25 gift card