Re: Prefix-list

From: Mohamed Tandou (dtandou@gmail.com)
Date: Sat Sep 27 2008 - 19:53:54 ART


When i do that everything is coming thru. See

R4#sh ip bgp
BGP table version is 124, local router ID is 11.11.4.4
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network Next Hop Metric LocPrf Weight Path
*> 150.3.11.0/24 0.0.0.0 0 32768 i
*> 192.168.100.254/32
                    11.11.5.5 0 100 0 (4002) 21 111 i
*> 198.18.1.0 150.3.11.254 0 0 254 i
*> 200.20.1.0 150.3.11.254 0 0 254 i
*> 200.20.2.0 150.3.11.254 0 0 254 i
*> 200.20.3.0 150.3.11.254 0 0 254 i
*> 200.20.4.0 150.3.11.254 0 0 254 i
*> 200.20.5.0 150.3.11.254 0 0 254 i
*> 200.20.6.0 150.3.11.254 0 0 254 i
*> 200.20.7.0 150.3.11.254 0 0 254 i
*> 200.20.8.0 150.3.11.254 0 0 254 i
*> 200.20.9.0 150.3.11.254 0 0 254 i
*> 200.20.10.0 150.3.11.254 0 0 254 i

On Sat, Sep 27, 2008 at 6:41 PM, ZZ <zurabz@gmail.com> wrote:

> You are not allowing everything else. At the end there is explicit deny
> any.
>
> try this
>
> ip prefix-list ABC seq 5 deny 200.20.4.0/22
> <http://200.20.4.0/22R4#sh> <http://200.20.4.0/22R4#sh>
> ip prefix-list ABC seq 10 permit 0.0.0.0/0 le 32
> <http://200.20.4.0/22R4#sh> <http://200.20.4.0/22R4#sh>
>
>
> On Sat, Sep 27, 2008 at 6:36 PM, Mohamed Tandou <dtandou@gmail.com>wrote:
>
>> GS,
>> i want to use prefix-list to filter the following network 200.20.5.0 and
>> 200.20.6.0 from my neighbor
>> this is how it looks before i applied filtering
>>
>> R4#sh ip bgp
>> BGP table version is 80, local router ID is 11.11.4.4
>> Status codes: s suppressed, d damped, h history, * valid, > best, i -
>> internal,
>> r RIB-failure, S Stale
>> Origin codes: i - IGP, e - EGP, ? - incomplete
>> Network Next Hop Metric LocPrf Weight Path
>> *> 150.3.11.0/24 0.0.0.0 0 32768 i
>> *> 192.168.100.254/32
>> 11.11.5.5 0 100 0 (4002) 21 111
>> i
>> *> 198.18.1.0 150.3.11.254 0 0 254 i
>> *> 200.20.1.0 150.3.11.254 0 0 254 i
>> *> 200.20.2.0 150.3.11.254 0 0 254 i
>> *> 200.20.3.0 150.3.11.254 0 0 254 i
>> *> 200.20.4.0 150.3.11.254 0 0 254 i
>> *> 200.20.5.0 150.3.11.254 0 0 254 i
>> *> 200.20.6.0 150.3.11.254 0 0 254 i
>> *> 200.20.7.0 150.3.11.254 0 0 254 i
>> *> 200.20.8.0 150.3.11.254 0 0 254 i
>> *> 200.20.9.0 150.3.11.254 0 0 254 i
>> *> 200.20.10.0 150.3.11.254 0 0 254 i
>>
>> When i configured filtering everything is being denied.
>>
>> router bgp 4001
>> no synchronization
>> bgp router-id 11.11.4.4
>> bgp log-neighbor-changes
>> neighbor 150.3.11.254 remote-as 254
>> neighbor 150.3.11.254 prefix-list ABC in
>> no auto-summary
>>
>> ip prefix-list ABC seq 5 deny 200.20.4.0/22
>> R4#sh ip bgp
>> BGP table version is 91, local router ID is 11.11.4.4
>> Status codes: s suppressed, d damped, h history, * valid, > best, i -
>> internal,
>> r RIB-failure, S Stale
>> Origin codes: i - IGP, e - EGP, ? - incomplete
>> Network Next Hop Metric LocPrf Weight Path
>> *> 150.3.11.0/24 0.0.0.0 0 32768 i
>> *> 192.168.100.254/32
>> 11.11.5.5 0 100 0 (4002) 21 111
>> i
>>
>> Thanks
>>
>> Moh
>>
>>
>> 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



This archive was generated by hypermail 2.1.4 : Sat Oct 04 2008 - 09:26:20 ART