R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

477
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Apply an IPv6 policy locally.
ipv6 local policy-based-route
policy-name
Not applied by default.
Configuring IPv6 interface PBR
Configure PBR by applying an IPv6 policy on an interface. IPv6 PBR uses the policy to guide the
forwarding of packets received on the interface.
You can apply only one policy on an interface. If you perform the ipv6 policy-based-route command
multiple times, only the last specified policy takes effect.
You can apply the same IPv6 policy on multiple interfaces.
If the specified policy does not exist, the IPv6 interface PBR configuration succeeds, but it does not take
effect until the policy is created.
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 on the
interface.
ipv6 policy-based-route
policy-name
Not applied by default.
Displaying and maintaining IPv6 PBR configuration
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 [ 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.
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
[ policy-name ]
Available in user
view.