A logon banner will be displayed whenever someone connects to the router via telnet, SSH or console connections.
The syntax for the banner command is:
banner motd {char} {banner text} {char}
where {char} defines a delimeter character that does not show in the {banner text}. All text contained between the first and second {char} characters, is beeing interpreted as the banner message.
For example,
config t
banner motd #
******************************************
* Unauthorized access prohibited
******************************************
#
Will give you anything between the first and second "#" and display as
******************************************
* Unauthorized access prohibited
******************************************
You can also enter a neat little text editing mode by entering
banner motd^
To exit that mode when you are finished editing your message just enter "^" followed by ENTER
No comments:
Post a Comment