Feb 05

Cisco ASA hostname trick to quickly identify if the unit is Active or Standby

After years of working with the Cisco ASA platform I always learn something new while working with TAC or somebody else. I recently learned about the following command.


“prompt hostname state priority”

This command changes the hostname to include Primary or Secondary and Active or Standby. Instead of issuing the “show failover” command to figure out what unit you are on, this command will show you in the hostname.

Below is an example.

ASAFirewall(config)# prompt hostname state priority
ASAFirewall/act/sec(config)#

In the example above,
The hostname is “ASAFirewall”
This unit is “Active”
This unit is configured as the “Secondary” unit.

If you have any Tips & Tricks like this, please share them by using the reply field below. No account is needed.