The header command configures the title contents to be displayed at a login.
The undo header command deletes the title contents to be displayed at a login.
By default, no title is displayed if a user logs in.
Parameter | Description | Value |
---|---|---|
login |
Displays the title when the terminal connection is activated during the login to the device. |
- |
file file-name |
Specifies the file name used in the title. |
The value is a string of 1 to 64 characters without spaces. The size of a title file should be equal to or smaller than 2 KB. For a title file larger than 2 KB, only the contents of the first 2 KB are displayed. |
file-name |
Specifies the file name used in the title. |
The value is a string of 1 to 64 characters without spaces. The size of a title file should be equal to or smaller than 2 KB. For a title file larger than 2 KB, only the contents of the first 2 KB are displayed. |
shell |
Displays the title when a session is set up after the successful login to the device. |
- |
information text |
Specifies the title information. |
The value is a string of 1 to 480 characters with spaces supported. |
Usage Scenario
Configuration Impact
If you run the header command several times, the last configuration overrides the previous configuration.
After the login title is configured, any user that logs in to the system can view the title.
Precautions
<HUAWEI> system-view [~HUAWEI] header shell information hHello Welcomeh
<HUAWEI> system-view [~HUAWEI] header login file cfcard:/header-file.txt