Monday, December 8, 2008

Internetwork Expert WB VOL 1 - BGP Lab 8

8)BGP Bestpath Selection – Local Preference

Objective: Configure the BGP Local Preference attribute in AS 2 so that traffic from R3’s Ethernet segment going to VLAN 5 is first sent to R1.

Ok, this was simple as well. Below is the config,

route-map NEW_LOCAL_PREF permit 10
match ip address 1
set local-preference 50

access-list 1 permit 155.1.5.0 0.0.0.255

router bgp 2
neighbor 155.1.0.5 route-map NEW_LOCAL_PREF in


I could have also, applied slightly different logic. Instead, increase the local-pref value for updates being received from R1. That also would have served the purpose.

No comments: