Make a PayPal Donation


  KB 0000226
  Dated 12/04/10
  Revision 0.01
   
Cisco Firewalls "My Prompt has changed / Disappeared"
 
Problem
Whilst messing around with my home firewall, I noticed that it no longer displayed the hostname on the command prompt,I checked Telnet and SSH, the results were the same.
Solution
Option 1 from Command Line

I'd managed to change the default setting for "prompt"

1. Log into the Firewall > go to "enable" mode then "Configure Terminal" mode.

User Access Verification

Password:
Type help or '?' for a list of available commands.
> en
Password: ********
# configure terminal
(config)#

2. To change it back to the default, which is (hostname context) issue the following command.
(config)# prompt hostname context
PetesASA(config)#

Note: You would only see the context if you were in multiple mode! You can also add the following,

hostname - the firewalls name.
domain - The firewall configured domain name.
priority - Only when deployed in fail over mode. (pri - primary and sec - secondary).
state - Only when deployed in fail over mode. (act - active, stby - standby, actNoFailover - fail over not enabled and unit is active, and stbyNoFailover - fail over not enabled and unit is in standby).

Option 2 from ASDM

1. Open the ASDM and Navigate to Configuration > Device Management > Management Access > CLI Prompt > Add and Delete as applicable. (Screen shot shows the default).

Click for larger image.

2. When done, click File > Save running configuration to flash.

 

If this post helped you, PLEASE take the time to +1 it.

Please be aware, all information is provided free, but it does cost me to have this site hosted, if I've helped you in any way, or saved you some time/cost please take time to make a donation.

If you have anything to add to an article, or have an article you would like us to publish please feel free to contact PeteNetLive. (Please be aware I get a LOT of email, I cannot assist and fix everyone's problems, please do not be offended if you do not get a response).

References - Credits - Or External Links
NA

 


powered by
Socialbar