Deleting Communities From A Route - 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
N o t e
You can only set a local preference for inbound routes. You cannot set the
local preference for routes outbound to an external neighbor.
To place the route in a community defined in the local network, enter this
command:
Syntax: set community [add | internet | local-as | no-advertise | no-export | none |
<1-4294967295> | <aa:nn>]
You may need to clear communities to which the remote neighbor has assigned
the route. See "Deleting Communities from a Route" on page 13-103.

Deleting Communities from a Route

BGP communities are not completely standardized. External neighbors may
place routes in a community for which your network does not define a policy
or for which it defines a substantially different policy. Or, you may not want
to apply the policies that the external neighbor is requesting with the commu-
nity attribute.
In order to enforce your organization's policies, you may need to remove
certain communities from inbound routes. To do so, create a community list
that permits the communities that you want to delete. (See "Configuring a
Community List" on page 13-88.) For example:
ProCurve(config)# ip community-list clear
ProCurve(config-comm-list)# permit no-advertise local-as
Then create an entry for the inbound route map that you will apply to the
neighbor:
ProCurve(config)# route-map ExternalIn 5
Enter this command to delete the communities:
Syntax: set comm-list <listname> delete
Apply the route map to the neighbor as an inbound policy.
If your network defines local communities, you may need to remove these
from routes before your router advertises the routes to an external neighbor.
In this case, configure a community list that permits the local communities.
Then match the community list to a route map entry and apply the route map
to the neighbor as an outbound policy.
13-103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve secure router 7102 dl

Table of Contents