Applying Policies To Inbound Routes - HP 7102dl - ProCurve Secure Router Configuration Manual

Procurve secure router 7000dl series - advanced management and configuration guide
Hide thumbs Also See for 7102dl - ProCurve Secure Router:
Table of Contents

Advertisement

IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring BGP
15-104
Next, create the route map entry (route-map <mapname> <sequence
number>) and match the entry to the appropriate list:
Syntax: match [as-path <listname> | community <listname>]
You can also configure the router to only accept routes with a particular
metric. Enter this command from the route map configuration mode context:
Syntax: match metric <value>
You can select a metric between 1 and 4294967295.
To complete the configuration, you must apply the route map to the neighbor
as inbound policy.
For example, you may not want to rely on an external neighbor to filter out
the routes that it is not supposed to advertise. You could configure the
following policy to do so:
ProCurve(config)# ip community-list External
ProCurve(config-comm-list)# deny no-advertise no-export local-as
ProCurve(config-comm-list)# route-map ExternalIn 10
ProCurve(config-route-map)# match community External
ProCurve(config-route-map)# router bgp 1
ProCurve(config-bgp)# neighbor 10.1.1.1
ProCurve(config-bgp-neighbor)# route-map ExternalIn in

Applying Policies to Inbound Routes

In addition to controlling whether your router accepts routes from a neighbor,
you can configure the router to apply policies to routes that it accepts.
First, select a set of routes and then set attributes for those routes.
Selecting and Grouping Routes. Use the match commands described for
filtering inbound routes to select a set of routes.
For example, you can configure a route map entry to group together all routes
that travel through a certain AS path:
ProCurve(config)# ip as-path-list External1
ProCurve(config-as-path-list)# permit 1 2 3 4
ProCurve(config-as-path-list)# route-map ExternalIn 20
ProCurve(config-route-map)# match as-path External1
You can then configure a policy for the group of routes by setting various
attributes. (See "Setting Attributes for Selected Routes" on page 15-105.)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve secure router 7203dl j8753a j8753a

Table of Contents