996
C
60: R
HAPTER
OUTING
Configuring a Routing
Policy
Prerequisites
Creating a Routing
Policy
Defining if-match
Clauses for the Routing
Policy
P
C
OLICY
ONFIGURATION
A routing policy is used to filter routing information according to some attributes,
and modify some attributes of the routing information that matches the routing
policy. Match criteria can be configured using filters above mentioned.
A routing policy can comprise multiple nodes, each node contains:
if-match clauses: Define the match criteria that routing information must
■
satisfy. The matching objects are some attributes of routing information.
apply clauses: Specify the actions performed after specified match criteria are
■
satisfied, concerning attribute settings for passed routing information.
Before configuring this task, you have completed:
Filtering list configuration
■
Routing protocol configuration
■
You also need to decide on:
Name of the routing policy, node sequence numbers
■
Match criteria
■
Attributes to be modified
■
To create a routing policy, use the following commands:
To do...
Enter system view
Create a routing policy and
enter its view
n
If a node has the permit keyword specified, routing information meeting the
■
node's conditions will be handled using the apply clauses of this node, without
needing to match against the next node. If routing information does not meet
the node's conditions, it will go to the next node for a match.
If a node has the deny keyword specified, routing information matching all the
■
if-match clauses of the node can neither pass the node nor go to the next
node. If route information cannot meet any if-match clause of the node, it will
go to the next node for a match.
When a routing policy is defined with more than one node, at least one node
■
should be configured with the permit keyword. If the routing policy is used to
filter routing information, routing information that does not meet any node's
conditions cannot pass the routing policy. If all nodes of the routing policy are
set using the deny keyword, no routing information can pass it.
To define if-match clauses for a route-policy, use the following command:
To do...
Enter system view
Use the command...
system-view
route-policy route-policy-name { permit
| deny } node node-number
Use the
command...
system-view
Remarks
-
Required
Remarks
-
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers