From: Greg Schwimer (schwim@xxxxxxxxxxxxxxx)
Date: Sat Apr 01 2000 - 17:48:16 GMT-3
Oops... least I didn't do that on my lab. Thanks for catching that.
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Chad Marsh
Sent: Saturday, April 01, 2000 11:43 AM
To: Zhu qingliu
Cc: CCIELAB@groupstudy.com
Subject: Re: How to construct a route-map deny certain route only.
Stanley and Greg, both good examples except that you both need to use
inverse-masks on your access-lists.
Zhu:
access-list 101 permit 10.12.0.0 0.0.0.15
route-map block1012 deny 10
match ip address 101
route-map block1012 permit 20
Chad Marsh
CCIE# 5185
(P.S. : I prefer the format Greg used just because it is easier to look
at and troubleshoot)
Stanley Seow wrote:
access-list 10 deny 10.10.10.0 255.255.255.0
access-list 10 permit any
route-map DENY-10 permit 10
match ip address 10
So the route map will match a deny statement first...then permit all
others..
Stanley
****************************************************************************
******************************
Greg Schwimer wrote:
This is done like shown below. My syntax may be off a little, but its
really the concept that you need to understand.
access-list 10 permit 10.12.0.0 255.255.255.240
route-map NOROUTE deny 10
match ip address 10
route-map NOROUTE permit 20
****************************************************************************
******************************
> Zhu qingliu wrote:
>
> Hi,
>
> On default, Cisco router discard route doesn't match any instance.
> How to discard an certain route, for example 10.12.0.0/28, and permit
> all other routes.
> Thanks.
>
> Best regards,
> Zhu qingliu
> -------------------------
> Tel: 86-755-3630000-1102
> Fax: 86-755-3263777
> E-mail: zql@liming.com.cn
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:23:12 GMT-3