[Contents] [Prev] [Next] [Index] [Report an Error]


Force a Message to Logged-In User Terminals

Purpose

You have a scheduled maintenance window or have other important information to convey to users logged in to the router.

Action

To force a message to the terminals of logged-in users, enter the following JUNOS CLI operational mode command:

user@host> request message all message "text"

Sample Output

user@host> request message all message "This is an experiment, please be 
patient" 
                                                                               
Broadcast Message from user@host 
        (/dev/ttyp0) at 10:50 PDT...                                           
                                                                               
This is an experiment, please be patient

user@host> request message message "Maintenance window in 10 minutes" user maria
Message from user@host on ttyp0 at 20:27 ...
Maintenance window in 10 minutes
EOF

What It Means

The sample output shows that the message "This is an experiment, please be patient" was sent to the consoles of all logged-in users, and the message "Maintenance window in 10 minutes" was sent to the console of the logged-in user, maria. For more detailed information about this command, see the JUNOS Network Management Configuration Guide.

Syntax

request message all message "text"
request message message "text" (terminal terminal-name | user user-name)


[Contents] [Prev] [Next] [Index] [Report an Error]