Have a nice day.
Please input the Password.%
Method II—Type a character after the command keywords at the first line, and then press Enter.
•
Type the banner information, and end with the character you typed at the first line. The start
character and the end character are not part of the banner information. For example, to configure
a banner like "Have a nice day. Please input the Password.", use the following commands:
<System> system-view
[System] header shell A
Please input banner content, and quit with the character 'A'.――System prompt
Have a nice day.
Please input the Password.A
Method III—Type multiple characters after the command keywords at the first line (with the first and
•
last characters being different), and then press Enter. Type the rest banner information, and end
with the first character you typed at the first line. The first input character at the first line and the end
character are not part of the banner information. For example, to configure a banner like "Have a
nice day. Please input the Password.", use the following commands:
<System> system-view
[System] header shell AHave a nice day.
Please input banner content, and quit with the character 'A'.――System prompt
Please input the Password.A
Configuration procedure
Follow these steps to configure a banner:
To do...
Enter system view
Configure the incoming banner
Configure the login banner
Configure the legal banner
Configure the shell banner
Configure the MOTD banner
Configuring the exception handling method
You can configure the device to handle system exceptions in one of the following methods:
•
reboot—The device automatically reboots to recover from the error condition.
maintain—The device stays in the error condition so you can collect complete data, including error
•
messages, for diagnosis. In this approach, you must manually reboot the device.
Follow these steps to configure the exception handling method:
To do...
Enter system view
Configure the exception handling
method
Use the command...
system-view
header incoming text
header login text
header legal text
header shell text
header motd text
Use the command...
system-view
system-failure { maintain | reboot }
152
Remarks
—
Optional
Optional
Optional
Optional
Optional
Remarks
—
Optional
By default, the system reboots
when an exception occurs.