From: Chad Marsh (chad@xxxxxx)
Date: Sat Apr 01 2000 - 16:37:26 GMT-3
Whoops, I blew the inverse mask on this first example (/20 instead of
/28)
Chad Marsh wrote:
>
> 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.15.255
>
> 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