R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

407
Table 10 Priorities and meanings of the apply clauses
Clause Meanin
g
Priorit
y
apply
ipv6-precedence
Sets an IP precedence. If configured, this clause will always be executed.
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 when no output interface or next
hop is set or the output interface and next hop are
invalid, and the packet does not match any route in the
routing table.
apply fail-action
continue
Matches packets against the
next policy node upon match
failure on the current node.
The apply fail-action continue clause applies:
When the apply output-interface, apply
ip-address next-hop, apply default
output-interface, and apply ip-address
default next-hop clauses are not configured
or
When one or more of them are configured
but are invalid, for example, the specified
output interface is down or the specified next
hop is unreachable.
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