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
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.
Copy
R1(config)#banner motd c ***Authorized Login Only*** c
R1(config)#
Telnet session displays the newly set login banner.
Copy
R2#telnet 10.1.1.1
Trying 10.1.1.1 … Open
***Authorized Login Only***User Access Verification
Username: test
Password:
R1>