R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)

385
Clause Meanin
g
Priorit
y
apply
output-interface and
apply ipv6-address
next-hop
Sets the output interface and
sets the next hop.
The apply output-interface clause takes precedence
over the apply ipv6-address next-hop clause. Only the
apply output-interface clause is executed when both
are configured.
apply default
output-interface and
apply ipv6-address
default next-hop
Sets the default output
interface and sets the default
next hop.
The apply default output-interface clause takes
precedence over the apply ipv6-address default
next-hop clause. Only the apply default
output-interface clause is executed when both are
configured.
They take effect only in the following situations:
No output interface or next hop is set.
The output interface and next hop are invalid.
The packet does not match any route, except for the
default route, in the routing table.
Relationship between the match mode and clauses on a node
Does a packet match all the
if-match clauses on the
node?
Match mode
In permit mode In deny mode
Yes
IPv6 PBR executes the apply clause
on the node.
The packet is forwarded according
to the routing table.
No
IPv6 PBR matches the packet against
the next node.
IPv6 PBR matches the packet against
the next node.
All packets can match a node where no if-match clauses are configured.
If a permit-mode node has no apply clause, packets matching all the if-match clauses of the node are
forwarded according to the routing table.
If a node has no if-match or apply clauses configured, all packets can match the node and are
forwarded according to the routing table.
IPv6 PBR configuration task list
Task Remarks
Configuring an IPv6
policy
Creating an IPv6 node
Required.
Configuring match criteria for an IPv6 node
Configuring actions for an IPv6 node
Configuring IPv6
PBR
Configuring IPv6 local PBR
Required.
Perform
one of the tasks.
Configuring IPv6 interface PBR