Alcatel-Lucent 6850 Switch User Manual


 
Configuring BGP Routing Policies
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide December 2007 page 4-49
For example, to add AS path policy aspathfilter and community list policy commfilter to route map
policy mapfilter, enter the following:
-> ip bgp policy route-map mapfilter 1 aspath-list aspathfilter
-> ip bgp policy route-map mapfilter 1 community-list commfilter
Note. Conditions added to a route map policy must have already been created using their respective policy
commands. If you attempt to add non-existent policies to a route map policy, an error message is returned.
Each component of a route map policy must be added using a separate CLI command as shown above.
Configures a BGP weight value to be
assigned to inbound routes when a match
is found.
ip bgp policy route-map weight
Configures the value to strip from the
community attribute of the routes
matched by this route map instance
(sequence number).
ip bgp policy route-map community-strip
Route Map Options Command