Aggregate bgp route pointing to Null0

From: Wam (ccnp2ccie@yahoo.com)
Date: Sun Oct 17 2004 - 05:02:02 GMT-3


i want to filter this route. i tried using both "distribute-list 1 in null 0" and "distribute prefix-list NULL in under "router bgp" context.
 
i would appreciate any input on this..
 
sh ip route bgp
  is variably subnetted, 6 subnets, 2 masks\
B \111.168.4.0/24\ [20/0] via \150.100.1.254\, 00:17:21\
B \111.168.3.0/24\ [20/0] via \150.100.1.254\, 00:17:21\
B \111.168.2.0/24\ [20/0] via \150.100.1.254\, 00:17:21\
B \111.168.1.0/24\ [20/0] via \150.100.1.254\, 00:17:21\
B \111.168.0.0/19\ [200/0] via \0.0.0.0\, 00:17:21, Null0\
B \111.168.0.0/24\ [20/0] via \150.100.1.254\, 00:17:21\
\
R2#sh ip route \111.168.0.0\ \255.255.224.0\\
Routing entry for \",1]);//-->161.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
B 161.162.4.0/24 [20/0] via 200.200.200.200, 00:17:21
B 161.162.3.0/24 [20/0] via 200.200.200.200, 00:17:21
B 161.162.2.0/24 [20/0] via 200.200.200.200, 00:17:21
B 161.162.1.0/24 [20/0] via 200.200.200.200, 00:17:21
B 161.162.0.0/21 [200/0] via 0.0.0.0, 00:17:21, Null0
B 161.162.0.0/24 [20/0] via 200.200.200.200, 00:17:21

R2#sh ip route 161.162.0.0 255.255.248.0
Routing entry for \
  Known via "bgp 5", distance 200, metric 0\
  Tag 254, type locally generated\
  Routing Descriptor Blocks:\
  * directly connected, via Null0\
      Route metric is 0, traffic share count is 1\
      AS Hops 1\
------------------------------\----------\
\
R2#sh ip bgp\
BGP table version is 8, local router ID is \160.5.2.2\\
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal\
Origin codes: i - IGP, e - EGP, ? - incomplete\
\
   Network Next Hop Metric LocPrf Weight Path\
*> \111.168.0.0/24\ \150.100.1.254\ 0 0 254 i\
*> \111.168.0.0/19\ \0.0.0.0\ 100 32768 254 i\
*> \111.168.1.0/24\ \150.100.1.254\ 0 0 254 i\
*> \111.168.2.0/24\ \",1]);//-->161.162.0.0/21
 Known via "bgp 500", distance 200, metric 0
 Tag 300, type locally generated
 Routing Descriptor Blocks:
 * directly connected, via Null0
     Route metric is 0, traffic share count is 1
     AS Hops 1

-thanx

                
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!



This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:48 GMT-3