50
C
2: C
HAPTER
OMMANDS
U
L
S
SED TO
OG IN TO
WITCH
When you log in to the switch again, the preset session establishment header
"Hello, welcome!" is displayed on the terminal screen. The initial character 0 is
not header content.
2 You can also input the header content in a single line. In this case, the beginning
and the end character serve as the identifiers and must be the same. For example,
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] header shell 0welcome,my friend!0
(The starting and ending characters must be the same. Press the <Enter> key to
finish a line)
When you log in to the switch again, the preset session establishment header
"welcome, my friend!" appears on the terminal screen. The beginning and the
end characters, that is, character 0, are not displayed.
3 Finally, you can input the header content in multiple lines, with multiple characters
contained in the first line. The initial character is different from the ending one and
the initial character pairs with the ending one. The initial character is the text
contents, for example,
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] header shell hello
Input banner text, and quit with the character 'h'.
my friend !
h
(The starting and ending characters must be the same, and press the <Enter> key
to finish a line)
When you log in to the switch again, the preset session establishment header
"hello, my friend!" is displayed on the terminal screen. The initial character "h" is
the header contents.
Example
# Set the header for the switch.
Option 1: Input in one line
<SW8800>system-view
System View: return to User View with Ctrl+Z.
[SW8800] header shell %SHELL: Hello! Welcome%
(The starting and ending characters must be the same, and press the <Enter> key
to finish a line.)
When you log in to the switch again, the terminal displays the header you set.
[SW8800] quit
<SW8800> quit
Please press ENTER
SHELL: Hello! Welcome
(The character "%" is not displayed.)
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers