From: navaid@rogers.com
Date: Sun Sep 28 2003 - 08:55:19 GMT-3
Ken,
Are you setting community attribute and next-hop for same route.
If it is for different routes. I think it will work because route-map is applied for each route one by one.
Navaid.
> 
> From: Ken.Farrington@barclayscapital.com
> Date: 2003/09/28 Sun AM 06:54:05 EDT
> To: ccielab@groupstudy.com
> CC: kenfarrington@yahoo.com
> Subject: Route-Map Logic (Example from networkers 2000)
> 
> All,
> 
> I am a little confused about the route-map logic that Cisco use.
> In their example from networkers 2000, they say (note the first line in the
> table) 
> that if in your route-map, you have a hit on a permit and set an attribute,
> the 
> route-map will exit?
> 
> +--------------------------------------------------------------+
> | ROUTE-MAP |  MATCH CLAUSE/  |  ACCEPT ROUTE and  |   EXIT    | 
> |  STANZA   |   PREFIX-LIST   |   SET ATTRIBUTE    | ROUTE-MAP |
> +-----------+-----------------+--------------------+-----------+
> |  Permit   |   Yes/Permit    |        Yes         |    Yes    |
> |           |                 |                    |           |
> |  Permit   |    No/Deny      |        No          |    No     |
> |           |                 |                    |           |
> |   Deny    |   Yes/Permit    |        No          |    Yes    |
> |           |                 |                    |           |
> |   Deny    |    No/Deny      |        No          |    No     |
> +-----------+-----------------+--------------------+-----------+
> 
> 
> 
> So I have a route map doing two things for BGP.
> 1. Setting the next-hop attrib
> 2. Setting the community
> 
> But my route map does not exit after the first hit (permit 10) to set the
> next hop.
> It does continue to go onto 20 and set my community.
> 
> Can someone please clarify this for me.  
> 
> ****Will it always go onto the next route-map statment if there is one? ****
> 
> 
> 
> !
> ip prefix-list BGP-COMM-LIST seq 5 permit 1.1.1.0/24
> ip prefix-list BGP-COMM-LIST seq 10 permit 2.2.2.0/24
> !
> ip prefix-list BGP-SNH-LIST seq 5 permit 3.3.3.3/32
> ip prefix-list BGP-SNH-LIST seq 10 permit 4.4.4.4/32
> !              
> !
> route-map BGP-ATTRIB permit 10
>  match ip address prefix-list BGP-SNH-LIST
>  set ip next-hop 142.220.10.1
> !
> route-map BGP-ATTRIB permit 20
>  match ip address prefix-list BGP-COMM-LIST
>  set community local-AS
> !
> route-map BGP-ATTRIB permit 30  
> !
> 
> 
> 
> ------------------------------------------------------------------------
> For more information about Barclays Capital, please
> visit our web site at http://www.barcap.com.
> 
> 
> Internet communications are not secure and therefore the Barclays 
> Group does not accept legal responsibility for the contents of this 
> message.  Although the Barclays Group operates anti-virus programmes, 
> it does not accept responsibility for any damage whatsoever that is 
> caused by viruses being passed.  Any views or opinions presented are 
> solely those of the author and do not necessarily represent those of the 
> Barclays Group.  Replies to this email may be monitored by the Barclays 
> Group for operational or business reasons.
> 
> ------------------------------------------------------------------------
> 
> ***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> shop.groupstudy.com
> 
> Subscription information may be found at: 
> http://www.groupstudy.com/list/CCIELab.html
> 
1
***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
This archive was generated by hypermail 2.1.4 : Wed Oct 01 2003 - 07:24:39 GMT-3