Huawei Quidway S6500 Series Operation Manual page 268

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

Advertisement

Operation Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
The definition of the community-list has already been implemented in the BGP
configuration. For the relevant configurations, please refer to the ip community-list
command in the BGP Configuration.
7.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
7.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 7-1 Defining a route-policy
Enter Route policy view
Remove the specified 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.
Operation
Huawei Technologies Proprietary
7-3
Chapter 7 IP Routing Policy Configuration
Command
route-policy route-policy-name { permit |
deny } node node-number
undo
route-policy
[ permit | deny | node node-number ]
route-policy-name

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Release 3000 series

Table of Contents