R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

460
To configure IPv6 interface PBR:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Apply an IPv6 policy
to the interface.
ipv6 policy-based-route policy-name
By default, no IPv6 policy is
applied to the interface.
Displaying and maintaining IPv6 PBR
Execute display commands in any view and reset commands in user view.
Task Command
Display IPv6 PBR policy information. display ipv6 policy-based-route [ policy policy-name ]
Display IPv6 PBR configuration. display ipv6 policy-based-route setup
Display IPv6 local PBR configuration and
statistics (MSR2000/MSR3000).
display ipv6 policy-based-route local
Display IPv6 local PBR configuration and
statistics (MSR4000).
display ipv6 policy-based-route local [ slot slot-number ]
Display IPv6 interface PBR configuration and
statistics (MSR2000/MSR3000).
display ipv6 policy-based-route interface interface-type
interface-number
Display IPv6 interface PBR configuration and
statistics (MSR4000).
display ipv6 policy-based-route interface interface-type
interface-number [ slot slot-number ]
Clear IPv6 PBR statistics. reset ipv6 policy-based-route statistics [ policy policy-name ]
IPv6 PBR configuration examples
Packet type-based IPv6 local PBR configuration example
Network requirements
As shown in Figure 105, configure IPv6 PBR on Router A to forward all TCP packets to the next hop 1::2.
Router A forwards other packets according to the routing table.
Figure 105 Network diagram
Configuration procedure
1. Configure Router A: