Administrator Guide

Switch Management Commands 2180
banner exec
Use the banner exec command to set the message that is displayed after a
successful login. Use the no form of the command to remove the set message.
Syntax
banner exec
MESSAGE
no banner exec
MESSAGE
— Quoted text
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration
User Guidelines
The exec message may consist of multiple lines. Enter a quote to complete
the message and return to configuration mode. Up to 2000 characters may be
entered into a banner. Each line entered will consume an extra two characters
to account for the carriage return and line feed.
Example
console(config)# banner exec "banner text"
banner login
Use the banner login command to set the message that is displayed just
before the login prompt after a user has successfully connectced to the switch
and prior to the login banner. Use no banner login command to remove the
message.
Syntax
banner login
Message
no banner login
Message
— Quoted text
2CSNXXX_SWUM204.book Page 2180 Monday, January 25, 2016 1:25 PM