Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Logging Into the Switch Modifying the Login Banner
OmniSwitch 6600 Family Switch Management Guide March 2005 page 1-15
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 OmniSwitch 6000
Software Version 5.1 Development, September 2, 2002.
Copyright(c), 1994-2002 Alcatel Internetworking, Inc. All Rights reserved.
OmniSwitch(TM) is a trademark of Alcatel Internetworking, Inc. 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 OmniSwitch 6000
Software Version 5.1 Development, September 2, 2002.
Copyright(c), 1994-2002 Alcatel Internetworking, Inc. All Rights reserved.
OmniSwitch(TM) is a trademark of Alcatel Internetworking, Inc. 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 (See
Chapter 2, “Managing System Files,” for information about creating files directly on the switch.) This
method allows you to create the file in the /flash directory without leaving the CLI console session. You
can also create the text file using a text editing software package (such as MS Wordpad) and transfer the
file to the switch’s /flash directory. For more information about file transfers, see Chapter 2, “Managing
System Files.”
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 banner ftp /flash/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 banner cli /flash/secondbanner.txt
The banner files must contain only ASCII characters and should bear the .txt extension. The switch will
not reproduce graphics or formatting contained in the file.