Troubleshooting guide

Additional BGP Configuration
30 Copyright © 2012 ADTRAN, Inc. 61200860L1-29.4E
(config-route-map)#set local-preference <value>
<value> Sets the local preference value. Valid range is 0 to 4294967295.
Deleting a Community List
Use the set comm-list delete command to specify a list of communities to delete from the route:
(config-route-map)#set comm-list <name> delete
<name> Specifies the name of the community list that contains the list of community strings to delete.
Applying a Route Map Entry to a BGP Neighbor
After a route map entry has been configured, it must be applied to a BGP neighbor. Use the route-map
command in BGP Neighbor Configuration mode to assign the route map to a specific neighbor:
(config-bgp-neighbor)#route-map <name> [in | out]
<name> Assigns the specified route map to this BGP neighbor.
in Specifies the filtering/modification of all inbound BGP route updates (for filtering external routes and
setting inbound policies).
out Specifies the filtering/modification of all outbound BGP route updates (for advertising routes to the
external neighbor and setting outbound policies).
The default local preference for all BGP routes in AOS is 100. The default value can be
changed using the bgp default local-preference <value> command. The valid range
for the default value is 0 to 4294967295.
The route with the largest local preference value is preferred in BGP.
Refer to Example 6 on page 46 for a detailed BGP configuration example featuring the
use of local preference on inbound routes to influence which path is selected for
outbound traffic to a private remote network.
A community list must be defined using the ip community-list command before the set
comm-list delete command can be used. Refer to Configuring a Community List on
page 13 for detailed information on configuring community lists.
Before a route map can be assigned to a BGP neighbor, it must first be defined using the
route-map command in the Global Configuration mode (refer to Route Map on page 23).