VRF - Route Map

Unanswered Question
May 22nd, 2008
User Badges:

Hello,


We have a 7206 and have several channelized DS3 cards we use for T1's. We currently have some of the T1's in a vrf working great. My question is if we can add a routemap to the same interfaces that have the ip vrf forwarding command on it? I've searched cisco.com but I'm not having any luck finding any documentation.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
guruprasadr Thu, 05/22/2008 - 11:00
User Badges:
  • Gold, 750 points or more

HI, [Pls RATE if HELPS]


To associate a VRF with an interface or subinterface,


"ip vrf forwarding " can be matched only to the direct Interface (Serial / Gigi / Fast Eth / Tunnel / Other Types).


Usage Guidelines

Use this command to associate an interface with a VRF. Executing this command on an interface removes the IP address. The IP address should be reconfigured.


Hope I am Informative.


Pls RATE if HELPS


Best Regards,


Guru Prasad R



mheusing Fri, 05/23/2008 - 06:56
User Badges:
  • Cisco Employee,

Hi,


What exactly do you try to achieve with the route-map? Do you mean Policy Based Routing (PBR)? This should work, even VRF selection using PBR is possible.


Regards, Martin


djimmy1979 Fri, 05/23/2008 - 06:59
User Badges:

Hello Martin,


Yes I am trying to route traffic based on an ACL. I trying to have it route the intersting traffic out of the VRF and into the global routing table. I guess tonight I will try and apply the route map on the serial int that has the ip vrf forwarding command on it and see what happens.


Thanks

mheusing Sat, 05/24/2008 - 01:13
User Badges:
  • Cisco Employee,

Hi,


Please read the document "Multi-VRF Selection Using Policy Based Routing (PBR)"

http://www.cisco.com/en/US/docs/ios/mpls/configuration/guide/mp_mltvrf_slct_pbr.html

It contains, what you need:


set global

- Routes packets through the global routing table. This command is useful when you want to route ingress packets belonging to a specific VRF through the global routing table.


set ip global next-hop

- Indicates where to output packets that pass a match criterion of a route map for policy routing and for which the Cisco IOS software uses the global routing table.


set ip default global next-hop

- Provides VRF to global routing


One of the three should do the trick. There are also configuration examples available for your case.


Hope this helps! Please use the rating system.


Regards, Martin




djimmy1979 Sat, 05/24/2008 - 08:41
User Badges:

Thanks for all the help guys. Martin I think thats exactly what I needed!

o.ilesanmi Mon, 06/16/2008 - 01:36
User Badges:

Hello guys,

Regarding the above,please i need to know if it is possible to redirect MPLS traffic based on extended access list. We need to created a PBR that redirects certain internet traffic on the MPLS to a different next hop / gateway which will be different from the default route on the MPLS.

Thanks


Actions

This Discussion