Defining Apply Clauses For The Routing Policy - 3Com MSR 50 Series Configuration Manual

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

998
C
60: R
HAPTER
OUTING
n
Defining apply Clauses
for the Routing Policy
P
C
OLICY
ONFIGURATION
To do...
Match routes having the specified route type
Match RIP, OSPF, or IS-IS routes having the
specified tag value
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.
To define apply clauses for a route-policy, use the following command:
To do...
Enter system view
Create a routing policy and
enter its view
Set AS_Path attribute for BGP
routes
Delete community attributes of
BGP routing information
according to the community list
Set community attribute for
BGP routes
Set a cost for routes
Use the
command...
if-match
route-type
{ internal |
external-type1 |
external-type2 |
external-type1or2 |
is-is-level-1 |
is-is-level-2 |
nssa-external-type
1 |
nssa-external-type
2 |
nssa-external-type
1or2 } *
if-match tag value
Use the command...
system-view
route-policy
route-policy-name { permit |
deny } node node-number
apply as-path
as-number&<1-10>
[ replace ]
apply comm-list
comm-list-number delete
apply community { none |
additive |
{ community-number&<1-16
> | aa:nn&<1-16> | internet
| no-export-subconfed |
no-export | no-advertise }
* [ additive ] }
apply cost [ + | - ] value
Remarks
Optional
Not configured by
default
Optional
Not configured by
default
Remarks
-
Required
Not created by default
Optional
Not set by default
Optional
Not configured by default
Optional
Not set by default
Optional
Not set by default

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents