|
|
How do I override the hostname prompt? |
| http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/ffun_r/ffrprt3/frf012.htm#1025639
sean@ertw.com | |
| Start off with no hostname configured:
Router# Set a hostname:
Router(config)#hostname r0 r0(config)#exit r0# Note that both the main prompt, and the config prompt say "r0" Set the prompt with "prompt"
r0#conf t Enter configuration commands, one per line. End with CNTL/Z. r0(config)#prompt Your_Wish# r0(config)#exit Your_Wish#
"Your Wish#" overrides the main prompt, not the configure prompt.
| |
| You can use variables to customize the prompt (from doccd)
%h - Host name. This is either Router or the name defined with the hostname global configuration command. | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||