From: Ouellette, Tim (tim.ouellette@xxxxxxx)
Date: Sat Mar 23 2002 - 23:21:10 GMT-3
I think you can only apply 1 route-map per neighbor statement. I could be
wrong. I know if you add a neighbor into a peer-group and specify a
filter-list or something that it'll take precedence. You can do 1 route-map
incoming and 1 route-map outgoing though.
What you might want to do is use 1 route-map, but match each ip address and
set your parameters and use the next instance of the route-map to modify the
attributes of the next ip address range.
I guess it's kinda like having multiple access-lists applied to the same
interface. Like you can't have access-list 1 and access-list 2 applied
incoming on the same interface. How would the router know which one to do
first and which has precedence...
Keep in mind that you can have multiple set statements against only 1 match
statement. Heck, you can have something like this
route-map set-all
set community no-export
set metric 100
All with no match statement, which basically means match all.
Does that help?
Tim
-----Original Message-----
From: Carl Phelan [mailto:carlphelan@hotmail.com]
Sent: Saturday, March 23, 2002 8:37 PM
To: 'Ouellette, Tim'
Cc: ccielab@groupstudy.com
Subject: RE: BGP - Transit Area and now Route-Maps
Thanks Tim for the reply. I have a weird problem with BGP. I cannot
seem to create 2 neighbor statements with route-maps as when I enter the
second neighbor statement; the first disappears from the config.
Here is my set up:
R1
Route-map set-comm perm 10
Set community no-export
Route-map metric-set perm 10
Match ip ad x
Set metric 200
..
Route-map metric-set perm 20
Set metric 300
..
Router bgp 99
....
Neighbor 10.1.1.1 route-map set-comm out
Neighbor 10.1.1.1 route-map metric-set out
But when I look at the config only the last neighbor statement remains,
if I add the missing neighbor statement again; the existing neighbor
statement disappears! The same problem happens on another router but
has the additional neighbor statement:
Neighbor 11.1.1.1 route-map set-weight in
..
Route-map set-weight perm 10
Set weight 1000
Which stays.
I have even tried adding a line 5 in set-metric to add 'set community
no-export' to join both route-maps into one but the external AS ignores
the metric statements. I am running IOS 12.0(10)
What gives? All advice would be extremely appreciated!
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Ouellette, Tim
Sent: 24 March 2002 00:39
To: 'Carl Phelan'
Cc: 'ccielab@groupstudy.com'
Subject: RE: BGP - Transit Area
Try setting a community of no-export on routes incoming from both of
your
ebgp peers. Obviously if your concerned about being non-transit then you
have multiple connections to the "outside world" with multiple
providers.
If anyone else has other ways please respond!
Tim
-----Original Message-----
From: Carl Phelan [mailto:carlphelan@hotmail.com]
Sent: Saturday, March 23, 2002 12:00 PM
To: ccielab@groupstudy.com
Subject: BGP - Transit Area
Hi All,
I am practising doing normal tasks in different ways - as expected for
the lab. In BGP, what is the simplest way to make an area a non-transit
area without using an AS path filter?
Many thanks for any advice.
Carl
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:20 GMT-3