Huawei Quidway S5600 Series Operation Manual page 394

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

Advertisement

Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
6.3.2 Defining a Route-Policy
Table 6-2 Define a route-policy
Operation
Enter system view
Define
route-policy
Note:
The permit argument specifies the matching mode for a defined node in the
route-policy to be in permit mode. If a route matches the rules for the node, the
apply statements for the node will be executed and the test of the next node will not
be taken. If not, however, the route takes 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, no apply clause is executed. If a
route satisfies all the if-match statements of the node, no apply clause for the node
will be executed and the test of the next node will not be taken. If not, however, the
route takes the test of the next node.
If multiple nodes are defined in a route-policy, at least one of them should be in
permit mode. When a route-policy is applied to filtering routing information, if a
piece of routing information does not match any node, the routing information will be
denied by the route-policy. If all the nodes in the route-policy are in deny mode, all
routing information will be denied by the route-policy.
6.3.3 Defining if-match Statements and apply Statements
Table 6-3 Define if-match statements and apply statements
Operation
Enter system view
Enter the route-policy
view
Define
match AS path of
BGP
information
Command
system-view
route-policy
a
route-policy-name { permit
|
deny
node-number
system-view
route-policy
{ permit | deny } node node-number
a
rule
to
if-match as-path as-path-number
routing
Huawei Technologies Proprietary
Chapter 6 IP Routing Policy Configuration
Required
By default, no route-policy is
}
node
defined.
Command
route-policy-name
6-4
Description
Description
Required
Optional

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents