Use the CLI commands in this topic to configure the messages users see when they log in to the appliance.
The login message is shown after the username is entered.
The local login message is shown in the CLI login after the username is entered.
The remote login message is shown in the SSH login page.
The message of the day is shown after the password is entered and the user is authenticated.
Note
Messages can be longer than one line. To add a new line, type >. Each message can contain up to 2000 characters.
Operator or Admin access
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Display the current banner text:
hostname (config) # show bannerPerform the following tasks as needed.
To configure the same message for the local login message (that appears in the CLI login) and the remote login message (that appears in the Web UI login page and SSH login page), use the following command:
hostname (config) # banner login "<text>"Important
The login message you configure using the
banner login "<text>"command also overwrites the remote message that is displayed on the Web UI login page and SSH login page. Use the Customizing login messages using the web UI to specify a unique Web UI and SSH login message.
To change the local login message only, use the following command:
hostname (config) # banner login-local "<text>"
To change the remote login message only, use the following command:
hostname (config) # banner login-remote "<text>"
To change the message of the day, use the following command:
hostname (config) # banner motd "<text>"
To clear the local login message, the remote login message, or both:
hostname (config) # banner login "" hostname (config) # banner login-local "" hostname (config) # banner login-remote ""
To clear the message of the day:
hostname (config) # banner motd ""
To restore the default messages:
hostname (config) # no banner login hostname (config) # no banner motd
Save your changes.
hostname (config) # write memory
Examples
The following example changes the message of the day.
hostname (config) # banner motd “There are no maintenance activities scheduled for this week.”The following example changes the local and remote login messages:
hostname (config) # banner login "This FireEye appliance is the property of Acme, Inc.
>
>Unauthorized access is prohibited and is punishable by law."The following example shows the current messages.
hostname # show banner
Banners:
Message of the Day (MOTD): There are no maintenance activities scheduled for this week.Login: This FireEye appliance is the property of Acme, Inc. Unauthorized access is prohibited and is punishable by law.
The following example shows the default messages:
hostname # show banner
Banners:
Message of the Day (MOTD): FireEye Command Line InterfaceLocal login: This system is for the use of authorized users only. > >Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.
Network login: This system is for the use of authorized users only. > >Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.