Creating a Pre-Login Banner
|
This chapter describes the Pre-Login Banner feature and how to create a banner. The Pre-Login Banner feature is only for the CLI interface.
This chapter contains the following topics:
Creating a Pre-login Banner via CLI
This feature allows you to create message screens when logging into the CLI Interface. The following apply:
- By default, no Banner file exists
- Banner can be uploaded or downloaded
- File size cannot be larger than 2K
To Create a Pre-Login Banner
|
1. On your PC, using Notepad or another text editor, create a banner.txt file that contains the banner to be displayed, such as the following example.
FASTPATH’s Login Banner - Unauthorized access is punishable by law.
|
2. Transfer the file from the PC to the switch using TFTP.
CODE EXAMPLE 32-1 Creating a Pre-login Banner
(DTI SWITCH) # copy tftp://192.168.77.52/banner.txt nvram:clibanner
Mode........................................... TFTP
Set TFTP Server IP............................. 192.168.77.52
TFTP Path...................................... ./
TFTP Filename.................................. banner.txt
Data Type...................................... Cli Banner
Are you sure you want to start? (y/n) y
CLI Banner file transfer operation completed successfully!
(DTI SWITCH) #exit
(DTI SWITCH) >logout
FASTPATH’s Login Banner - Unauthorized access is punishable by law.
User:
|
Removing a Pre-login Banner via CLI
Use the no clibanner command to remove the banner from the switch.
Sun Netra CP3240 Switch User’s Guide
|
820-3252-11
|
|
© 2007 Diversified Technology, Inc. All Rights Reserved. © 2009 Sun Microsystems, Inc. All rights reserved.