3.7.d Implement optimize and troubleshoot routing policies

3.7.d [i] Attribute manipulation

Local-Preference

bgp path manipulation local-pref

down arrow smaller

download this

bgp_path_manipulation local_pref

if you have followed the instructions from the diagram up to the local-preference configuration, your output should look like this:

bgp table before local pref

prefer the the path from r1 to r4’s loopback using local-preference:

R3(config-router)#route-map LOCAL-PREF permit 10
R3(config-route-map)#set local-preference 200
R3(config-route-map)#router bgp 100
R3(config-router)#neigh 192.168.34.4 route-map LOCAL-PREF in

bgp local pref lab trace