From: Bill Lijewski (bill@eccie.com)
Date: Fri Jan 16 2004 - 14:15:34 GMT-3
You can adjust the local preference of an aggregate-address with the
attribute-map. In the example below I'm changing the aggregate-address
so it will have a local preference of 9999.
interface Loopback10
ip address 210.1.1.1 255.255.255.0
!
interface Loopback11
ip address 211.1.1.1 255.255.255.0
!
router bgp 100
no synchronization
bgp log-neighbor-changes
network 210.1.1.0
network 211.1.1.0
network 212.1.1.0
aggregate-address 208.0.0.0 248.0.0.0 summary-only attribute-map TEST
no auto-summary
!
route-map TEST permit 10
set local-preference 9999
If we take a look at the BGP table we'll see that the local preference
for the 208.0.0.0/5 aggregate has been changed to 9999.
r13odd#show ip bgp
BGP table version is 8, local router ID is 211.1.1.1
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
*> 208.0.0.0/5 0.0.0.0 9999 32768 i
s> 210.1.1.0 0.0.0.0 0 32768 i
s> 211.1.1.0 0.0.0.0 0 32768 i
s> 212.1.1.0 0.0.0.0 0 32768 i
- Bill Lijewski
CCIE#8642
Network Learning Inc
5 Day R&S CCIE Bootcamp Instructor
bill@eccie.com
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
wang stone
Sent: Friday, January 16, 2004 1:41 AM
To: ccielab@groupstudy.com; bdennis@internetworkexpert.com
Subject: Local preference issue [bcc][faked-from]
Importance: Low
Hi group
When I aggregate BGP route lear from EBGP peer with AS-SET , the
route
will form a default Local preference 100 int bgp table. Why it did so,
and
can I change this valus?
Regards!
This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:46 GMT-3