×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Route Map on Distribute-list statement for EIGRP

Unanswered Question
Feb 16th, 2012
User Badges:

Guys,


need some help on applying a distribute-list statement which contains a route-map for EIGRP on the edge router.


i need to apply a route map that directs a particular traffic from a server to a specific next hop (alternate link to remote location)


can i use this command sequence.


ip access-list extended REDIRECT

permit ip host x.x.52.16 x.x.40.128 0.0.0.63 (traffic to specific remote location)


route-map REDIRECT

match ip address REDIRECT

set ip next-hop x.x.14.10 (alternate link to remote location)


router eigrp xxxx

distribute-list route-map REDIRECT out


need help if this config would work, please note that the edge router contains GRE tunnels to other remote locations.


thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
JohnTylerPearce Thu, 02/16/2012 - 07:07
User Badges:
  • Silver, 250 points or more

I would put the route-map under the interface vlan config for the host network.

cadet alain Thu, 02/16/2012 - 07:12
User Badges:
  • Purple, 4500 points or more

Hi,


distribute-list is for filtering prefixes not for modifying routing behavior, in this case you should use your route-map in a PBR statement on the interface where the traffic is coming in for this particular destination subnet or you can manipulate the metric of this prefix with an offset-list to make the link going to other next-hop the prefered link for this prefix.


Can you provide a diagram so we can see  which solutions you could implement.


Regards.


Alain

Vivek Ganapathi Thu, 02/16/2012 - 07:18
User Badges:
  • Silver, 250 points or more

I believe this should work. Never tried though. But was just going through a doc which is not very clear of this support but feels it supports. Have a read of the below statement from Cisco



"When a route map is used with a distribute-list command that is configured for inbound or outbound filtering, route packets that are learned from or advertised to EIGRP peers can be processed with the route map to provide better control of route selection during the route exchange process.


Source : http://www.cisco.com/en/US/docs/ios/12_3t/12_3t8/feature/guide/gteigrpr.html


I would test this in my lab today & see if this works


Thanks

Vivek

Richard Burts Thu, 02/16/2012 - 08:57
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

It is not entirely clear what the original poster is trying to achieve. But I believe that the description of what they want sounds more like directing traffic and not so much like filtering routing updates. In which case I agree with Alain that distribute list is for filtering routing updates and if you need to direct traffic then you should use a route map in a Policy Based Routing command on the interface.


HTH


Rick

ayokunles Mon, 02/20/2012 - 02:23
User Badges:

Hi Donald,


please see attached diagram.



The remote users currently use L1 to download all traffic from HQ


I want the remote users to use L2 to download from the AV Server.


likewise, i want the AV server to use L2 to get to the remote users.


L1 and L2 are GRE tunnels to the remote location. this scenario applies to every other remote location.


thanks all

dslice Thu, 02/16/2012 - 16:58
User Badges:
  • Bronze, 100 points or more

Sorry, but this won't work. Route-maps can be used to filter routes and perform certain other actions like changing the metric (adding only) and setting or testing tags, but they cannot be used to explicitly set a next-hop. This is the realm of Policy-Based Routing rather than an IGP.


Sent from Cisco Technical Support iPad App

Richard Burts Sun, 02/19/2012 - 17:45
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Donald


This is an excellent clarifiation. +5 and my thanks.


HTH


Rick

ayokunles Mon, 02/20/2012 - 06:48
User Badges:

hi Richard,


still waiting for your expert opinion on this

Richard Burts Mon, 02/20/2012 - 15:13
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

The original question was about using a distribute list to cause traffic to go in  certain ways. Several of us have responded that this can not be done with distribute list.


If the question now is different then we can give different answers. If the question is how to have users at the remote site to use L2 to get to the AV server and how to have the traffic from AV server to use L2 to get to the remote site then I would suggest this as a solution:

- on remote site it is easy. configure a more specific route to the address of the AV server which points to L2 next hop address.

- on edge it is a bit more complex. I would suggest to configure Policy Based routing so that traffic with source address of AV server and destination of remote should set next hop to be the L2 next hop address.


This should work. Give it a try and let us know the results.


HTH


Rick

Vivek Ganapathi Mon, 02/20/2012 - 06:56
User Badges:
  • Silver, 250 points or more

Thanks Donald for clarifying & the poster as well. Was a real good learning. +5 to donald from me as well

Actions

This Discussion