Banner input modes
You can configure a single-line banner or a multiline banner.
Single-line banner.
A single-line banner must be input in the same line as the command. The start and end delimiters for the banner can be any printable character. However, they must be the same and must not be included in the banner. The input text, including the command keywords and the delimiters, cannot exceed 510 characters. Do not press Enter before you input the end delimiter.
For example, you can configure the shell banner "Have a nice day." as follows:
<System> system-view [System] header shell %Have a nice day.%
Multiline banner.
A multiline banner can be up to 2000 characters. To input a multiline banner, use one of the following methods:
Method 1—Press Enter after the last command keyword. At the system prompt, enter the banner and end the last line with the delimiter character %. For example, you can configure the banner "Have a nice day. Please input the password." as follows:
<System> system-view [System] header shell Please input banner content, and quit with the character '%'. Have a nice day. Please input the password.%
Method 2—After you type the last command keyword, type any single printable character as the start delimiter for the banner and press Enter. At the system prompt, type the banner and end the last line with the same 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 last command keyword, type the start delimiter and part of the banner and press Enter. At the system prompt, enter the rest of the banner and end the last line with the same delimiter. 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