beautypg.com

Configuring routing policies, Overview, Filters – H3C Technologies H3C S12500-X Series Switches User Manual

Page 382

background image

368

14B

Configuring routing policies

Routing policies control routing paths by filtering and modifying routing information. This chapter

describes both IPv4 and IPv6 routing policies.

127B

Overview

Routing policies can filter advertised, received, and redistributed routes, and modify attributes for specific

routes.
To configure a routing policy:

1.

Configure filters based on route attributes, such as destination address and the advertising router's
address.

2.

Create a routing policy and apply filters to the routing policy.

431B

Filters

Routing policies can use the following filters to match routes.

695B

ACL

ACLs include IPv4 ACLs and IPv6 ACLs. An ACL can match the destination or next hop of routing
information.
For more information about ACLs, see ACL and QoS Configuration Guide.

696B

IP prefix list

IP prefix lists include IPv4 prefix lists and IPv6 prefix lists.
An IP prefix list matches the destination address of routing information. You can use the gateway option
to receive routing information only from specific routers. For more information about the gateway option,

see "

1248H

Configuring RIP

" and "

1249H

Configuring OSPF

."

An IP prefix list, identified by name, can comprise multiple items. Each item, identified by an index

number, specifies a prefix range to match. An item with a smaller index number is matched first. A route
that matches one item matches the IP prefix list.

697B

AS path list

An AS path list matches the AS_PATH attribute of BGP routing information.
For more information about AS path lists, see "

1250H

Configuring BGP

."

698B

Community list

A community list matches the COMMUNITY attribute of BGP routing information.
For more information about community lists, see "

1251H

Configuring BGP

."

699B

Extended community list

An extended community list matches the extended community attribute (Route-Target for VPN) of BGP

routing information.

This manual is related to the following products: