Skip to content

Instantly share code, notes, and snippets.

@rjsalts
Last active March 1, 2017 22:50
Show Gist options
  • Save rjsalts/c53c19c2f543bddfe8b1e1eb77138cf3 to your computer and use it in GitHub Desktop.
Save rjsalts/c53c19c2f543bddfe8b1e1eb77138cf3 to your computer and use it in GitHub Desktop.
set event-options policy lower-metric events vrrpd_new_master
set event-options policy lower-metric then change-configuration commands "delete policy-options policy-statement foo_subnet_export term 1 then metric add"
set event-options policy raise-metric events vrrpd_new_backup
set event-options policy raise-metric then change-configuration commands "set policy-options policy-statement foo_subnet_export term 1 then metric add 100"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment