You can also configure a route map to apply various attributes to the routes it
filters. For example, when advertising a route, the router can request that the
neighbor restrict advertisement of that route to certain peers. You would
configure the router to make this request by creating an outbound route map
to add community attributes to the route.
A route map applied to outbound data determines how the router advertises
routes to a neighbor. You can configure this route map to perform such
tasks as:
defining the routes that the router can advertise according to:
•
network address or prefix length
•
AS through which traffic must pass
•
community attributes
•
metric
requesting that the neighbor advertise the route to certain communities
only
prepending private AS numbers to specific routes to help balance inbound
traffic
setting a multi-exit discriminator on specific routes to help balance
inbound traffic
When you apply a route map to inbound data, it determines which of the ISP-
advertised routes the local router accepts. You can configure the inbound
route map to perform such tasks as:
filtering external routes according to:
•
network address or prefix length
•
the AS through which packets must pass
•
community
•
metric
applying attributes to filtered routes, including:
•
local preference
•
community
deleting communities defined for the routes
As you learn how to configure these policies in the following sections, you
will be instructed to create a route map entry and to apply a route map to
inbound or outbound data. Depending on the types of policies that you
implement, you may need to configure community or AS path lists.
The next several sections describe how to configure these map entries
and lists.
IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring BGP
15-89