System information

BSR 64000 Configuration and Management Guide
7-4
8. To match one or more tag values of the destination protocol and set the rules for
routes, use the match tag command in Route Map Configuration mode, as shown
in the example below:
MOT(config-rmap)#match tag <num:0,4294967295>
[...<num:0,4294967295>
where:
num is a valid value from 0 to 4294967295.
Using Set Statements to Define Routing Conditions
Set statements define the conditions that apply to the route. If a route meets the
conditions of an instance, some or all set statements are applied, depending on the
usage of the route-map. The order of match statements within an instance is not
relevant since either all or none are applied.
If an instance has no set statements and all the match statements match, nothing is set
for the route. The route is simply redistributed, advertised, or learned as is (depending
on where the route map is applied).
Follow these steps to change attributes of a route.
1. To modify an AS path, use the set as-path prepend command in Route Map
Configuration mode, as shown in the example below:
MOT(config-rmap)#set as-path prepend <as-number>
[...<as-list-number>]
set interface pos, set level, set weight
2. To set the BGP community attribute use the set community command in Route
Map Configuration mode, as shown in the example below:
MOT(config-rmap)#set community <community-number>
[...<community-number>]
3. To set the next-hop attribute of a route, use the set ip next-hop command in
Route Map Configuration mode, as shown in the example below:
MOT(config-rmap)#set ip next-hop <addr>