Name

send — command

Synopsis

send {line-number | * | aux n | console n | tty n | vty n} message

Description

This command sends a message immediately to one or more terminals. It is not stored in the router’s configuration.

line-number

The line number to which to send the message.

*

Sends the message to all TTY lines.

aux n

The AUX port to which to send the message.

tty n

The TTY port to which to send the message.

vty n

The VTY port to which to send the message.

console n

The console line to which to send the message.

message

The message you wish to send. It may span multiple lines, and must be terminated with Ctrl-Z on a line by itself.

Example

The following commands send a message to all TTY lines:

Routersend *
Enter message, end with CTRL/Z; abort with CTRL/C:
REBOOTING Router in ten minutes for an emergency repair!
^Z
Send message? [confirm]y
Router
***
***
*** Message from tty19 to all terminals:
***
REBOOTING router in ten minutes for an emergency repair!

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.