Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
Chapter 6 IP Routing Policy Configuration
6-4
z
Configuring a filtering list,
z
Configuring a routing protocol
Prepare the following data before the configuration:
z
Routing policy name and node number
z
Match conditions
z
Route attributes to be changed
6.3.2 Defining a Routing Policy
Follow these steps to define a routing policy:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Define a routing policy and
enter the routing policy view
route-policy
route-policy-name
{
permit
|
deny
}
node
node-number
Required
Not defined by
default
Note:
z
The
permit
argument specifies the matching mode for a defined node in the
routing policy to be in
permit
mode. If a route matches the rules for
the node, the
apply
clauses 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.
z
The
deny
argument
specifies the matching mode for a defined node in the routing
policy to be in
deny
mode. In this mode, no
apply
clause is executed. If a route
satisfies all the
if-match
clauses 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.
z
If multiple nodes are defined in a routing policy, at least one of them should be in
permit
mode. When a routing 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 routing policy. If all the nodes in the routing policy are in
deny
mode, all routing information will be denied by the routing policy.