427
You can apply only one policy to an interface. Before you apply a new policy, you must first remove the
current policy from the interface.
You can apply a policy to multiple interfaces.
To configure IPv6 interface PBR:
Step 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.
Enabling IPv6 PBR notification sending
Perform this task to enable IPv6 PBR notification sending so that IPv6 PBR can generate notifications when
the next hop becomes invalid. The generated notifications are sent to the SNMP module. The output rules
for IPv6 PBR notifications depend on the SNMP notification configuration. For more information about
SNMP notifications, see
Network Management and Monitoring Configuration Guide
.
To enable IPv6 PBR notification sending:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable IPv6 PBR notification
sending.
snmp-agent trap enable
policy-based-route
By default, IPv6 PBR notification
sending is enabled.
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.
display ipv6 policy-based-route local
Display IPv6 interface PBR configuration and
statistics.
display ipv6 policy-based-route interface
interface-type
interface-number
Clear IPv6 PBR statistics.
reset ipv6 policy-based-route statistics
[
policy
policy-name
]