Banners

Banners
You can create a banner to give anyone who shows up on the router exactly the information you
want them to have. Make sure you’re familiar with these four available banner types: exec process
creation banner, incoming terminal line banner, login banner, and message of the day
banner (all illustrated in Table 1.7).
TABLE 1 . 6 Setting a Router Hostname
Command Meaning
Router(config)#hostname name Sets the hostname of this router
TABLE 1 . 7 Setting a Banner
Command Meaning
Router(config)#banner motd # Enters a banner MOTD message and ends the message
with the # character
Router(config)#banner exec # Enters a banner exec message and ends the message
with the # character
Router(config)#banner incoming # Enters a banner incoming message and ends the message
with the # character
Router(config)#banner login # Enters a banner login message and ends the message
with the # character
The following describes the various banners:
MOTD banner The MOTD banner will be displayed whenever anyone attaches to the
router, regardless of how they access the router.
Exec banner You can configure a line activation (exec) banner to be displayed when an
EXEC process (such as a line activation or incoming connection to a VTY line) is created. By
simply starting a user exec session through a console port, you’ll activate the exec banner.
Incoming banner You can configure a banner to be displayed on terminals connected to reverse
Telnet lines. This banner is useful for providing instructions to users who use reverse Telnet.
Login banner You can configure a login banner to be displayed on all connected terminals.
This banner is displayed after the MOTD banner but before the login prompts. The login
banner can’t be disabled on a per-line basis, so to globally disable it, you have to delete it with
the no banner login command.