RE: route-map

From: Colin Barber (Colin.Barber@xxxxxxxxxxxxxx)
Date: Wed Aug 07 2002 - 05:13:44 GMT-3


   
They are the same for BGP updates.

But if you applied the route map to OSPF for example only the second one
would accept routes because it matches all. The first one would reject
because there would be no as-path to check.

Colin

-----Original Message-----
From: Peng Zheng [mailto:zpnist@yahoo.com]
Sent: 06 August 2002 23:34
To: ccielab@groupstudy.com
Subject: route-map

Hi,

Is there any difference between these two
configurations:

1)

ip as-path access-list 1 permit _4$
ip as-path access-list 2 permit .*
route-map test permit 10
match as-path 1
set metric 5
route-map test permit 20
match as-path 2

and
2)

ip as-path access-list 1 permit _4$

route-map test permit 10
match as-path 1
set metric 5
route-map test permit 20

I can't find any difference between them? Why some
book use 1)

Thank you for help.

Best Wishes,
Peng Zheng



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:18 GMT-3