H3C S9500 Series Operation Manual page 342

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

Advertisement

Operation Manual – Routing Protocol
H3C S9500 Series Routing Switches
Note:
For the configuration of ACL, refer to the "QoS/ACL Operation" part of this manual.
2)
Applications of routing policies include:
Applying Route Policy on Imported Routes
Applying Route Policy on Received or Advertised Routes
7.2.1 Configuring 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.
Each node consists of a group of if-match clauses and apply clauses.
The if-match clauses define the matching rules. The different if-match clauses
for a node have the relationship of "AND". That is, the route must satisfy all the
if-match clauses for the node to match the node before passing this node.
The apply clauses define the executed action after the routing information passes
the matching test. That is, the clause sets the routing information attribute.
I. Defining a route-policy
Perform the following configuration in system view.
Table 7-1 Define a route-policy
Enter Route policy view
Remove the specified route-policy
The permit keyword 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 keyword 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.
Operation
7-3
Chapter 7 IP Routing Policy Configuration
Command
route-policy
{ permit | deny } node node-number
undo route-policy route-policy-name
[ permit | deny | node node-number ]
route-policy-name

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents