BGP :: Route-maps

From: Shiju Joseph (shijuj@xxxxxxxxx)
Date: Sat Jan 05 2002 - 09:56:43 GMT-3


   
Hi,

I understand route-maps looks for the next
statement if it doesn't match the first one.

So, while using as-path lists, and metric, I
saw many exampls, where they add a second statment
so that other routes will not get denied.

But what about the following config ?

=======================================
router bgp 100
 neighbor 152.1.11.2 remote-as 300
 neighbor 152.1.11.2 send-community
 neighbor 152.1.11.2 route-map Com out
!
access-list 98 permit 152.1.9.0 0.0.0.255
!
route-map Com permit 10
 match ip address 98
 set community no-export
!
========================================

Here, the peer router is adding community to
9.0 net and also accepts other routes.

Why the other routes are not getting denied,
because they doesn't match the route-map statement ?

Is that I am miising some basic concept ! ?
The question is, is it always required to add a statement
to permit non-interesting traffic ?

Thanks
Shiju



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