01-16-2004 07:46 AM - edited 03-02-2019 12:56 PM
How do you remove a prompt on a CatOS switch after one was set using the"set prompt" command.
Thanks, Steve
01-16-2004 08:22 AM
I am not 100% however try NO set prompt or I believe the "set prompt " will work if left blank after prompt. HTH I will await reply's from others that may be sure.
01-16-2004 11:25 AM
Probably just "set prompt" enter , this will clear the prompt . The same way you clear a name on a port .
01-16-2004 01:30 PM
This won't work.
test (enable) set prompt
Usage: set prompt
You need to override the current prompt with some other string.
01-21-2004 07:48 AM
So it can't be done. Is this a bug?
01-22-2004 05:39 AM
In order to remove a prompt that you have set using the CatOS, you must clear the configuration. You can just clear the system specific configuration (clear config system) and remove the prompt setting (keep reading!).
This will unfortunately clear anything that is a non-default setting under this section of the configuration. You can view that portion of the config with the command (show config system).
This is not a bug, it is simply the way it works. In the original CatOS code, the prompt did not follow the system name, you had to set both parameters on the switch. As the code evolved, Cisco changed the OS so that, if the prompt is the default, the OS would insert the system name into the prompt. However once the prompt was set, the only way to get it to follow the system name again is to clear the configuration.
01-22-2004 06:17 AM
OK, its not a bug, just an oversight. Imagine if you had to clear the config to remove a port name, or a vlan. or a boot statement. Truly dopey.
01-22-2004 06:22 AM
I totally agree!
01-23-2004 06:27 AM
Set it back to the default
"set prompt Console>"
When you do this the prompt will once again become the hostname followed by ">". ie: if your hostname is "cat1", the prompt would then be:
cat1>
01-23-2004 07:23 AM
You are Correct! I have tried this in the past, but I did not capitilize the "C" in console!
Thanks for the information.
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