897

System policy routing is used to route packets generated locally. Unless otherwise required, you are not recommended to enable system policy routing.

Related command: ipv6 local policy-based-route.

Example # 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 (interface view)

Syntax ipv6 policy-based-route policy-name

undo ipv6 policy-based-route

View Interface view

Parameter policy-name: Policy name, which uniquely identifies an IPv6 policy routing. It is a string of 1 to 19 characters.

Description Use the ipv6 policy-based-routecommand to enable IPv6 policy routing and reference a policy on the interface.

Use the undo ipv6 policy-based-routecommand to disable interface policy routing.

IPv6 interface policy routing is disabled by default.

Related command: ipv6 local policy-based-route.

Example # 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 (system view)

Syntax ipv6 policy-based-route policy-name[ deny permit ] node node-number

undo ipv6 policy-based-route policy-name[ deny node node-numberpermit ]

View System view

Parameter 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-matchclauses, the packet will be denied by the

Page 897
Image 897
3Com MSR 50, MSR 30 manual Ipv6 policy-based-route interface view, Ipv6 policy-based-route system view, 897