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 link-utilization-threshold
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
| Syntax | Description |
|---|---|
interface-id |
The 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 interface <interface-id> router adaptive-routing state
Enables or disables adaptive routing on the specified interface. The default setting is disabled.
Adaptive routing is a load balancing feature that improves network utilization for eligible IP packets by selecting forwarding paths dynamically based on the state of the switch, such as queue occupancy and port utilization.
- Adaptive routing does not make use of resilient hashing.
- Cumulus Linux does not support adaptive routing on layer 3 subinterfaces, SVIs, bonds or bond members.
- In cumulus Linux 5.12 and earlier, NVUE restarts
switchdwhen applying the setting. - In Cumulus Linux 5.13 and later, NVUE reloads
switchdwhen applying the setting. - In Cumulus Linux 5.14 and earlier, you specify
enable onorenable offinstead ofstate enabledorstate disabled.
Command Syntax
| Syntax | Description |
|---|---|
interface-id |
The interface you want to configure. |
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv set interface swp1 router adaptive-routing state enabled