Huawei Quidway S3900 series Command Manual page 25

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – Login
Quidway S3900 Series Ethernet Switches-Release 1510
login: Sets the login banner. The banner set by this keyword is valid only when users
are authenticated before they log into the switch and appears while the switch prompts
for user name and password.
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). 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.
Note that if you specify any one of the three keywords without providing the text
argument, the specified keyword will be regarded as the login information.
You can specify the banner in the following three ways, each of which requires that the
first character and the last character of the banner be the same.
Enter the banner in multiple lines. If you only type one character in the first line of a
banner, the character and the last character do not act as part of the banner. The
following gives an example of this way.
[Quidway] header shell 0
Input banner text, and quit with the character '0'.
Welcome!0
When you log in the next time, "Welcome!" is displayed as the banner. The beginning
character and the end character (character 0) do not appear.
Enter the banner in multiple lines. If you type multiple characters in the first line of
a banner and the beginning and the end characters of the banner in this line are
not the same, the beginning character is part of the banner. The following is an
example.
[Quidway] header shell hello
Input banner text, and quit with the character 'h'.
my friend !
Huawei Technologies Proprietary
1-9
Chapter 1 Login Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents