View - ADTRAN Support Community
View - ADTRAN Support Community
View - ADTRAN Support Community
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Additional BGP Configuration<br />
(config-as-path-list)#permit \b400\b<br />
It is important to enter any deny commands before the permit commands since the<br />
router processes statements in the AS path list in the order that they are entered.<br />
After configuring the AS path list, use the match command to reference the list in a route map entry.<br />
(config-route-map)#match as-path <br />
Specifies the name of the AS path list.<br />
Use set commands to configure any attributes (prepend AS_PATH,<br />
MULTI_EXIT_DISC, LOCAL_PREF, etc.) to be applied to the routes prior to applying<br />
the route map to the BGP neighbor. Refer to Prepending Private AS Numbers for Load<br />
Balancing on page 28 for detailed explanations of the set command attributes.<br />
The route map is then applied to a BGP neighbor (refer to Applying a Route Map Entry to a BGP<br />
Neighbor on page 30 for more information).<br />
Filtering Routes According to <strong>Community</strong><br />
If a network places routes in communities, the routes that the local router advertises can be filtered<br />
according to these communities. The first step to filtering routes according to community is to create a<br />
community list (refer to Configuring a <strong>Community</strong> List on page 13) that either permits or denies BGP<br />
routes based on well-known or privately defined BGP communities. Next, unless previously<br />
configured, a route map must be created (refer to Route Map on page 23). Use the match command to<br />
reference the community list in the route map entry:<br />
(config-route-map)#match community exact-match<br />
Specifies the name of the community list.<br />
exact-match Optional. Specifies that the route map must match the community name exactly. When<br />
the exact-match keyword is used, the entire community string must be defined as advertised for it to<br />
qualify as an exact match. Without this keyword, matches will result if the defined string appears<br />
anywhere in the community field.<br />
This command does not define a community for routes. It selects routes according to<br />
their predefined community or communities. Other BGP neighbors, either internal or<br />
external, should have placed the route in a community.<br />
Use set commands to configure any policies (prepend AS_PATH,<br />
MULTI_EXIT_DISC, LOCAL_PREF, etc.) to be applied to the community. Refer to<br />
Prepending Private AS Numbers for Load Balancing on page 28 for detailed<br />
explanations of the set command attributes.<br />
Lastly, the route map should be applied to a BGP neighbor as an outbound policy (refer to Applying a<br />
Route Map Entry to a BGP Neighbor on page 30).<br />
61200860L1-29.4E Copyright © 2012 <strong>ADTRAN</strong>, Inc. 27