Owner's Manual

815
System policy routing is used to route packets generated locally. Unless
otherwise required, you are not recommended to enable system policy routing.
Related commands: policy-based-route.
Examples # Enable system policy routing and reference policy aaa.
<Sysname> system-view
[Sysname] ip local policy-based-route aaa
ip policy-based-route
Syntax ip policy-based-route policy-name
undo ip policy-based-route policy-name
View Interface view
Parameters policy-name: Policy name, a string of 1 to 19 characters.
Description Use the
ip policy-based-route command to enable policy routing and reference
a policy on the interface.
Use the
undo ip policy-based-route command to disable interface policy
routing.
Interface policy routing is disabled by default.
Note that:
You can only reference one policy when enabling policy routing on an
interface.
The referenced policy filters incoming packets on the interface.
Related commands: ip local policy-based-route.
Examples # Enable policy routing and reference policy aaa on interface Ethernet1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] ip policy-based-route aaa
policy-based-route
Syntax policy-based-route policy-name [ deny | permit ] node node-number
undo policy-based-route policy-name [ deny | node node-number | permit ]
View System view