Huawei Quidway S8500 Series Command Manual page 489

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Parameter
route-policy-name: Specifies the Route-policy name to identify one Route-policy
uniquely.
permit: Specifies the match mode of the defined Route-policy node as permit mode.
When a route satisfy all if-match sub-statements of this node and pass the filtration, the
Apply sub-statement of this node will be executed on the route. Otherwise, the route will
be tested by the next node.
deny: Specifies the match mode of the defined Route-policy node as deny mode.
When a route satisfy all if-match sub-statements of this node and fails to pass the
filtration, it will not tested by the next node.
node: Node of the route policy.
node-number: Index of the node in the route-policy. When this route-policy is used for
routing information filtration, the node with a smaller node-number will be tested first.
Description
Use the route-policy command to create a route-policy and enter its view.
Use the undo route-policy command to delete the established Route-policy.
By default, no Route-policy is defined.
Route-policy is used for route information filtration or policy routing. One Route-policy
comprises of some nodes and each node comprises of some match and Apply
sub-statements. The if-match sub-statement defines the match rules of this node and
the Apply sub-statement defines the actions after passing the filtration of this node. The
filtering relationship between the if-match sub-statements of the node is "and", i.e., all
if-match sub-statements that meet the node. The filtering relation between Route-policy
nodes is "OR", i.e. passing the filtering of one node means passing the filtering of this
Route-policy. If the information does not pass the filtration of any nodes, it cannot pass
the filtration of this Route-policy.
Related command: if-match interface, if-match acl, if-match ip-prefix, if-match ip
next-hop, if-match cost, if-match tag, apply ip next-hop, apply local-preference,
apply cost, apply origin, apply tag.
Example
# Configure a Route-policy named policy1, whose node number is 10 and match mode
mode is permit, and enter Route policy view.
[Quidway] route-policy policy1 permit node 10
[Quidway-route-policy]
Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-20

Advertisement

Table of Contents
loading

Table of Contents