Forum Discussion

Mosh's avatar
Mosh
Icon for Professor rankProfessor
7 years ago

Cisco Active Standby State

A simple module that uses Expect to connect to a device and check if the device is in active or standby state based on the command prompt string.  I implemented this because some of our devices were failing over to standby, which is fine, but we need to know when it happens as in some cases we have different bandwidth capacity. The module simply returns a 0 or a 1, depending on active or standby state.

J9RFA2