Re: Route-Map clarification

From: marc abel <marcabel_at_gmail.com>
Date: Wed, 29 Feb 2012 09:22:30 -0600

route-map CONDITIONAL
  match ip address prefix R1
  match ip address prefix R2

This won't match anything because the default is match all. A prefix can't
match both. You probably want:

route-map match-any CONDITIONAL
  match ip address prefix R1
  match ip address prefix R2

-Marc

On Tue, Feb 28, 2012 at 7:23 AM, Vincent Tay <vtay.75_at_gmail.com> wrote:

> Hi all,
>
> Can any explain the below differences?
>
> *CASE 1*
>
> ip prefix-list R1 permit 164.1.13.0/24
> ip prefix-list R2 permit 164.1.23.0/24
>
> route-map CONDITIONAL
> match ip address prefix R1 * -> Is this suppose to be match
> prefix R1 AND R2?*
> match ip address prefix R2
>
> router ospf 1
> default-information originate route-map CONDITIONAL
>
> *CASE 2*
>
> ip prefix-list R1_OR_R2 permit 164.1.13.0/24
> ip prefix-list R1_OR_R2 permit 164.1.23.0/24
>
> route-map CONDITIONAL
> match ip address prefix R1_OR_R2
>
>
> router ospf 1
> default-information originate route-map CONDITIONAL
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Wed Feb 29 2012 - 09:22:30 ART

This archive was generated by hypermail 2.2.0 : Thu Mar 01 2012 - 11:46:56 ART