3com 8807 Reference Guide

Page of 1099
Logging in to Switch Commands
49
text: Specifies the title text. If you do not choose any keyword in the command, 
the system displays the login information by default. The system supports two 
types of input modes: one is to input all the text in one line, and altogether 256 
characters, including command key word, can be input; the other is to input all 
the text in several lines using the <Enter> key, and altogether 1024 characters, 
excluding command key word, can be input. The text starts and ends with the first 
character. After inputting the end character, press the <Enter> key to exit the 
interact process.
Description
Use the header command to configure to display header when user login.
Use the undo header command to configure not to display the header.
When the user logs in to the switch, if a connection is activated, the login header 
will be displayed. After the user successfully logs in to the switch, the shell header 
will be displayed.
Note that if you press <Enter> after typing any of the three keywords shelllogin 
and incoming in the command, then what you type after the word header is the 
contents of the login information, instead of identifying header type.
You can judge whether the initial character can be used as the header contents 
this way:
Input texts in multiple lines. You need to enter only one character in the first line. 
The character and the last character of the string entered serve as the identifiers of 
the header content and must be the same. For example,
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] header shell 0
 
Input banner text, and quit with the character ’0’.
 
Welcome !0 
(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 
"welcome!" is displayed on the terminal screen.
The initial character 0 is not header contents.
For another example,
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] header shell 0
 
Input banner text, and quit with the character ’0’.
 
Hello,
 
Welcome!0 
(The starting and ending characters must be the same, and press the <Enter> key 
to finish a line)