898CHAPTER 69: IPV6 UNICAST POLICY ROUTING CONFIGURATION COMMANDS

node and will not match against the next policy node. If not, the packet will match against the next policy node.

permit: Specifies the match mode of the policy node as permit. If a packet satisfies all the rules defined by the if-matchclauses, the apply clauses are executed. If not, the packet will match against the next policy node.

node node-number: Number of the IPv6 policy node, in the range 0 to 65535. Packets will match against the node with a smaller node-numberfirst.

Description Use the ipv6 policy-based-routecommand to create an IPv6 policy or policy node and enter IPv6 policy routing view.

Use the undo ipv6 policy-based-routecommand to remove an IPv6 policy or policy node.

No IPv6 policy or policy node is created by default.

An IPv6 policy may consist of several nodes, and a node consists of if-matchclauses and apply clauses. The if-matchclauses define the match rules for the node and the apply clauses define the actions that should be taken for matched packets.

Note that:

There is an AND relationship between the if-matchclauses of a node. That is to say, a packet must satisfy all matching rules specified by all if match clauses for the node before the action specified by the apply clause is taken.

There is an OR relationship between nodes of the policy. That is, if a packet passes a node, it passes the policy.

A packet passing a node of a policy will not go to the next node of the policy for a match.

A packet not passing any node of a policy cannot pass the policy. It will be routed through the routing table.

If multiple nodes are defined for a policy, the match mode of at least one node must be permit.

Related command: ipv6 local policy-based-route,ipv6 local policy-based-route,if-match acl6, if-matchpacket-length.

Example # Create Node 10 for the IPv6 policy “aaa” with match mode being permit and enter IPv6 policy routing view.

<Sysname> system-view

[Sysname] ipv6 policy-based-route aaa permit node 10

[Sysname-pbr6-aaa-10]

Page 898
Image 898
3Com MSR 30, MSR 50 manual IPV6 Unicast Policy Routing Configuration Commands