iCall Script that only runs on Active member
Problem this snippet solves: I had a request to run an iCall script only on the active member in a pair. How to use this snippet: This won't work if you're using active/active via traffic-gr...
Published Aug 13, 2019
Version 1.0G-Rob
Employee
Joined May 16, 2019
G-Rob
Employee
Joined May 16, 2019
Walter_Kacynski
Mar 02, 2021Cirrostratus
You can also use native tmsh only...
set device_status [tmsh::get_field_value [lindex [tmsh::get_status cm failover-status raw] 0] "status"]
if {$device_status equals "ACTIVE"} {