Got it

Multiline header. How to make? S5700

Created: Mar 4, 2020 18:36:58Latest reply: Mar 5, 2020 07:27:43 277 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

The manual says: parameter "information" support carriage returns. I tried print CR, r\n\ - unsuccessfully. How to make multiline header without "file" parameter?

  • x
  • convention:

Featured Answers
chenhui
Admin Created Mar 5, 2020 02:27:10

Hi @Gigses,
Please refer the example below:

<HUAWEI> system-view
[HUAWEI] header shell information %      # Press Enter after entering the start character '%' to start the interactive process.
The banner text supports 480 characters max, including the start and the end cha
racter.If you want to enter more than this, use banner file instead.Input banner
 text, and quit with the character '%':
Hello!
Welcome to system!%      # Press Enter after entering the end character '%' to quit the interactive process.
[HUAWEI] quit
<HUAWEI> quit      // Log off.

# Press Enter. The shell header is displayed when the user logs in again.

Hello!
Welcome to system!
<HUAWEI>


View more
  • x
  • convention:

All Answers
chenhui
chenhui Admin Created Mar 5, 2020 02:27:10

Hi @Gigses,
Please refer the example below:

<HUAWEI> system-view
[HUAWEI] header shell information %      # Press Enter after entering the start character '%' to start the interactive process.
The banner text supports 480 characters max, including the start and the end cha
racter.If you want to enter more than this, use banner file instead.Input banner
 text, and quit with the character '%':
Hello!
Welcome to system!%      # Press Enter after entering the end character '%' to quit the interactive process.
[HUAWEI] quit
<HUAWEI> quit      // Log off.

# Press Enter. The shell header is displayed when the user logs in again.

Hello!
Welcome to system!
<HUAWEI>


View more
  • x
  • convention:

Gigses
Gigses Created Mar 5, 2020 06:11:11

Posted by chenhui at 2020-03-05 02:27 Hi @Gigses,Please refer the example below:<HUAWEI> system-view [HUAWEI] header shell information ...
Thanks! I did not understand this point in the manual.
View more
  • x
  • convention:

chenhui
chenhui Admin Created Mar 5, 2020 07:27:43

Posted by Gigses at 2020-03-05 06:11 Thanks! I did not understand this point in the manual.
You are welcom. :D
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.