248 RackSwitch G8000: Application Guide
Figure 23. Distributing Network Filters in Access Lists and Route Maps
Incoming and Outgoing Route Maps
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.
Precedence
You can set a priority to a route map by specifying a precedence value with the
following command (Route Map mode):
The smaller the value the higher the precedence. If two route maps have the same
precedence value, the smaller number has higher precedence.
Access Lists
(alist)
Network Filter
(nwf)
Route Maps
(rmap)
1
Route Map 1
8
1
8
1
Route Map 2
8
9
16
1
Route Map 32
8
249
256
-----
-----
-----
-----
-----
-----
-----
---
---
---
---
---
---
---
---
---
RS G8000(config)# route-map <map number>(Select a route map)
RS G8000(config-route-map)#
precedence <1-255>(Specify a precedence)
RS G8000(config-route-map)# exit