•
•
esr(config)# interface gigabitethernet 1/0/1
esr(config-if-gi)# ip firewall disable
esr(config-if-gi)# ip address 10.0.0.2/24
Configure eBGP with BFD:
esr(config)# router bgp 200
esr(config-bgp)# address-family ipv4
esr(config-bgp-af)# neighbor 10.0.0.1
esr(config-bgp-neighbor)# remote-as 100
esr(config-bgp-neighbor)# update-source 10.0.0.2
esr(config-bgp-neighbor)# bfd-enable
esr(config-bgp-neighbor)# enable
esr(config-bgp-neighbor)# ex
esr(config-bgp-af)# enable
esr(config-bgp-af)# exit
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
neighbouring device. Processing may include filtering based on various route criteria and setting attributes
(MED, AS-PATH, community, LocalPreference, etc.) for the respective routes.
Also, Route-map may assign routes based on access control lists (ACL).
S
t
e
p
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.