Command Manual – Login
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands
Huawei Technologies Proprietary
1-10
h
When you log in the next time, “hello” and “my friend !“ is displayed respectively in two
lines as the banner. The beginning character “h” appears in the banner.
z Enter the banner in a single line. You can also specify the banner in a single line. In
this case, the banner does contain the beginning and the end character. The
following is an example.
[Quidway] header shell 0welcome,my friend!0
When you log in the next time, “welcome, my friend!” is displayed as the banner.
Example
# Set the session banner.
Option 1: Enter the banner in the same line as the command.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] header shell %SHELL: Hello! Welcome%
(Make sure the beginning and end characters of the banner are the same.)
When you log in the next time, the session banner appears on the terminal as the
following:
[Quidway] quit
<Quidway> quit
Please press ENTER
SHELL: Hello! Welcome
(The beginning and end characters of the banner are not displayed.)
<Quidway>
Option 2: Enter the banner in multiple lines.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] header shell %SHELL:
(Following appears after you press <Enter>:)
Input banner text, and quit with the character '%'.
Continue entering the banner and end the banner with the character identical with the
beginning character of the banner.
Hello! Welcome %
(Press <Enter>.)
[Quidway]
When you log in the next time, the session banner appears on the terminal as the
following: