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

388
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 on the
interface.
ipv6 policy-based-route
policy-name
Not applied by default.
Displaying and maintaining IPv6 PBR
Task Command
Remarks
Display information about IPv6 local
PBR and IPv6 interface PBR.
display ipv6 policy-based-route [ | { begin |
exclude | include } regular-expression ]
Available in any
view.
Display IPv6 PBR configuration.
display ipv6 policy-based-route setup
{ policy-name | interface interface-type
interface-number | local } [ | { 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 } [ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Display IPv6 PBR policy.
display ipv6 config policy-based-route
[ policy-name ] [ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Clear IPv6 PBR statistics. reset ipv6 policy-based-route statistics
Available in user
view.
IPv6 PBR configuration examples
Configuring IPv6 local PBR based on packet type
Network requirements
As shown in Figure 103, configure IPv6 local PBR on Router A to forward all locally generated TCP
packets through Serial 2/0. Router A forwards other IPv6 packets according to the routing table.
Figure 103 Network diagram
Configuration procedure
1. Configure Router A: