beautypg.com

Displaying and maintaining ipv6 pbr configuration, Ipv6 pbr configuration examples, Configuring ipv6 local pbr based on packet type – H3C Technologies H3C SR8800 User Manual

Page 404: Network requirements

background image

388

NOTE:

If the specified policy does not exist, the IPv6 interface PBR configuration succeeds, but it takes effect only
when the policy is created.

Displaying and maintaining IPv6 PBR configuration

Task Command

Remarks

Display the specified IPv6 PBR routing
information.

display ipv6 policy-based-route setup
{ policy-name | interface interface-type

interface-number [ slot slot-number ] | local

[ slot slot-number ] } [ | { begin | exclude |

include } regular-expression ]

Available in any
view

Display IPv6 PBR statistics.

display ipv6 policy-based-route statistics
{ interface interface-type interface-number |
local } [ slot slot-number ] [ | { begin | exclude

| include } regular-expression ]

Available in any
view

Display IPv6 PBR policy information.

display ipv6 config policy-based-route
[ policy-name [ slot slot-number ] ] [ | { begin |

exclude | include } regular-expression ]

Available in any
view

Clear IPv6 PBR statistics.

reset ipv6 policy-based-route statistics

Available in user
view

NOTE:

If a policy has a node with no if-match or apply clause configured, all packets can pass the policy and
will not go to the next policy node for a match. The statistics of IPv6 PBR will be changed.

If a policy node has if-match clauses but no apply clauses configured, packets will match against these
if-match clauses. However, no apply clauses are applicable to the permitted packets, and the packets

will not go to the next node for a match. The statistics of IPv6 PBR will be changed.

If a policy node has no if-match clause but apply clauses configured, all packets can pass the policy,
and then are forwarded according to the apply clauses if the permit keyword is specified for the node,

or are denied if the deny keyword is specified. The packets will not go to the next policy node for a

match. The statistics of IPv6 PBR will be changed.

If the match mode of a policy node is deny, no apply clauses will be executed for packets satisfying all
the if-match clauses, and the packets will not go to the next policy node for a match. They will be
forwarded according to the routing table instead. Neither debugging information nor statistics for the

deny match mode can be displayed.

IPv6 PBR configuration examples

Configuring IPv6 local PBR based on packet type

Network requirements

As shown in

Figure 123

, configure PBR on Router A, so that all TCP packets are forwarded via next hop

1::2 and other IPv6 packets are forwarded according to the routing table.