set prompt
2-20 Basic Configuration
set prompt
Usethiscommandtomodifythecommandprompt.
Syntax
set prompt prompt_string
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtosetthecommandprompttoSwitch1:
D2(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:
D2(rw)->show banner motd
O Knights of Ni, you are just and
fair, and we will return with a shrubbery
-King Arthur
prompt_string Specifiesatextstringforthecommandprompt.
Note: A prompt string containing a space in the text must be enclosed
in quotes as shown in the example below.