Route-Policy - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510

4.1.11 route-policy

Syntax
route-policy route-policy-name { permit | deny } node { node-number }
undo route-policy route-policy-name [ permit | deny | node node-number ]
View
System view
Parameter
route-policy-name: Name of the Route-policy that identifies a Route-policy uniquely.
permit: Specifies the match mode of the defined Route-policy node as permit mode.
When a route entry meets all the if-match clauses of the node, the entry is permitted to
filter through the node and the apply clause of the node will be performed. If a route
entry does not meet the if-match clause of the node, the next node of the route-policy
will be tested.
deny: Specifies the match mode of the defined Route-policy node as deny mode.
When a route entry meets all the if-match clauses of the node, the entry is prohibited
from filtering through the node and the next node will not be tested.
node: Specifies the node of the route policy.
node-number: Index of the node in the route-policy. When this route-policy is used for
routing information filter, the node with smaller node-number will be matched first.
Description
Use the route-policy command to enter the Route-policy view.
Use the undo route-policy command to delete the created Route-policy.
By default, no Route-policy is defined.
Route-policy is used for route information filter or route policy. A Route-policy
comprises some nodes and each node comprises some if-match clauses and apply
clauses.
An if-match clause defines the match rules of this node. An apply clause defines the
actions after filtering through this node. The filtering relationship between the if-match
clauses of the node is "and". That is, all if-match clauses of the node must be met.
The filtering relation between Route-policy nodes is "OR". That is, filtering through one
node means filtering through this Route-policy. If the information does not filter through
any node, it cannot filter through 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 cost, and apply tag.
Huawei Technologies Proprietary
4-10
Chapter 4 IP Routing Policy Configuration
Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents