Name
prompt — global
Synopsis
promptstring
no promptstring
Configures
The router prompt
Default
%h%p
Description
This command sets the prompt to the specified string. The string can have any combination of characters and escape sequences. The special characters are listed in Table 17-18. Use the no
form of this command to set the system prompt to the default value.
Escape sequence |
Meaning |
|
Percent character |
|
Hostname of the router |
|
TTY number for this EXEC session |
|
The prompt character; either > for user level or # for privileged level |
|
Space character |
|
Tab character |
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.