cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1177
Views
7
Helpful
7
Replies

ASA firewall not showing hostname

ChandruGowda
Level 1
Level 1

One of the ASA not showing the hostname even hostname configured

Output is

pri/act#

it should be show as below

(xyz) pri/act#

 

7 Replies 7

@ChandruGowda you can use the CLI command prompt to define what to display.

So run prompt hostname priority state would display the Hostname Priority and State

https://www.cisco.com/c/en/us/td/docs/security/asa/asa-cli-reference/I-R/asa-command-ref-I-R/pr-pz-commands.html#wp3322671337

 

Sheraz.Salim
VIP Alumni
VIP Alumni

 

asa(config)# prompt hostname priority state
!

the above command is required to show the firewall in given state.

please do not forget to rate.

ChandruGowda
Level 1
Level 1

Type help or '?' for a list of available commands.
thanks for the reply, I ill try that, 

We have HA and hostname configured as well, still that "prompt" command needed ?
sec/stby> en
Password: *****
sec/stby# show hostname
ASA123

@ChandruGowda configure the command on the active firewall. You need to run the prompt command to display the options you want on the CLI, such as the hostname and the priority/state. It's a trival command, just specify what you want displayed or don't. It only applies on the CLI.

as mentioned apply the configurtion on the active firewall.

please do not forget to rate.

ChandruGowda
Level 1
Level 1

thank you all, it is fixed.

pri/act(config)# prompt hostname context state priority

"context" that means you running your firewall in context mode. where you can have multiple firewall (as virtualize in one physical hardware).

glad it worked out for you

please do not forget to rate.
Review Cisco Networking for a $25 gift card