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
.
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.