send

To send a message to the active user sessions, use the send command.

send [ session line ] text

Syntax Description

session line
(Optional) Specifies a user session.
text
Text string. The text string can be up to 80 alphanumeric characters and is case sensitive.

Command Default

Sends a message to all active user sessions.

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Usage Guidelines

You can use the show users command to display information about the active user sessions.

Examples

This example shows how to send a message to all active user sessions on the switch:

switch# send The system will reload in 15 minutes!
The system will reload in 15 minutes!
 

This example shows how to send a message to a specific user session:

switch# send session pts/0 You must log off the switch.
 

Related Commands

Command
Description
show users
Displays the active user sessions on the switch.