Troubleshooting guide

Additional BGP Configuration
34 Copyright © 2012 ADTRAN, Inc. 61200860L1-29.4E
set local preference 110
!
router bgp <AS number>
redistribute <source protocol> route-map REDISTRIBUTE
!
The following example configuration demonstrates the basic commands used to prefer the prefix learned
through BGP over a static route or a route learned through another routing protocol (local prefix):
!
route-map PREFER permit 10
match ip address prefix-list <name>
set local-preference 110
!
router bgp <AS number>
neighbor <ipv4 address>
route-map PREFER in
!
The redistribute command supports connected, OSPF, RIP, and static routes. These are all
considered locally originated routes to BGP.
Example 8 on page 52 further demonstrates the use of the above example configurations to
establish preferences for certain routes.