08-03-2006 05:15 PM
Is there any ios supports access-list with vrf tag or any other solution for this.
my problem is
i want to compare source address with vrf tag and assign next hop by using route map.
your valuable reply will be help full for me.
08-03-2006 11:27 PM
Hi,
I would assume another approach will get you where you want. You can use
1) a route-map towards the RR/other PE routers matching on RT and network setting the BGP next hop
2) a route-map under the VRF config:
ip vrf VRFname
rd 65000:1
export map SetBGPstuff4VRFname
route-target ...
route-map SetBGPstuff4VRFname
match ip address 100
set next-hop a.b.c.d
3) IF you want ALL prefixes from a VRF with a different BGP next hop:
ip vrf VRFname
rd 65000:1
bgp next-hop a.b.c.d
route-target ...
Please also be aware, that the next hop IP MUST be on the PE where the VRF resides! Otherwise the label switching part will be broken, because the VPN label is assigned by the PE and understood only by the PE.
Hope this helps! Please rate all posts.
Regards, Martin
08-06-2006 11:49 PM
thanks martin
as for my network i dont have vrf in my PE router.so all my traffic is tag with vrf once it hits my core.after that i want to set next-hop address( inside of the vrf interface).
08-07-2006 04:47 AM
While I'm not entirely clear about what you are asking, I think VRF selection by Policy Base Routing is close to it. Check the following links
http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a00806996d5.html
http://www.cisco.com/en/US/products/sw/iosswrel/ps5012/products_feature_guide09186a0080699424.html
08-20-2006 08:29 PM
Hi,
Adding to the above posts, you can also consider the following:
1) Creating a VRF - VRF_ABC
2) On incoming/ingress interface configure - "ip policy route-map VRF_Select" &
"ip recieve VRF_ABC" &
3) "access-list 10 permit 10.1.1.0 0.0.0.255"
4) "route-map VRF_Select permit"
"match ip address 10"
"set verf VRF_ABC"
Also would like other's to comment whether this would actually be okay...
Thanks
Cheers,
~sultan
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: