RE: route-map logic

From: Chua, Parry (Parry.Chua@xxxxxxxxxx)
Date: Tue Feb 19 2002 - 04:46:09 GMT-3


   
Hi,

>From TCP/IP Vol II by Jeff, there is a way to get AND logic work on
community list :

Use the keyword "exact-match" in route-map match community list, for
example, to have
match condition with community-list 1,2 and 3, use the following :

r5(config-route-map)#match community 1 2 3 exact-match
r5(config-route-map)#end

r5#sho route-map abc
route-map abc, permit, sequence 10
  Match clauses:
    community (community-list filter): 1 2 3 exact-match
  Set clauses:
  Policy routing matches: 0 packets, 0 bytes

Parry Chua



This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 13:46:27 GMT-3