IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring BGP
15-90
Creating a Route Map Entry
To create a route map entry, enter this command from the global configuration
mode context:
Syntax: route-map <mapname> <sequence number>
You can apply one route map to each neighbor for outbound data and one for
inbound data. You can configure multiple policies in the single route map by
creating entries with the same name but a different sequence number.
For example, you can create an outbound route map that sets one route's
multi-exit discriminator metric and places another route in a community. You
simply create two route map entries with the same name:
ProCurve(config)# route-map ISP1out 10
ProCurve(config-route-map)# exit
ProCurve(config)# route-map ISP1out 20
You will learn how to define policies in route map entries in following sections.
Configuring a Community List
You can use a community list to:
select the communities to which the router will apply a specific policy—
See "Filtering Advertised Routes According to Community" on page 15-94
and "Applying Policies to Inbound Routes" on page 15-104.
define the communities that the BGP interface will delete from routes—
"Deleting Communities from a Route" on page 15-105.
To create a community list, move to the global configuration mode context
and enter:
Syntax: ip community-list <listname>
You will then move to the community list configuration mode context. For
example:
ProCurve(config)# ip community-list customers
ProCurve(config-comm-list)#
From this mode context, you can select one or more well-defined communi-
ties. You can also enter a value for a privately defined community. To add a
community to the list, enter this command:
Syntax: permit [internet | local-as | no-advertise | no-export | <1-42949672957>]