Configuring ipv6 policy-based routing, Introduction to ipv6 policy-based routing, Policy-based routing – H3C Technologies H3C S12500 Series Switches User Manual
Page 410: Ipv6 pbr, Node

394
Configuring IPv6 policy-based routing
To configure IPv6 policy-based routing, you must first configure the acl ipv6 enable command in system
view. For more information about the acl ipv6 enable command, see ACL and QoS Command
Reference.
Introduction to IPv6 policy-based routing
IPv6 policy-based routing is used to route IPv6 unicasts based on a policy.
Policy-based routing
Policy-based routing (PBR) is a routing mechanism based on the user-defined policies. Different from the
traditional destination-based routing mechanism, PBR enables you to implement policies (based on the
source address, address length, and other criteria) that make packets flexibly take different routes. You
can specify the VPN instance, the packet priority, the output interface, next hop, default output interface,
default next hop, and other parameters to guide forwarding of the packets matching an ACL or with a
specific length.
According to the objects to which the PBR applies, PBR involves local PBR and interface PBR:
•
Local PBR applies to locally generated packets only, such as the ICMP packets generated by using
the ping command.
•
Interface PBR applies to packets forwarded through an interface only.
In most cases, interface PBR is implemented to meet the forwarding and security requirements.
In general, PBR takes precedence over destination-based routing. PBR is applied when packets match the
specified criteria. Otherwise, destination-based routing is applied.
IPv6 PBR
An IPv6 policy is used to route IPv6 packets.
An IPv6 policy can consist of one or multiple nodes.
Node
A node is identified by a node number. The node with the smallest node number has the highest priority.
A policy consists of if-match and apply clauses. An if-match clause defines specifies a match criterion on
a node, and an apply clause specifies action to be taken on packets.
The action to be taken on matched packets depends on the match mode, which can be permit or deny