User guide
Modifying the Login Banner Logging Into the Switch
page 2-14 OmniSwitch AOS Release 7 Switch Management Guide March 2015
Modifying the Login Banner
The Login Banner feature allows you to change the banner that displays whenever someone logs into the
switch. This feature can be used to display messages about user authorization and security. You can
display the same banner for all login sessions or you can implement different banners for different login
sessions. You can display a different banner for logins initiated by FTP sessions than for logins initiated
by a direct console or a Telnet connection. The default login message looks similar to the following:
login : user123
password :
Welcome to the Alcatel-Lucent OS10K
Welcome to the Alcatel-Lucent OS6900-X40 7.3.3.384.R01 GA, December 08, 2013.
Copyright (c) 1994-2013 Alcatel-Lucent. All Rights Reserved.
OmniSwitch(TM) is a trademark of Alcatel-Lucent registered
in the United States Patent and Trademark Office.
Here is an example of a banner that has been changed:
login : user123
password :
Welcome to the Alcatel-Lucent OS10K
Welcome to the Alcatel-Lucent OS6900-X40 7.3.3.384.R01 GA, December 08, 2013.
Copyright (c) 1994-2013 Alcatel-Lucent. All Rights Reserved.
OmniSwitch(TM) is a trademark of Alcatel-Lucent registered
in the United States Patent and Trademark Office.
********** LOGIN ALERT ************************
This switch is a secure device. Unauthorized
use of this switch will go on your permanent record.
Two steps are required to change the login banner. These steps are listed here:
• Create a text file that contains the banner you want to display in the switch’s /flash/switch directory.
• Enable the text file by entering the session banner CLI command followed by the filename.
To create the text file containing the banner text, you may use the vi text editor in the switch or you create
the text file using a text editing software package and transfer the file to the switch’s /flash/switch direc-
tory.
If you want the login banner in the text file to apply to FTP switch sessions, execute the following CLI
command where the text filename is firstbanner.txt.
-> session ftp banner/flash/switch/firstbanner.txt
If you want the login banner in the text file to apply to CLI switch sessions, execute the following CLI
command where the text filename is secondbanner.txt.
-> session cli banner /flash/switch/secondbanner.txt
If you want the login banner in the text file to apply to HTTP switch sessions, execute the following CLI
command where the text filename is thirdbanner.txt.
-> session http banner/flash/switch/thirdbanner.txt