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 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.
Cumulus Linux 5.6 supports adaptive routing on Spectrum-4. Cumulus Linux 5.5 and earlier supports adaptive routing on Spectrum-3 and Spectrum-2 as a beta feature for evaluation.
nv set interface <interface-id> router adaptive-routing enable
Turns adaptive routing on the specified interface on or off. The default setting is off
.
- 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.
NVUE must restart switchd
to apply the setting.
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 enable on
nv set router adaptive-routing
Provides commands to configure adaptive routing globally on the switch. 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.
nv set router adaptive-routing enable
Turns adaptive routing on or off globally. The default setting is off
.
NVUE restarts switchd
to apply the setting.
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv set router adaptive-routing enable on