Configuring Policy-Based Routing
ip policy load-policy
Use this command to configure PBR next hop behavior.
Syntax
ip policy load-policy {[first-available] [round-robin] [ip-hash {sip | dip |
both}]}
no ip policy load-policy
Parameters
first‐available |
round‐robin | ip‐hash
sip | dip | both
Defaults
If pinger is not specified, none is configured.
Mode
Router command, Interface configuration: Matrix>Router(config‐if(Vlan <vlan_id>))#
Usage
When more than one next hop is configured (using the set next hop command as described in "set
next hop" on page 8‐45) the load policy specifies choosing one next hop from among the sequence
of next hops in the map matching the current packet. A next hop is considered available by default
unless a pinger task is running and has flagged it as unavailable.
The "no" form of this command resets the next hop behavior to first‐available.
Example
This example shows how to set the load policy behavior on VLAN 1 to "round‐robin":
Matrix>Router(config)#interface vlan 1
Matrix>Router(config-if(Vlan 1))#ip policy load-policy round-robin
ip policy pinger
Use this command to configure behavior for pinging PBR next hops.
Syntax
ip policy pinger {off | on [interval interval] [retries retries}
no ip policy pinger
Parameters
off
on
8-48 Policy Classification Configuration
Specifies next hop selection behavior as:
•
first‐available (default) ‐ uses the first available next hop from the
list of next hops
•
round‐robin ‐ circulates among the available next hops in the list.
•
ip‐hash sip | dip | both ‐ chooses a next hop based on a XOR hash
of the IP source address, the IP destination address, or both.
Turns ping off so all next hops are available by default.
Starts pinging all next‐hops in the route map list.
ip policy load-policy
Need help?
Do you have a question about the Enterasys Matrix DFE-Gold Series and is the answer not in the manual?
Questions and answers