ESR series service routers.ESR-Series. User manual
•
•
•
•
•
•
•
11.7  PBR routing policy configuration
11.7.1  Configuration algorithm of Route-map for BGP
Route-maps may serve as filters processing routing information when it is received from or sent to the 
neighboring device. Processing may include filtering based on various route criteria and setting attributes 
(MED, AS-PATH, community, LocalPreference, etc.) for the respective routes.
Step Description Command Keys
1 Create a route map for IP routes 
filtering and modification.
esr(config)# route-map 
<NAME>
<NAME> – router map name, set by the 
string of up to 31 characters.
2 Create a route map rule. esr(config-route-map)# 
rule <ORDER>
<ORDER> – rule number, takes values of 
[1..10000].
3 Specify the action that should be 
applied for routing information.
esr(config-route-map-
rule)# action <ACT>
<ACT> – allocated action:
permit – routing information 
reception or advertising is permitted;
deny – denied.
4 Set BGPAS-Path attribute value in 
the route for which the rule should 
work (optional).
esr(config-route-map-
rule)# match as-path 
[begin | end | contain] <AS-
PATH>
<AS-PATH> – list of stand alone system 
numbers, defined as AS,AS,AS, takes values 
of [1..4294967295]. Optional parameters:
begin – attribute value begins with 
the specified AS numbers;
end – attribute value ends with the 
specified AS numbers;
contain – attribute value includes the 
specified AS numbers list.
5 Set BGPCommunity attribute 
value for which the rule should 
work (optional).
esr(config-route-map-
rule)# match community 
<COMMUNITY-LIST>
<COMMUNITY-LIST> – community list, 
defined as AS:N,AS:N, takes values of 
[1..4294967295]. Up to 64 communities can 
be specified.
6 BGPExtendedCommunity attribute 
value for which the rule should 
work (optional).
esr(config-route-map-
rule)# match 
extcommunity 
<EXTCOMMUNITY-LIST>
<EXTCOMMUNITY-LIST> – extcommunity 
list, defined as KIND:AS:N, KIND:AS:N, 
where
KIND – extcommunity type:
rt(Route Target);
ro (Route Origin);
N – extcommunity number, takes values of 
[1..65535].
7 Set IP addresses profile including 
destination subnet values in the 
route (optional).
esr(config-route-map-
rule)# match ip address 
object-group <OBJ-
GROUP-NETWORK-NAME>
<OBJ-GROUP-NETWORK-NAME> – name of 
the IP addresses profile that includes 
destination subnets prefixes, set by the 
string of up to 31 characters.