548
# Configure Node 10 of policy
aa
to permit the packets matching ACL
aaa
.
<Sysname> system-view
[Sysname] ipv6 policy-based-route aa permit node 10
[Sysname-pbr6-aa-10] if-match acl name aaa
ipv6 local policy-based-route
Use
ipv6 local policy-based-route
to configure IPv6 local PBR based on a specified policy.
Use
undo ipv6 local policy-based-route
to remove the configuration.
Syntax
ipv6 local policy-based-route
policy-name
undo ipv6 local policy-based-route
Default
No policy is referenced for IPv6 local PBR.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name
: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified
IPv6 policy must already exist.
Usage guidelines
You can apply only one policy locally. Before you apply a new policy, you must first remove the current
policy.
IPv6 local PBR is used to route locally generated packets. Do not configure IPv6 local PBR unless
required.
Examples
# Configure IPv6 local PBR based on policy
aaa
.
<Sysname> system-view
[Sysname] ipv6 local policy-based-route aaa
Related commands
•
display ipv6 policy-based-route setup
•
ipv6 policy-based-route
(system view)
ipv6 policy-based-route (interface view)
Use
ipv6 policy-based-route
to configure IPv6 interface PBR by applying an IPv6 policy to an interface.
Use
undo ipv6 policy-based-route
to remove the configuration.
Syntax
ipv6 policy-based-route
policy-name