ASA doesn't display Primary/secondary status.
Hello again,
I had a pair of ASAs and wanted to put them in failover. I configured that and everything was working fine.
Only thing I did not like was how my ASA was displaying its name. On both ASAs I see the name as ciscoasa#
I wanted it to be something that can tell me on which ASA I am. Am I on Primary or Secondary ASA?
Am I on Active or standby ASA?
"sh failover" will show that.
Then I figured out that we can even have the "priority" and "state" displayed right there in hostname.
Use command " prompt"
ASA1(config)# prompt hostname ?
configure mode commands/options:
cluster-unit Display the cluster unit name in the session prompt
context Display the context in the session prompt (multimode only)
domain Display the domain in the session prompt
management-mode Display management mode
priority Display the priority in the session prompt (If your ASA is Primary/Secondary)
state Display the traffic passing state in the session prompt (Active or Standby)
<cr>
With command "prompt hostname" it will only display ASA hostname. Now if you want to display "priority" of ASA use "prompt hostname priority".
Let's also have "state" displayed as well:
ASA1(config)# prompt hostname priority state
I had a pair of ASAs and wanted to put them in failover. I configured that and everything was working fine.
Only thing I did not like was how my ASA was displaying its name. On both ASAs I see the name as ciscoasa#
I wanted it to be something that can tell me on which ASA I am. Am I on Primary or Secondary ASA?
Am I on Active or standby ASA?
"sh failover" will show that.
Then I figured out that we can even have the "priority" and "state" displayed right there in hostname.
Use command " prompt"
ASA1(config)# prompt hostname ?
configure mode commands/options:
cluster-unit Display the cluster unit name in the session prompt
context Display the context in the session prompt (multimode only)
domain Display the domain in the session prompt
management-mode Display management mode
priority Display the priority in the session prompt (If your ASA is Primary/Secondary)
state Display the traffic passing state in the session prompt (Active or Standby)
<cr>
With command "prompt hostname" it will only display ASA hostname. Now if you want to display "priority" of ASA use "prompt hostname priority".
Let's also have "state" displayed as well:
ASA1(config)# prompt hostname priority state
0 comments:
Post a Comment