Route Map Logic

From: Gregg Malcolm (greggm@xxxxxxxxxxxxx)
Date: Thu Mar 07 2002 - 16:27:59 GMT-3


   
I'm pretty sure this has probably been discussed before, but I've never seen
an explanation. I'm stumped by the following :

The first example uses 2 seq # 's to control routing updates outside a confed

#1
route-map local_only permit 10
 match ip address 1
!
route-map local_only permit 20
 set community no-export

The second example has all the criteria in one seq # (except for the permit 20
with nothing which I also don't understand) to add AS-PATH's to updates

#2
route-map prepend permit 10
 match ip address 1
 set as-path prepend 300 400 500
!
route-map prepend permit 20

I've tried both of these with all statements in 1 sequence number and with 2
sequence numbers with 1 statement each. Both will only work as done in these
two examples. Does anyone have a explanation ? Why can't both be done with a
single sequence number ? If there any easy way to remember when to use 1 seq
and when to use 2 seq's ?

TIA, Gregg



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:56 GMT-3