29
authentication is required, the legal banner displays right after the legal banner
before the login authentication.
If password authentication or scheme authentication is required, the login banner
at authentication configured with the header login command displays after the
login banner before the login authentication.
The banner configured with the header shell command displays right after the user
session is established.
Examples
Example 1:
Configure banners.
<Sysname> system-view
[Sysname] header incoming %
Input banner text, and quit with the character '%'.
Welcome to incoming(header incoming)%
[Sysname] header legal %
Input banner text, and quit with the character '%'.
Welcome to legal (header legal)%
[Sysname] header login %
Input banner text, and quit with the character '%'.
Welcome to login(header login)%
[Sysname] header motd %
Input banner text, and quit with the character '%'.
Welcome to motd(header motd)%
[Sysname] header shell %
Input banner text, and quit with the character '%'.
Welcome to shell(header shell)%
NOTE:
In this example, % acts as the beginning/end character of the text. After the text is displayed,
enter the % character to end the text and quit the header command. The character % is the
starting/ending character of text in this example. Entering % after the displayed text quits the
header command.
As the beginning/end character, the % character does not act as part of the welcome
information. As the starting and ending character, % is not a part of a banner.
Example 2:
Test the configuration remotely using Telnet. (The login banner can be displayed only
when login authentication is configured).
****************************************************************************
* Copyright (c) 2004-2009 Hangzhou H3C Tech. Co., Ltd. All rights reserved.*