H3C S6550X-HI Series Command Reference Manual page 2077

Table of Contents

Advertisement

undo if-match route-policy
Default
No routing policy is specified to match routes.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
route-policy-name
characters.
Usage guidelines
When you use a routing policy as the if-match clause criterion for another routing policy, the if-match
clause works as follows:
When the match mode of a node is deny, a route is rejected if the route meets all the if-match
clauses of the node. The route is not compared with the next node. If the route does not meet all
the if-match clauses of the node, it is compared with the next node.
When the match mode of a node is permit, a route is handled by the apply clauses of the node
if the route meets all the if-match clauses of the node. If the route does not meet all the
if-match clauses of the node, it is compared with the next node.
Follow these restrictions and guidelines when you configure a routing policy if-match clause
criterion:
If the specified routing policy does not exist, all routes match the criterion.
If a routing policy has been used as an if-match clause criterion, you cannot specify a routing
policy match criterion for the routing policy. For example, if routing policy A uses routing policy
B as a match criterion, you cannot specify any routing policy match criterion for routing policy B.
In addition, you cannot specify routing policy A as a match criterion for any another routing
policies.
Reference loops are not allowed. For example, if routing policy A is used as a match criterion of
routing policy B, you cannot configure routing policy B as a match criterion of routing policy A
any more.
If you execute this command multiple times for a routing policy, the most recent configuration takes
effect.
Examples
# Configure node 10 in permit mode for routing policy parent to match routes that match routing
policy child.
<Sysname> system-view
[Sysname] route-policy parent permit node 10
[Sysname-route-policy-policy1-10] if-match route-policy child
if-match route-type
Use
if-match route-type
Use
undo if-match route-type
Syntax
if-match route-type { eigrp-external | eigrp-internal | external
external-type1or2
: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
to set a route-type match criterion.
to remove the specified route-type match criterion.
|
external-type2
25
|
internal
|
-
type1 |
is-is-level-1
|

Advertisement

Table of Contents
loading

Table of Contents