02-13-2014 07:59 AM - edited 03-11-2019 08:45 PM
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
02-13-2014 08:06 AM
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
02-13-2014 08:11 AM
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
08-02-2018 03:01 PM
08-10-2019 08:28 AM
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: asa5500-X(config)# prompt state |
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/
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide