The policy-route command sets the next-hop IP or IPv6 address of the policy-based route for all users in a domain.
The undo policy-route command cancels the policy-based route function of all users in a domain.
By default, the policy-based route function is not configured in a domain.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
next-hop-ip-address |
Specifies the next-hop IP address of the policy-based route for all users in a domain. |
It is in dotted decimal notation. |
next-hop-ipv6-address |
Specifies the next-hop IPv6 address of the policy-based route for all users in a domain. |
The address is a 32-digit hexadecimal number in the X:X:X:X:X:X:X:X format. |
Usage Scenario
If you want to change the forwarding paths for online users in a domain for security or load balancing reasons, run the policy-route command in the domain to configure the next hop address of the policy-based route.
Configuration Impact
After PBR is configured, the outbound interface used to forward user packets is determined based on the IP address specified in the user domain, instead of based on the destination IP address of the packets.
The policy-route and undo policy-route commands take effect for users who go online after these commands are configured. When a user goes online from an IPv6 stack, if the IPv6 policy-based routes are direct routes, the policy-based routes do not take effect for the user. The status of the IPv6 policy-based rout4es is changed from direct to non-direct or from non-direct to direct, which does not affect the IPv6 stack of online users.Precautions
In VS mode, this command is supported only by the admin VS.
If a RADIUS server uses an attribute to deliver policy-based routes, these policy-based routes take precedence. The next hop IP address of the policy-based route configured for users in a domain must be available. If the configured next hop IP address is not available, the policy-based route is unreachable.