Placing A Route In A Community: Requesting A Neighbor To Advertise A Route To Certain Peers Only - HP ProCurve Secure Router 7203 dl Advanced Management And Configuration Manual

Secure router
Hide thumbs Also See for ProCurve Secure Router 7203 dl:
Table of Contents

Advertisement

IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring BGP
13-94
ProCurve(config-as-path-list)# permit 1
ProCurve(config-as-path-list)# permit 2
Permitting AS number 1 selects any routes that include that value, even if the
AS field also includes other values. In other words, entering permit 1 permits
routes through AS 1 and routes through AS 1 and AS 2, while entering permit
1 2 only permits routes through both AS 1 and AS 2. Therefore, you may need
to explicitly deny any values that should not be included in the field.
For example, if you allow the router to advertise routes that use AS 1, routes
that use AS 1 and AS 3, will also be allowed. If you do not want to allow such
routes, you must specifically deny AS 3.
You could also allow the router to advertise routes that use AS 1 or AS 2, but
not routes that force traffic to travel through both AS 1 and AS 2:
ProCurve(config-as-path-list)# deny 1 2
ProCurve(config-as-path-list)# permit 1
ProCurve(config-as-path-list)# permit 2
Remember to enter the deny statement before the permit statements since the
router processes statements in the AS path list in the order that you enter them.
After configuring the AS path list, create the route map entry that will filter
the routes. Then enter this route map configuration mode command:
Syntax: match as-path <listname>
Use set commands to configure attributes you want to apply to the advertised
routes and then apply the route map to the BGP neighbor as an outbound filter.
If you do not want to set any attributes, simply apply the route map.
Placing a Route in a Community: Requesting a Neighbor to
Advertise a Route to Certain Peers Only
You can configure a route map to place a route in a BGP community. A
community groups routes into a set to which the same policy is applied. You
should define this policy. Often the policy selects the peers to which a neighbor
advertises routes in the community. However, a policy can also set certain
attributes such as a local preference or metric for routes in the community.
The neighbor that receives the route establishes the policy for the community.
Before placing a route in a community, you should contact your ISP and
discuss what options it supports for various communities. You should also
consult your organization's policies.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve secure router 7102 dl

Table of Contents