To specify a banner used when you have an incoming connection to a line from a host on the network, use the banner incoming global configuration command. Use the no form of this command to delete the incoming connection banner.
banner incoming d message d
no banner incoming
d  Delimiting character of your choice a pound sign (#), for example. You cannot use the delimiting character in the banner message.
message  Message text.
No banner is displayed.
Global configuration
Release | Modification | 10.0 | This command was introduced. |
---|
Follow this command with one or more blank spaces and a delimiting character of your choice. Then enter one or more lines of text, terminating the message with the second occurrence of the delimiting character.
An incomingconnection is one initiated from the network side of the router. Incoming connections are also called reverse Telnet sessions. These sessions can display MOTD banners and incoming banners, but they do not display EXEC banners. Use the no motd-banner line configuration command to disable the MOTD banner for reverse Telnet sessions on asynchronous lines.
When a user connects to the router, the MOTD banner appears before the login prompt. After the user successfully logs in to the router, the EXEC banner or incoming banner will be displayed, depending on the type of connection. For a reverse Telnet login, the incoming banner will be displayed. For all other connections, the router will display the EXEC banner.
Incoming banners cannot be suppressed. If you do not want the incoming banner to appear, you must delete it with the no banner incoming command.
The following example sets an incoming connection banner. The pound sign (#) is used as a delimiting character.
banner incoming #This is the Reuses router.#
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.