Banner motd Command on CISCO Router/Switch

Command

Banner motd

Use

This command is used to set the banner message that is displayed before remote login to the router.

Syntax

Router(config)#banner motd <char> <TEXT> <char>

<char> Can be any character, used to delimit <TEXT> string

Example

In this example, the banner motd command is used to create a login banner on R1. A telnet session is initiated on R3 to login to R1, which then displays the login banner.

R1(config)#banner motd c ***Authorized Login Only*** c
R1(config)#

Telnet session displays the newly set login banner.

R2#telnet 10.1.1.1
Trying 10.1.1.1 … Open
***Authorized Login Only***User Access Verification
Username: test
Password:
R1>

Related Articles

Leave a Reply

avatar

Send this to a friend