probe-path load-balance-dia latency-variance
To configure the latency variance for Cloud onRamp for SaaS load balancing, use the probe-path load-balance-dia latency-variance command in global configuration mode. To disable Cloud onRamp for SaaS load balancing, use the no form of the command.
probe-path load-balance-dia latency-variance latency-variance
no probe-path load-balance-dia latency-variance
Syntax Description
latency-variance |
To use another interface for load balancing, the latency value of the interface cannot vary from the latency of the best path interface by more than this number of milliseconds. You can configure a smaller value to restrict load balancing only to interfaces with a latency value very close to that of the best path interface, or you can configure a larger value to be more inclusive of interfaces that might have a higher latency than the best path interface. For example, if the best path interface has a latency of 5 milliseconds, and the latency-variance is set to 15, then another interface can be used for load balancing only if its latency is no more than 20 milliseconds. Range: 1 to 1000 (milliseconds) Default: 50 |
Command Default
50 milliseconds
Command Modes
Global configuration (config)
Command History
Release | Modification |
---|---|
Cisco IOS XE Catalyst SD-WAN Release 17.5.1a |
This command was introduced. |
Usage Guidelines
Note |
We recommend configuring Cloud onRamp for SaaS load balancing using Cisco SD-WAN Manager, not by CLI. |
By default, Cloud onRamp for SaaS load balancing is disabled. Any of the following commands can enable Cloud onRamp for SaaS load balancing:
-
probe-path load-balance-dia latency-variance
-
probe-path load-balance-dia loss-variance
-
probe-path load-balance-dia source-ip-hash
Using the no form of each of the commands disables Cloud onRamp for SaaS load balancing after it has been enabled:
-
no probe-path load-balance-dia latency-variance
-
no probe-path load-balance-dia loss-variance
-
no probe-path load-balance-dia source-ip-hash
After determining the best path interface for a cloud application, Cloud onRamp for SaaS compares the performance statistics for other interfaces. To use another interface for load balancing, the following must be true:
-
The packet loss value of the interface must be within a configured percentage of the value for the best path interface. See the probe-path load-balance-dia loss-variance command.
-
The latency value of the interface cannot vary from the latency of the best path interface by more than a configured number of milliseconds (configured by this command).
Example
The following example configures a latency variance of 50 milliseconds.
Device(config)# probe-path load-balance-dia latency-variance 50
Example
The show full-configuration probe-path load-balance-dia command displays the currently configured parameters for Cloud onRamp for SaaS load balancing.
Device(config)# show full-configuration probe-path load-balance-dia
probe-path load-balance-dia latency-variance 50
probe-path load-balance-dia loss-variance 30
probe-path load-balance-dia source-ip-hash false
Example
The no form of each of the following commands disables Cloud onRamp for SaaS load balancing.
Device(config)# no probe-path load-balance-dia latency-variance
Device(config)# no probe-path load-balance-dia loss-variance
Device(config)# no probe-path load-balance-dia source-ip-hash