O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

banner exec — global

Synopsis

banner exec delimiter message delimiter
no banner exec

Configures

The banner that is displayed to the user upon successful login

Default

None

Description

This command specifies the message that is displayed after the user has logged in to the router. It is not displayed for reverse-telnet connections. This command defines only the banner message; use the exec-banner command to enable or disable the message. The delimiter marks the beginning and the end of the message; it may be any character that isn’t used in the message.

Example

Here’s an example of a banner:

Router(config)# banner exec # Welcome to Pyramid #

You can also do multiple lines:

Router(config)# banner exec #
Enter TEXT message.  End with the character '#'.
Welcome to Pyramid
   Enjoy your stay
#

To delete the banner:

Router(config)#no banner exec

By default, this banner is automatically active; disabling the banner requires the use of no exec-banner:

Router(config)#no exec-banner

Note that disabling the exec-banner also disables the motd-banner.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required