Parameter | Description | Value |
---|---|---|
all | Specifies that the device sends messages to all user interfaces. | - |
ui-number | Specifies the absolute number of a user interface. | The minimum value is 0. The maximum value is the number of the user interfaces that the device supports minus 1. |
ui-type | Specifies the type of a user interface. | - |
ui-number1 | Specifies the relative number of a user interface. | - |
After you run the send command on a device, the device prompts you to enter a message to send. After you confirm to send this message, the user who logs in to the device from a specified user interface can receive this message.
# Send a message to the user interface VTY 0.
<HUAWEI> send vty 0
Enter message, end with CTRL+Z or Enter; abort with CTRL+C: Hello, good morning!
Warning: Send the message? [Y/N]: y
# After you confirm to send the message, the user who logs in to the HUAWEI from VTY 0 can receive this message.
<HUAWEI>
Info: Receive a message from VTY2:Hello, good morning!