ESR series service routers.ESR-Series. User manual
•
•
Step Description Command Keys
2 Create a route map rule. esr(c onfig-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 ACL for which the rule should 
work (optional).
esr(config-route-map-rule)# 
match ip access-group <NAME>
<NAME> – access control list 
name, set by the string of up to 31 
characters.
5 Set Next-Hop for the packets that 
meet the requirements of the 
specified ACL (optional).
esr(config-route-map-rule)# 
action set ip next-hop verify-
availability 
<NEXTHOP><METRIC>
<NEXTHOP> – gateway IP 
address, defined as 
AAA.BBB.CCC.DDD where each 
part takes values of [0..255];
<METRIC> – route metric, takes 
values of [0..255].
6 Specify ACL-based routing policy. esr(config-if-gi)# ip policy route-
map <NAME>
<NAME> – configured routing 
policy name, set by the string of up 
to 31 characters.
7 Allow filtration and modification of 
local traffic based on the routing 
policy.
esr(config)# ip local policy [ vrf 
<VRF> ] route-map <NAME>
<NAME> – configured routing 
policy name, set by the string of up 
to 31 characters.
11.7.5  Route-map based on access control lists (Policy-based routing) configuration example
Objective:
Distribute traffic between Internet service providers based on user subnets.
First, assign IP address to interfaces.
Route traffic from addresses 10.0.20.0/24 through ISP1 (184.45.0.150), and traffic from addresses 
10.0.30.0/24 – through ISP2 (80.16.0.23). Monitor availability of ISP addresses (ISP connection operational