cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
24544
Views
46
Helpful
4
Replies

Command to show active and standby ASAs?

Andy White
Level 3
Level 3

Hello,

I can't remember the command that shows that you are on the active or standby ASA when you log in?

The hostname will look something like:

ASA5520-1/stby>

ASA5520-1/Act>

Thanks

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

I think you may be thinking about the command show failover. This will inform you about whether the ASA to which you connected is active or standby.

HTH

Rick

HTH

Rick

Jouni Forss
VIP Alumni
VIP Alumni

Hi,

I guess you mean the command "prompt"

I think the command you are looking to set is

prompt hostname state

Naturally you can use "?" after each command to find the combination that suites you. To show the info on the prompt that you want

Though I imagine that you would always be connecting to the Active unit since you connect to the Primary interface IP address and therefore you would know you are on the Active unit. Then again if you have both of the units management windows open on the CLI then I guess it would make sense. I guess you could add the parameter "priority" to the above command to show also is the unit configured as the "primary" or "secondary" and then the command would probably be in this order

prompt hostname priority state

Hope this helps

- Jouni

That is what we use- very helpful- it's actually prompt hostname state priority - when logged in via cli - you will see if you are on the active device and if it's the primary or backup Example: USGREASA01/act/pri(config)# The backup looks like this: USGREASA01/stby/sec#

normanksmith
Level 1
Level 1

I came across this question, while researching similar issue.

It was unanswered so wanted to add answer.

Hopefully it helps others with similar question.

 

asa5500-X(config)# prompt ? 

 

configure mode commands/options:
context Display the context in the session prompt (multimode only)
domain Display the domain in the session prompt
hostname Display the hostname in the session prompt
priority Display the priority in the session prompt
state Display the traffic passing state in the session prompt

asa5500-X(config)# prompt state
act(config)#

 

Oops, this does not ADD the state, but set ONLY the state. Lets get back the hostname.

 

asa5500-X(config)# prompt hostname state
asa5500-X/act(config)#

 

Failover Priority shows the Primary or the Secondary priority.

 

asa5500-X/act(config)# prompt hostname state priority
asa5500-X/act/pri(config)#

 

See reference site:

https://itsecworks.com/2010/11/12/cisco-asa-prompt-for-failover/

 

 

Review Cisco Networking for a $25 gift card