Command Reference Guide
Banner, Prompt, and Host Name Commands
CLI Command Reference
September 2014 Page 136
HP Moonshot Switch Module CLI Command Reference
Banner, Prompt, and Host Name Commands
This section describes the commands you use to configure the pre-login banner and the system prompt. The
pre-login banner is the text that displays before you login at the
User: prompt.
copy (pre-login banner)
The copy command includes the option to upload or download the CLI Banner to or from the switch. You can
specify local URLs by using FTP, TFTP, SFTP, SCP, or Xmodem.
set prompt
This command changes the name of the prompt. The length of name may be up to 64 alphanumeric characters.
hostname
This command sets the system hostname. It also changes the prompt. The length of name may be up to 64
alphanumeric, case-sensitive characters.
Note: The parameter ip6address is also a valid parameter for routing packages that support IPv6.
Default none
Format
copy <tftp://<ipaddr>/<filepath>/<filename>> nvram:clibanner
copy nvram:clibanner <tftp://<ipaddr>/<filepath>/<filename>>
Mode Privileged EXEC
Note: For more information about copying files, including command formats for protocols other than
TFTP, see “copy” on page 196.
Format
set prompt prompt_string
Mode Privileged EXEC
Format
hostname hostname
Mode Privileged EXEC