Configuration procedure, Configuring the exception handling method – H3C Technologies H3C S12500 Series Switches User Manual

Page 174

Advertising
background image

162

end the final line with a delimiter that is the same as the start delimiter. For example, you can

configure the banner “Have a nice day. Please input the password.” as follows:

<System> system-view

[System] header shell A

Please input banner content, and quit with the character 'A'.

Have a nice day.

Please input the password.A

{

Method 3—After you type the final keyword, type the start delimiter and part of the banner

message and press Enter. At the system prompt, enter the rest of the banner and end the final

line with a delimiter that is the same as the start delimiter. Using this method, you can use any
character as the start and end delimiters but must make sure that it is not the same as the end

character of the message text in the first line. For example, you can configure the banner “Have

a nice day. Please input the password.” as follows:

<System> system-view

[System] header shell AHave a nice day.

Please input banner content, and quit with the character 'A'.

Please input the password.A

Configuration procedure

To configure a banner:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the incoming
banner.

header incoming text Optional.

3.

Configure the login banner.

header login text Optional.

4.

Configure the legal banner.

header legal text Optional.

5.

Configure the shell banner.

header shell text Optional.

6.

Configure the MOTD banner. header motd text Optional.

Configuring the exception handling method

In standalone mode, when the system detects any software abnormality on the active main processing

unit (MPU), it handles the situation with one of the following methods:

reboot—The device automatically reboots the failed active MPU 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. Using this method, you must manually reboot the device.

The system always reboots a card or the auxiliary CPU system when an exception occurs to them.
To configure the exception handling method:

Step Command

Remarks

1.

Enter system view.

system-view N/A

Advertising