3Com Switch 8800 Advanced Software V5 Configuration Guide

250 CHAPTER 25: ROUTING POLICY CONFIGURATION
n
The if-match clauses of a route-policy are in logic AND relationship, namely,
routing information has to satisfy all if-match clauses before being executed
with apply clauses.
You can specify no or multiple if-match clauses for a routing policy. If no
if-match clause is specified, and the routing policy is in permit mode, all
routing information can pass the node; if in deny mode, no routing
information can pass.
A routing policy should use a non VPN ACL for filtering.
The differences between defining if-match clauses for IPv4 and IPv6 routing
policies are commands for matching the destination, next hop and source
address.
Defining apply Clauses
for the Routing Policy
To define apply clauses for a route-policy, use the following command:
Match RIP, OSPF, or IS-IS routes having the
specified tag value
if-match tag value Optional
Not configured by
default
To do...
Use the
command... Remarks
To do... Use the command... Remarks
Enter system view system-view -
Create a routing policy and
enter its view
route-policy
route-policy-name { permit |
deny } node node-number
Required
Not created by default
Set AS_Path attribute for BGP
routes
apply as-path
as-number&<1-10> [
replace ]
Optional
Not set by default
Specify a community list
according to which to delete
community attributes of BGP
routing information
apply comm-list
comm-list-number delete
Optional
Not configured by default
Set community attribute for
BGP routes
apply community { none |
additive | {
community-number&<1-16>
| aa:nn&<1-16> | internet |
no-export-subconfed |
no-export | no-advertise }
* [ additive ] }
Optional
Not set by default
Set a cost for routes apply cost [ + | - ] value Optional
Not set by default
Set a cost type for routes apply cost-type [ external |
internal | type-1 | type-2 ]
Optional
Not set by default
Set the extended community
attribute for BGP routes
apply extcommunity { rt {
as-number:nn | ip-address:nn
} }&<1-16> [ additive ]
Optional
Not set by default