Re: matching on interface or access-list

From: Nambi Appachigounder (nambi_gct@yahoo.co.in)
Date: Wed Nov 22 2006 - 23:16:03 ART


Hi,

There is a trick here :-)Look at the help.
Router(config-route-map)#match ip address ?
  <1-199> IP access-list number
  <1300-2699> IP access-list number (expanded range)
  WORD IP access-list name
  prefix-list Match entries of prefix-lists
  <cr>

Router(config-route-map)#
The interface names you have given are interpreted as
named ACLs.So if you think it works on interface name
it is not..

-Nambi.

--- Cisco Key <ciscokey@googlemail.com> wrote:

> Hi All
>
> Please can you shed some light on this for me
>
> If I configure the following:
>
> ip access-list standard Connected_OSPF
> permit 172.16.168.0
> permit 172.16.169.0
> permit 172.16.170.0
>
> route-map Connected_OSPF permit 10
> match ip address Connected_OSPF
>
> or
>
> route-map connected_loopbacks permit 10
> match ip address Loopback168 Loopback169
> Loopback170
>
> Whats the difference? I say non!
>
> I prefer to do less lines in my configuration but is
> there a diffrence?
>
> But is there a problem me doing less?
>
> Thanks in advance
> Paul
>
>



This archive was generated by hypermail 2.1.4 : Fri Dec 01 2006 - 08:05:48 ART