Got it

Routing Policy and Routing Control - Route Control Tool - Route-Policy

Latest reply: Feb 1, 2022 10:48:43 453 22 16 0 3

Route Control Tool - Route-Policy


OBJECTIVE


The purpose of this post is to present an introduction to Routing Policy and Routing Control - Route Control Tool - Route-Policy.


Policy Tool 2: Route-Policy


• A route-policy is a policy tool used to filter routes and set route attributes for the filtered routes.


• A route-policy consists of one more nodes. Each node can be a set of conditional statements (matching conditions) and executive statements (actions). These statements are arranged in ascending order by sequence number.


30


• When a route-policy is used, the node with a smaller ID is matched first. After a route matches a node, the route is not matched against other nodes. If a route fails to match all nodes, the route is filtered out.


Components of a Route-Policy


A route-policy consists of one or more nodes. Each node contains multiple if-match and apply clauses.


31


permit or deny: The matching mode of a route-policy node is "permit" or "deny".


node: specifies the node ID of a route-policy. The value is an integer ranging from 0 to 65535.


• if-match clause: defines the matching condition of a node.


• apply clause: defines an action to be performed on a matching route.


Matching Order for a Route-Policy


Route-policies use different matching conditions and modes to select routes and change route attributes.


32


• A route-policy contains N (N >= 1) nodes. After routes match the route-policy, the system checks whether the routes match the nodes in ascending order by node ID. The matching condition is defined in the if-match clause.


▫ After a route matches all if-match clauses of a node, the system proceeds to select a matching mode and no longer matches the route against other nodes. The matching mode can be "permit" or "deny."


permit: The route is permitted, and the apply clause of the node is used to set some attributes of the route.


deny: The route is rejected.


▫ If a route fails to match any if-match clause of the node, the route is further matched against the next node. If a route does not match any node, the route is rejected.


Basic Configuration Commands of a Route-Policy (1)


33


• Command: route-policy route-policy-name { permit | deny } node node


permit: sets the matching mode of a route-policy node to permit. If a route matches all if-match clauses of a node, the apply clause of the node is executed. Otherwise, the system goes to the next node.


deny: indicates that the matching mode of the route-policy node is deny. If a route matches all if-match clauses of a node, the route is rejected. Otherwise, the system goes to the next node.


node node: specifies the node ID of a route-policy. When a route-policy is used, the node with the smallest node ID is matched first. After a route matches a node, the route is not matched against other nodes. If a route fails to match any nodes, the route is filtered out. The value is an integer ranging from 0 to 65535.


Basic Configuration Commands of a Route-Policy (2)


34


• The apply clause is used to specify an action for the route-policy and set the attributes of the routes that match the route-policy. If no apply clause is configured for a node, the node only filters routes. If one or more apply clauses are configured, all apply clauses are applied to the routes that match the node.



Reference:


HCIP-Datacom-Core Technology V1.0 Training Material


--- End

Excellent
View more
  • x
  • convention:

Good share
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.