3com 8807 Reference Guide

Page of 1099
50
C
HAPTER
 2: C
OMMANDS
 U
SED
 
TO
 L
OG
 
IN
 
TO
 S
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.
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.
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 !
 
(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.)