Related command:
Example
ipv6 policy-based-route (interface view)
Syntax
View
Parameter
Description
Related command:
Example
ipv6 policy-based-route (system view)
Syntax
View
Parameter
System policy routing is used to route packets generated locally. Unless otherwise
required, you are not recommended to enable system policy routing.
ipv6 local policy-based-route.
# Enable IPv6 system policy routing and reference a policy named AAA.
<Sysname> system-view
[Sysname] ipv6 local policy-based-route AAA
ipv6 policy-based-route policy-name
undo ipv6 policy-based-route
Interface view
policy-name: Policy name, which uniquely identifies an IPv6 policy routing. It is a
string of 1 to 19 characters.
Use the
ipv6 policy-based-route
reference a policy on the interface.
Use the
undo ipv6 policy-based-route
routing.
IPv6 interface policy routing is disabled by default.
ipv6 local policy-based-route.
# Enable IPv6 policy routing and reference a policy named AAA on Ethernet1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] ipv6 policy-based-route AAA
ipv6 policy-based-route policy-name [ deny | permit ] node node-number
undo ipv6 policy-based-route policy-name [ deny | node node-number | permit ]
System view
policy-name: Policy name, a string of 1 to 19 characters.
deny: Specifies the match mode of the policy node as deny. When a packet
satisfies all rules defined by the if-match clauses, the packet will be denied by the
command to enable IPv6 policy routing and
command to disable interface policy
897