RE: Only 1 protocol per interface

From: Brian McGahan (brian@cyscoexpert.com)
Date: Tue Nov 26 2002 - 02:23:48 GMT-3


        Yes, changing the distance of a prefix to 255 will also work.
The second address in the distance syntax is a wildcard mask though.

To "ignore all RIP routes from sources who's IP is 10.1.x.x"

Router rip
 Distance 255 10.1.0.0 0.0.255.255
!

For all prefixes learned from the particular neighbor 1.2.3.4:

Router rip
 Distance 255 1.2.3.4 0.0.0.0
!

For all prefixes learned from any neighbor

Router rip
 Distance 255 0.0.0.0 255.255.255.255
!

For a particular prefix, 10.20.30.0 learned from any neighbor

Access-list 1 permit host 10.20.30.0
!
router rip
 distance 255 0.0.0.0 255.255.255.255 1
!

HTH

Brian McGahan, CCIE #8593
Director of Design and Implementation
brian@cyscoexpert.com

CyscoExpert Corporation
Internetwork Consulting & Training
Voice: 847.674.3392
Fax: 847.674.2625

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Dan.Thorson@seagate.com
> Sent: Monday, November 25, 2002 10:25 PM
> To: Brian McGahan
> Cc: ccielab@groupstudy.com; nobody@groupstudy.com; 'syv'
> Subject: RE: Only 1 protocol per interface
>
> re: not listening to some RIP routes.... you can also use the distance
> command, i.e.
> router rip
> distance 255 10.1.0.0 255.255.0.0
> would ignore all RIP routes from sources who's IP is 10.1.x.x
>
> I think this is much easier and cleaner than using an inbound ACL.
>
> ===================================================
> Dan Thorson - Seagate Technology, LLC (CCIE #10754)
> desk +1 (952) 402-8293 fax +1 (952) 402-1007
> SeaTel 8-402-8293
> ===================================================



This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:23:10 GMT-3