H3C s3100 series Command Manual page 25

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

undo header { incoming | legal | login | shell }
View
System view
Parameters
incoming: Sets the login banner for users that log in through modems. If you specify to authenticate
login users, the banner appears after a user passes the authentication. (The session does not appear in
this case.)
legal: Sets the authorization banner, which is displayed when a user enters user view.
login: Sets the login banner. The banner set by this keyword is valid only when users are authenticated
before they log in to the switch and appears while the switch prompts for user name and password. If a
user logs in to the switch through Web, the banner text configured will be displayed on the banner page.
shell: Sets the session banner, which appears after a session is established. If you specify to
authenticate login users, the banner appears after a user passes the authentication.
text: Banner to be displayed. If no keyword is specified, this argument is the login banner. You can
provide this argument in two ways. One is to enter the banner in the same line as the command (A
command line can accept up to 254 characters.) The other is to enter the banner in multiple lines (you
can start a new line by pressing Enter,) where you can enter a banner that can contain up to 2000
characters (including the invisible characters such as carriage return). Note that the first character is the
beginning character and the end character of the banner. After entering the end character, you can
press Enter to exit the interaction.
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:
If you specify any one of the four keywords without providing the text argument, the specified
keyword will be regarded as the login information.
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.
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.
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.
The banner configured with the header shell command is displayed after a non-modem user
session is established.
1-10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents