H3C S6550X-HI Series Command Reference Manual page 2087

Table of Contents

Advertisement

Parameters
route-policy-name
characters.
: Specifies the deny match mode for the routing policy node. If a route matches all the if-match
deny
clauses of the node, it is denied without being compared with the next node. If a route does not
match any if-match clauses of the node, the route is compared with the next node.
: Specifies the permit match mode for the routing policy node. If a route matches all the
permit
if-match clauses of the node, it is handled by the apply clauses of the node. If a route does not
match any if-match clauses of the node, the route is compared with the next node.
node node-number
number is matched first.
Usage guidelines
Use a routing policy to filter routing information. A routing policy can contain several nodes and each
node contains a set of if-match and apply clauses. The if-match clauses define the match criteria of
the node and the apply clauses define the actions to be taken on packets matching the criteria. The
relation between the
the
if-match
The relation between nodes is logical OR. A packet passing a node passes the routing policy. If a
packet does not pass any nodes, the packet does not pass the routing policy.
Examples
# Create node 10 in permit mode for routing policy policy1 and enter routing policy node view.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10]
Related commands
display route-policy
route-policy non-exist-deny
Use
route-policy non-exist-deny
does not exist.
Use
undo route-policy non-exist-deny
Syntax
route-policy non-exist-deny
undo route-policy non-exist-deny
Default
All routes can pass a routing policy that does not exist.
Views
System view
Predefined user roles
network-admin
Usage guidelines
You cannot filter routes by using a routing policy that does not exist unless you create it.
: Specifies a routing policy name, a case-sensitive string of 1 to 63
: Specifies a node number in the range of 0 to 65535. A node with a smaller
clauses of different types is logical AND and the relation between
if-match
clauses of the same type is logical OR.
if-match
to prevent all routes from passing a routing policy that
to restore the default.
35
clauses of all types must be met.

Advertisement

Table of Contents
loading

Table of Contents