187
header
Syntax
header
{
incoming
|
legal
|
login
|
motd
|
shell
}
text
undo header
{
incoming
|
legal
|
login
|
motd
|
shell
}
View
System view
Default level
2: System level
Parameters
incoming
: Configures the banner displayed before a Modem dial-up user accesses user view. If
authentication is required, the incoming banner appears after the authentication is passed.
legal
: Configures the banner displayed before a user inputs the username and password to access the
CLI.
login
: Configures the banner displayed before password or scheme authentication is performed for a
login user.
motd
: Configures the greeting banner displayed before the legal banner appears.
shell
: Configures the banner displayed before a non-Modem dial-in user accesses user view.
text
: Banner message, which can be input in two formats. For more information, see
Fundamentals
Configuration Guide
.
Description
Use the
header
command to create a banner.
Use the
undo header
command to clear a banner.
Banners are greeting or alert messages that the system displays during the login process of a user.
Examples
# Configure banners.
<Sysname> system-view
[Sysname] header incoming %
Please input banner content, and quit with the character '%'.
Welcome to incoming(header incoming)%
[Sysname] header legal %
Please input banner content, and quit with the character '%'.
Welcome to legal (header legal)%
[Sysname] header login %
Please input banner content, and quit with the character '%'.
Welcome to login(header login)%
[Sysname] header motd %
Please input banner content, and quit with the character '%'.
Welcome to motd(header motd)%
[Sysname] header shell %
Please input banner content, and quit with the character '%'.
Welcome to shell(header shell)%