Add a login banner to your Cisco router

Posted September 18, 2003 by Quinn McHenry in Cisco router

A login banner is displayed whenever someone connects to the router by telnet or console connections.


The syntax for the banner command is:

banner motd {char} {banner text} {char}

where {char} is a special delimeter character that does not exist in the {banner text}. Everything contained between the first and second {char} characters, including carriage returns, is interpreted as the banner message. For example,

config t
banner motd #
******************************************
* Unauthorized access prohibited
******************************************
#

See the comments below for additional, amazing uses for this feature.

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply