Adaptive Routing

The nv unset commands remove the configuration you set with the equivalent nv set commands. This guide only describes an nv unset command if it differs from the nv set command.

nv set interface <interface-id> router adaptive-routing

Provides commands to configure adaptive routing on the specified interface. Adaptive routing is a load balancing mechanism that improves network utilization by selecting routes dynamically based on the immediate network state, such as switch queue length and port utilization.


nv set interface <interface-id> router adaptive-routing enable

Turns adaptive routing on the specified interface on or off. The default setting is off.

Command Syntax

SyntaxDescription
interface-idThe interface you want to configure.

Version History

Introduced in Cumulus Linux 5.1.0

Example

cumulus@switch:~$ nv set interface swp1 router adaptive-routing enable on

Configures the link utilization threshold percentage at which adaptive routing considers the port congested. You can specify a value between 1 and 100. The default setting is 70.

Command Syntax

SyntaxDescription
interface-idThe interface you want to configure.

Version History

Introduced in Cumulus Linux 5.1.0

Example

cumulus@switch:~$ nv set interface swp1 router adaptive-routing link-utilization-threshold 50

nv set router adaptive-routing

Provides commands to configure adaptive routing globally on the switch. Adaptive routing is a load balancing mechanism that improves network utilization by selecting routes dynamically based on the immediate network state, such as switch queue length and port utilization.


nv set router adaptive-routing enable

Turns adaptive routing on or off globally. The default setting is off.

Version History

Introduced in Cumulus Linux 5.1.0

Example

cumulus@switch:~$ nv set router adaptive-routing enable on