R1(config)#banner exe #hostname $(hostname) line $(line)#
R1(config)#banner login # welcome banner login#
R1(config)#banner motd #message-of-the-day banner #
R3#telnet 192.168.10.1
Trying 192.168.10.1 … Open
message-of-the-day banner welcome banner login
User Access Verification
Password:
hostname R1 line 98
R1>
Tabelas com os comandos detalhados:
| Token | Information Displayed in the Banner |
| $(hostname) | Displays the host name for the router. |
| $(domain) | Displays the domain name for the router. |
| $(line) | Displays the vty or tty (asynchronous) line number. |
| $(line-desc) | Displays the description attached to the line. |
| Command | Description |
| banner exec | Defines a customized banner to be displayed whenever the EXEC process is initiated. |
| banner login | Defines a customized banner to be displayed before the username and password login prompts. |
| banner motd | Defines a customized message-of-the-day banner. |