Skip to content

Instantly share code, notes, and snippets.

@stefanovazzocell
Created September 6, 2020 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanovazzocell/72517b688d5a5b3230602a68025fb282 to your computer and use it in GitHub Desktop.
Save stefanovazzocell/72517b688d5a5b3230602a68025fb282 to your computer and use it in GitHub Desktop.
Unifi USG load-balance tweak
configure
set load-balance group wan_failover interface eth0 route-test type ping target 8.8.8.8
set load-balance group wan_failover interface eth0 route-test interval 2
set load-balance group wan_failover interface eth0 route-test count failure 15
set load-balance group wan_failover interface eth0 route-test count success 1
set load-balance group wan_failover interface eth2 route-test type ping target 8.8.8.8
set load-balance group wan_failover interface eth2 route-test interval 2
set load-balance group wan_failover interface eth2 route-test count failure 10
set load-balance group wan_failover interface eth2 route-test count success 2
commit; save; exit;
show load-balance watchdog
show load-balance status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment