Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

reduce route via export map on VRF

Hi Guys.

I have one problem.

The scenario is from ISP get full view in VRF OUT on WAN1 , then export route from VRF OUT to VRF CUSTOME1 on AGR1 (WAN1 and AGR1 is cisco 6509). I want export only default gateway from VRF OUT:

ip vrf OUT

rd 333:1

export map TO_EXPORT_DG

route-target export 333:1

route-target import 300:0

ip prefix-list prefix_default_route seq 5 permit

route-map TO_EXPORT_DG permit 5
match ip address prefix-list to_default_gateway
but vrf CUSTOMER1 get full view.
Where  is mistake I don't understand.
if i do "sho ip bgp vpnv4 vrf OUT route-map TO_EXPORT_DG"
I get this:
BGP table version is 328678, local router ID is
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 333:1 (default for vrf OUT)
*          xx.xx.24.1                 0              65000    i
*>                                0              32768    i
Thanks for all.

Hall of Fame Super Silver

Re: reduce route via export map on VRF

Hello Timur,

>> *>                                0               32768    i

This means a second exists locally generated on the node (next-hop= and weight 32768) and it is the best path for the highest weight.

what is the configuration in BGP in address-family ipv4 vrf OUT?

Hope to help


New Member

Re: reduce route via export map on VRF


I got it.

I show result of command "sho ip bgp vpnv4 vrf OUT route-map TO_EXPORT_DG"  for show that route-map is working then i want to show routes.

address-family ipv4 vrf OUT

  redistribute connected

  redistribute static

  neighbor x.x.24.1 remote-as 65000

  neighbor x.x.24.1 local-as 65200 no-prepend replace-as

  neighbor x.x.24.1 ebgp-multihop 10

  neighbor x.x.24.1 activate

  neighbor x.x.24.1 distribute-list acl_deny_all out

  neighbor x.x.24.1 route-map set-rt in

  default-information originate

  no synchronization



Hall of Fame Super Silver

Re: reduce route via export map on VRF

Hello Timur,

>>  network

yes, you are also generating a local default route in this VRF as it is seen in the first post

Hope to help


CreatePlease login to create content