Prelogin Banner, System Prompt, and Host Name Commands
Use these commands to configure the prelogin banner and the system prompt.
The prelogin banner is the text that displays before you login at the User: prompt.
copy (pre-login banner)
M4250
M4350
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.
| Default | none |
| Format |
|
| Mode | Privileged EXEC |
set prompt
M4250
M4350
This command changes the name of the prompt. The length of name may be up to 64 alphanumeric characters.
| Format | set prompt prompt-string |
| Mode | Privileged EXEC |
hostname
M4250
M4350
This command sets the system host name. It also changes the prompt. The length of name may be up to 64 alphanumeric, case-sensitive characters.
| Format | hostname hostname |
| Mode | Privileged EXEC |
show clibanner
M4250
M4350
Use this command to display the configured prelogin CLI banner. The prelogin banner is the text that displays before displaying the CLI prompt.
| Default | No contents to display before displaying the login prompt. |
| Format | show clibanner |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch) #show clibanner
Banner Message configured:
=========================
--------------------------
TEST
--------------------------
set clibanner
M4250
M4350
Use this command to configure the prelogin CLI banner before displaying the login prompt.
| Format | set clibanner line |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| line | Banner text where ““ (double quote) is a delimiting character. The banner message can be up to 2000 characters. |
no set clibanner
Use this command to unconfigure the prelogin CLI banner.
| Format | no set clibanner |
| Mode | Global Config |