C H A P T E R  32

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:


procedure icon  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.