set prompt
3-24 Basic Configuration
set prompt
Usethiscommandtomodifythecommandprompt.
Syntax
set prompt prompt_string
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtosetthecommandprompttoSwitch1:
B5(su)->set prompt “Switch 1”
Switch 1(su)->
show banner motd
Usethiscommandtoshowthebannermessageofthedaythatwilldisplayatsessionlogin.
Syntax
show banner motd
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplaythebannermessageoftheday:
B5(rw)->show banner motd
This system belongs to XYZ Corporation.
Use of this system is strictly limited to authorized personnel.
prompt_string Specifiesatextstringforthecommandprompt.
Note: A prompt string containing a space in the text must be enclosed in quotes as
shown in the example below.