Re: How to remove Null0 in the routing table?

From: love cisco (love_cisco@hotmail.com)
Date: Mon Feb 03 2003 - 22:10:22 GMT-3


Thanks. I got it working.

>From: Aidan Marks <amarks@cisco.com>
>To: "love cisco" <love_cisco@hotmail.com>
>CC: ccielab@groupstudy.com
>Subject: Re: How to remove Null0 in the routing table?
>Date: Tue, 04 Feb 2003 10:50:05 +1100
>
>Your mileage may vary on different code versions but I quickly got
>this to work by creating a distribute-list in on the bgp process
>referencing a prefix list for the null0 route. The null route was
>in bgp and not in the RIB after clear ip route *.
>
>Be wary of your actions and the potential routing loop disaster you
>can get into with removing null0 routes. They are there for a very
>good reason.
>
>Aidan
>
>At 10:02 AM 4/02/2003, love cisco wrote:
>
>>How to remove Null0 in the routing table? Because BGP
>>aggregate-address create Null0 route. If the lab ask you remove
>>it.
>>
>>router bgp 100
>>network 192.168.10.0 mask 255.255.255.240
>>network 192.168.10.16 mask 255.255.255.240
>>network 192.168.20.32 mask 255.255.255.240
>>network 192.168.20.48 mask 255.255.255.240
>>aggregate-address 192.168.10.0 255.255.255.0 summary-only
>>aggregate-address 192.168.20.0 255.255.255.0 summary-only
>>neighbor 150.50.17.2 remote-as 200
>>neighbor 150.50.17.2 update-source Loopback0
>>no auto-summary
>>
>>
>>R1#sh ip route
>>Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B
>>- BGP
>> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
>>area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
>>type 2
>> E1 - OSPF external type 1, E2 - OSPF external type 2, E -
>>EGP
>> i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia -
>>IS-IS inter area
>> * - candidate default, U - per-user static route, o - ODR
>> P - periodic downloaded static route
>>
>>Gateway of last resort is not set
>>
>> 200.0.0.0/32 is subnetted, 2 subnets
>>C 200.0.0.1 is directly connected, Loopback0
>>B 200.0.0.4 [20/0] via 150.50.17.2, 13:46:01
>> 192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks
>>B 192.168.10.0/24 [200/0] via 0.0.0.0, 14:33:26, Null0
>>C 192.168.10.0/28 is directly connected, Loopback1
>>C 192.168.10.16/28 is directly connected, Loopback2
>> 192.168.20.0/24 is variably subnetted, 3 subnets, 2 masks
>>C 192.168.20.48/28 is directly connected, Loopback4
>>C 192.168.20.32/28 is directly connected, Loopback3
>>B 192.168.20.0/24 [200/0] via 0.0.0.0, 14:18:13, Null0
>> 10.0.0.0/25 is subnetted, 1 subnets
>>B 10.1.1.0 [20/0] via 150.50.17.2, 13:46:01
>> 150.50.0.0/24 is subnetted, 1 subnets
>>C 150.50.17.0 is directly connected, FastEthernet0/0
>>
>>
>>
>>_________________________________________________________________
>>Cb7QOBTX MSN Explorer: http://explorer.msn.com/lccn/
>>.



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:06 GMT-3