Ip Routing Policy Configuration - Huawei Quidway S3500 Series Operation Manual

Hide thumbs Also See for Quidway S3500 Series:
Table of Contents

Advertisement

Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches

6.2 IP Routing Policy Configuration

The routing policy configuration includes:
Defining a route-policy
Defining if-match clauses for a Route-policy
Defining apply clauses for a Route-policy
Importing the routes of other protocols
Defining ip-prefix
Configuring Route Filtering
6.2.1 Defining a route-policy
A route-policy can comprise multiple nodes. Each node is a unit for matching operation.
The nodes will be tested against by node-number.
Perform the following configurations in system view.
Table 6-1 Defining a route-policy
Enter Route policy view
Remove
route-policy
The argument permit specifies the matching mode for a defined node in the
route-policy to be in permit mode. If a route satisfies all the if-match clauses of the
node, it will pass the filtering of the node, and the apply clauses for the node will be
executed without taking the test of the next node. If not, however, the route should take
the test of the next node.
The deny argument specifies the matching mode for a defined node in the route-policy
to be in deny mode. In this mode, the apply clauses will not be executed. If a route
satisfies all the if-match clauses of the node, it will be denied by the node and will not
take the test of the next node. If not, however, the route will take the test of the next
node.
The nodes have the "OR" relationship. In other words, the router will test the route
against the nodes in the route-policy in sequence, once a node is matched, the
route-policy filtering will be passed.
By default, the Route-policy is not defined.
Note: if multiple nodes are defined in a route-policy, at least one of them should be in
permit mode. Apply the route-policy to filter routing information. If the routing
information does not match any node, the routing information will be denied by the
Operation
route-policy route-policy-name { permit | deny }
node { node-number }
the
specified
undo route-policy route-policy-name [ permit |
deny | node node-number ]
Huawei Technologies Proprietary
Chapter 6 IP Routing Policy Configuration
Command
6-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents