Displaying a console message when an incoming Telnet session is detected
This message indicates where the user is connecting from and displays a configurable text message.
device(config)# banner incoming $ (Press Return) Enter TEXT message, End with the character '$'. Incoming Telnet Session!! $
When a user connects to the CLI using Telnet, the following message appears on the Console.
Telnet from 209.157.22.63 Incoming Telnet Session!!
As with the
banner motd command, you begin and end the message with a delimiting character; in this example,
the delimiting character is $(dollar sign). The delimiting character can be any character
except “ (double-quotation mark) and cannot appear in the banner text. The text in
between the dollar signs is the contents of the banner. Banner text can be up to 4000
characters, which can consist of multiple lines.