RE: BGP summary

From: Santiago Enciso <senciso_at_infocenter.com.py>
Date: Mon, 18 May 2009 17:18:43 -0400

Thanks, already tryed with distance and works but just to be sure there is
al alternative way
Thanks

Santiago E

________________________________________
De: Bryan Bartik [mailto:bbartik_at_ipexpert.com]
Enviado el: Lunes, 18 de Mayo de 2009 17:08
Para: Santiago Enciso
CC: Cisco certification
Asunto: Re: BGP summary

Santiago,

You can use the distance command under BGP:

R2(config)#router bgp 200
R2(config-router)#aggregate-address 200.0.0.0 255.255.252.0 sum

This creates the following on R2:

C 200.0.0.0/24 is directly connected, Loopback200
C 200.0.1.0/24 is directly connected, Loopback201
C 200.0.2.0/24 is directly connected, Loopback202
C 200.0.3.0/24 is directly connected, Loopback203
B 200.0.0.0/22 [200/0] via 0.0.0.0, 00:00:03, Null0

R2(config)#router bgp 200
R2(config-router)#distance bgp 20 200 ?
  <1-255> Distance for local routes

R2(config-router)#distance bgp 20 200 255

R2#cle ip rou *

The null route is now removed:

R2#sho ip rou | inc Null
R2#

-hth

Bryan Bartik
CCIE #23707 (R&S), CCNP
Sr. Support Engineer - IPexpert, Inc.
URL: http://www.IPexpert.com

On Mon, May 18, 2009 at 2:16 PM, Santiago Enciso <senciso_at_infocenter.com.py>
wrote:
Is there a way to prevent the router from generating the null0 as a result
of aggregate-address command in BGP like in ospf discard-route command?

Thanks

San

Blogs and organic groups at http://www.ccie.net
Received on Mon May 18 2009 - 17:18:43 ART

This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:04:43 ART