Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    Sending Messages to the Terminals

    You can send a message to one or more terminals with the send command. You can specify a line number, a console number, or a vty number. You can also send the message to all terminals.

    Note: If you begin the message on the same line as the send command, the first character of the message is considered to be a delimiter. You must use the same character to terminate the message.

    To send a message to one or more terminals:

    • Send the message “ hello console” to line 0. A double quotation mark () is used as a delimiter.
      host1#send 0 “ hello console”
    • Send the message “ hello everyone” to all terminals. A double quotation mark () is used as a delimiter.
      host1#send * “ hello everyone”
    • Send a multiple line message to a vty line. If you press Enter without typing the second delimiter, the CLI prompts you for more message text and reminds you to complete the message with the delimiter.
      host1#send vty4 XYou can start a message on the same line Enter remainder of text message. End with the character 'X'. and continue it on subsequent lines; the CLI prompts you for Enter remainder of text message. End with the character 'X'. more message text until you enter the second delimiterX Proceed with send? [confirm]
    • Send the message without using delimiters. If you do not begin the message on the same line as the send command, the CLI prompts you for the message text after you press Enter. The CLI does not recognize delimiters for these messages; you must enter Ctrl+z.
      host1#send 0 Enter remainder of text message. End with ^Z. Good morning, Major Tom^Z Proceed with send? [confirm]

    The receiving terminals display the message without regard to other output currently displayed on the terminal. Pagination is not affected. The receiving terminal displays the message, the line number of the sender, the username of the sender if the user was authenticated through RADIUS, and the time the message was sent.

    The sending terminal is not affected by the state of the intended receiving terminal. For example, if the receiving terminal is flow-controlled off or at a --More-- prompt, the message is still sent, and the sending terminal is available for further commands. The receiving terminal in this case displays the message when subsequently flow-controlled on or when the user responds to the --More-- prompt.

     

    Related Documentation

     

    Published: 2014-08-12