To send a message to the active user sessions, use the send command.
send [ session line ] text
|
session
line
|
(Optional) Specifies a user session.
|
|
text
|
Text string. The text string can be up to 80 alphanumeric characters and is case sensitive.
|
Sends a message to all active user sessions.
EXEC mode
|
Release
|
Modification
|
|---|---|
|
4.0(0)N1(1a)
|
This command was introduced.
|
You can use the show users command to display information about the active user sessions.
This example shows how to send a message to all active user sessions on the switch:
This example shows how to send a message to a specific user session:
|
Command
|
Description
|
|---|---|
|
show users
|
Displays the active user sessions on the switch.
|