3com 4500 PWR 26-PORT User Manual

Page of 466
26
C
HAPTER
 1: U
SING
 S
YSTEM
 A
CCESS
 C
OMMANDS
If you press <Enter> after typing any of the three keywords shell, login 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: 
If there is only one character in the first line and it is used as the identifier, this 
initial character pairs with the ending character and is not the header contents.
If there are many characters in the first line but the initial and ending characters 
are different, this initial character pairs with the ending character and is the 
header contents. 
There are many characters in the first line and the initial character is identical with 
the ending character, this initial character is not the header contents.
Example
Configure the header of setting up a session.
Mode 1: Input in one line
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]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 on the Switch again, the terminal displays the configured session 
establishment title.
[4500]quit
<4500>quit
Please press ENTER
SHELL: Hello! Welcome 
The initial character "%" is not the header contents.
<4500>
Mode 2: Input in several lines
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]header shell % SHELL: 
After you pressing the <Enter> key, the system prompts the following message:
Input banner text, and quit with the character '%'.
Go on inputting the rest text and end your input with the first letter:
Hello! Welcome % 
Press the <Enter> key.
[4500]