GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
RE: Why does BGP Local-Pref show up when using AS-SET option with the aggregate-address command, does anyone know? posted 08/26/2007
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


How would I set Local-Pref to null (not zero), do you know?  I am
looking at the adverise-map options, but do not see how one would remove
the Local-Pref value.

________________________________

From: NITIN NITIN [mailto:ccie_study_123@xxxxxxxxx]
Sent: Sunday, August 26, 2007 2:07 PM
To: Riapolov, Bradley; ccielab@xxxxxxxxxxxxxx
Subject: Re: Why does BGP Local-Pref show up when using AS-SET option
with the aggregate-address command, does anyone know?


Beaiuse using As-set you inherit properties of your subnetworks of
AGGREGATE

if you dont want any option from subnetworks to be inherited use
advertise map along

Regards

"Riapolov, Bradley" <BRiapolo@xxxxxx> wrote:

	Without AS-SET (notice that Local-Pref is missing from sh ip
bgp):
	############################################
	Rack1R1(config-router)#do sh run | b rou
	router bgp 1
	no synchronization
	bgp log-neighbor-changes
	network 3.3.3.0 mask 255.255.255.0
	network 3.3.4.0 mask 255.255.255.0
	neighbor 1.1.1.2 remote-as 2
	no auto-summary

	Rack1R2(config-router)#do sh run | b rou
	router bgp 2
	no synchronization
	bgp log-neighbor-changes
	aggregate-address 3.0.0.0 255.0.0.0
	neighbor 1.1.1.1 remote-as 1
	no auto-summary

	Rack1R2(config-router)#do sh ip bgp
	BGP table version is 4, local router ID is 1.1.1.2
	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
	*> 3.0.0.0 0.0.0.0 32768 i
	*> 3.3.3.0/24 1.1.1.1 0 0 1 i
	*> 3.3.4.0/24 1.1.1.1 0 0 1 i

	Now with AS-SET (Local-Pref automagically appears):
	##############################################
	Rack1R2(config-router)# aggregate-address 3.0.0.0 255.0.0.0
as-set
	Rack1R2(config-router)#do sh ip bgp
	BGP table version is 5, local router ID is 1.1.1.2
	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
	*> 3.0.0.0 0.0.0.0 100 32768 1 i
	*> 3.3.3.0/24 1.1.1.1 0 0 1 i
	*> 3.3.4.0/24 1.1.1.1 0 0 1 I


_______________________________________________________________________
	Subscription information may be found at:
	http://www.groupstudy.com/list/CCIELab.html



________________________________

Luggage? GPS? Comic books?
Check out fitting gifts for grads
<http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni
_on_mail&p=graduation+gifts&cs=bz>  at Yahoo! Search.