RE: OSPF Filtering

From: Earl Aboytes (earl@xxxxxxxxxxxx)
Date: Sun Sep 10 2000 - 12:28:12 GMT-3


   
My understanding is that all routers in a single area must have the same
database. It makes sense that you cannot filter within an area but you
should be able to filter at the ABR to prevent a route from existing in an
area.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Earl Aboytes CCIE #6097
Senior Technical Consultant
GTE Managed Solutions
805-381-8817
earl.aboytes@verizon.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Kenneth Kriel
Sent: Sunday, September 10, 2000 5:59 AM
To: 'Ccielab; Alejandro Cadarso
Subject: RE: OSPF Filtering

Hi all,

Thank you for your replies, I am sorry I could not attend to it earlier
cause I was out of the country.

As many have said, distribute lists do not work if it is in the same OSPF
AS. This I found out the hard way, by trying distribute lists incoming and
outgoing on both routers. The route still appears in my OSPF area 0.

I would like to assume the following, however, I need confirmation:

Distrubute lists do not work within OSPF, due to the link state issue !

If you believe differently, and you can prove it please send me your config.
Mine is as follows : (on R2 as per the diagram at the botom !

Thank you for your assistance !!!

Ken

!
interface Loopback0
 ip address 132.1.1.1 255.255.255.255

interface Serial0
 ip address 135.1.2.1 255.255.255.224
 encapsulation frame-relay
 ip ospf network point-to-multipoint
 no ip mroute-cache
 bandwidth 64
 no fair-queue
 clockrate 64000
 frame-relay map ip 132.1.2.3 104 broadcast
 frame-relay map ip 132.1.2.4 104 broadcast

router ospf 1
 network 135.1.1.1 0.0.0.0 area 1
 network 135.1.2.1 0.0.0.0 area 0
 distribute-list 17 in Serial0

access-list 17 deny 192.2.2.0 0.0.0.255
access-list 17 permit any

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Alejandro Cadarso
Sent: Friday, September 08, 2000 6:30 PM
To: mark salmon; ccielab
Subject: Re: OSPF Filtering

For me the distibute-list in works Ok

2503-mad#sh ip ospf dat

       OSPF Router with ID (190.19.15.225) (Process ID 200)

                Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
190.19.15.193 190.19.15.193 804 0x80000006 0x960E 3
190.19.15.225 190.19.15.225 838 0x800000F5 0x9BE6 2
210.10.10.9 210.10.10.9 7 (DNA) 0x800000EB 0x1FAA 1

                Summary Net Link States (Area 0)

Link ID ADV Router Age Seq# Checksum
190.1.0.0 210.10.10.9 246 (DNA) 0x80000094 0x95D
190.19.15.224 190.19.15.225 766 0x80000095 0xB27
192.19.18.0 210.10.10.9 246 (DNA) 0x80000093 0x47FA
210.10.10.8 190.19.15.193 804 0x80000002 0xACF6
210.10.10.8 210.10.10.9 11 (DNA) 0x8000009D 0x803A

2503-mad#sh ip ro 190.1.0.0
% Network not in table

Perhaps some misconfigured command or IOS bug.

mark salmon wrote:
>
> II have used the dstributed in with OSPF in the past. At first, the
> route was gone from the routing table. After about 1 minute, the route
> was back.
>
> Geatti wrote:
> >
> > Remember, OSPF sends LSAs not ROUTES so a distribute-list out on an
> > interface is useless.
> > You can use a distribute-list in and this should work for blocking the
route
> > from the local router.
> > If this doesn't work for you post your config.
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> > Kenneth Kriel
> > Sent: Friday, September 08, 2000 9:42 AM
> > To: 'Ccielab
> > Subject: OSPF Filtering
> >
> > Gentleman,
> >
> > How do I filter a route from coming into OSFP ? I know it might be a
stupid
> > question but I can not get it to work !
> >
> > Layout
> >
> > OSPF Area 1 Area 0
> > 192.2.2.0/24----|
> > |--R1-----R2
> > 135.1.x.0/24----|
> >
> > I do not want to see 192.2.2.0/24 on router R2 !
> >
> > I tried distribute-list out on R1 and in on R2 but no luck !
> >
> > Thank you in advance !
> >
> > Ken
> >



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:54 GMT-3