2 route-maps in same direction per bgp nei?

Unanswered Question
Aug 23rd, 2007


Is it legal to have 2 route-maps in the same direction for the same BGP neighbor?



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Richard Burts Thu, 08/23/2007 - 11:19


I do not believe that you are able to have two different route maps for a single BGP neighbor in the same direction. Would you be able to configure a single route map that includes the logic of the two route maps?

Perhaps if you explain more about what you are attempting to accomplish we might be able to identify alternatives.



CSCO10892433 Fri, 08/24/2007 - 02:34

Hi, lisa

AS Rick has pointed out, only one route-map per neighbor per direction is allowed. But Cisco IOS has provide a new feature called "BGP Route-map Continue" which make it possible to comibine several match-set pairs and more than one matches can happen in just one route-map.

Have a look:




mohammedmahmoud Fri, 08/24/2007 - 03:26

Hi Lisa,

As SSLIN pointed out you can use the continue keyword, but in my experience using it is a rare case, as you can always work every thing out with multiple route-map statements, so as Rick has said, if you explain more about what you are attempting to accomplish we might be able to give you some recommendation.


Mohammed Mahmoud.

CSCO10892433 Fri, 08/24/2007 - 03:59

Hi, Mohammed

You are right. When I study this BGP new feature, I just wonder, in what situation, I must use this feature or I won't do the job. Maybe it's just a feature to make configuration more convinient?

Best Regards


mohammedmahmoud Fri, 08/24/2007 - 04:36


Yes you are totally right, i think this command was introduced to give you the flexibility in the logic you use a route-map, and as you also said i don't think that there will be a case that you won't able to solve unless using this command.


Mohammed Mahmoud.


This Discussion