Command Manual (For Soliton) – Login
H3C S3100 Series Ethernet Switches
Chapter 1 Login Commands
1-12
Description
Use the
header
command to set the banners that are displayed when a user logs into a
switch. The login banner is displayed on the terminal when the connection is
established. And the session banner is displayed on the terminal if a user successfully
logs in.
Use the
undo header
command to disable displaying a specific banner or all banners.
By default, no banner is configured.
Note the following:
z
If you specify any one of the four keywords without providing the
text
argument,
the specified keyword will be regarded as the login information.
z
The banner configured with the
header incoming
command is displayed after a
modem user logs in successfully or after a modem user passes the authentication
when authentication is required. In the latter case, the
shell
banner is not
displayed.
z
The banner configured with the
header legal
command is displayed when you
enter the user interface. If password authentication is enabled or an authentication
scheme is specified, this banner is displayed before login authentication.
z
With password authentication enabled or an authentication scheme specified, the
banner configured with the
header login
command is displayed after the banner
configured with the
header legal
command and before login authentication.
z
The banner configured with the
header shell
command is displayed after a
non-modem user session is established.
Examples
# Configure banners.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] header login %Welcome to login!%
[Sysname] header shell %
Input banner text, and quit with the character '%'.
Welcome to shell!%
[Sysname] header incoming %
Input banner text, and quit with the character '%'.
Welcome to incoming!%
[Sysname] header legal %
Input banner text, and quit with the character '%'.
Welcome to legal!%