Next Hop Peer IP Address
Incoming and Outgoing Route Maps
© Copyright Lenovo 2016
Figure 45. Distributing Network Filters in Access Lists and Route Maps
Route Maps
(rmap)
Access Lists
Route Map 1
Route Map 2
-----
-----
-----
-----
-----
-----
-----
Route Map 255
Next hop peer IP address can be configured only for route maps used in BGP.
When a route map is applied on ingress, the next hop of learnt routes is replaced
with peer IP address. When applied on egress, the next hop of the redistributed
routes is replaced with the local IP address.
RS G8264(config)# routemap <map number>
RS G8264(configroutermap)# set ip nexthop <peer IP address>
You can have two types of route maps: incoming and outgoing. A BGP peer router
can be configured to support up to eight route maps in the incoming route map list
and outgoing route map list.
If a route map is not configured in the incoming route map list, the router imports
all BGP updates. If a route map is configured in the incoming route map list, the
router ignores all unmatched incoming updates. If you set the action to deny, you
must add another route map to permit all unmatched updates.
Route maps in an outgoing route map list behave similar to route maps in an
incoming route map list. If a route map is not configured in the outgoing route
map list, all routes are advertised or permitted. If a route map in the outgoing route
map list is set to permit, matched routes are advertised and unmatched routes are
ignored.
Network Filter
(nwf)
(alist)
1
1
---
---
---
32
8
1
9
---
---
---
32
16
1
249
---
---
---
32
256
Chapter 34: Border Gateway Protocol
541