3com 3031 Instruccion De Instalación
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
Configuring IP Routing Policy
575
■
Configure route filtering
Defining a Route-policy
A route-policy can comprise multiple nodes. Each node is a unit for matching
operation. The nodes are tested according to sequence-number.
operation. The nodes are tested according to sequence-number.
Perform the following configuration in System View.
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.
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.
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.
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 route-policy. If all the nodes in the route-policy are in deny mode, all
routing information will be denied by the route-policy.
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 route-policy. If all the nodes in the route-policy are in deny mode, all
routing information will be denied by the route-policy.
Defining If-match
Clauses for a
Route-policy
The if-match clauses define the matching rules. That is, the filtering conditions
that the routing information should satisfy for passing the route-policy. The
matching objects are some attributes of routing information.
that the routing information should satisfy for passing the route-policy. The
matching objects are some attributes of routing information.
Perform the following configuration in route-policy view.
Table 672 Defining a route-policy
Operation
Command
Enter route policy view
route-policy route-policy-name { permit | deny }
node { node-number }
node { node-number }
Remove the specified
route-policy
route-policy
undo route-policy route-policy-name [ permit |
deny | node node-number ]
deny | node node-number ]
Table 673 Definiing if-match conditions
Operation
Command
Match the AS path domain of
the BGP routing information.
the BGP routing information.
if-match as-path acl-number
where acl-number is the as-path-acl-number
Cancel the matched AS path
domain of the BGP routing
information
domain of the BGP routing
information
undo if-match as-path