< Home

send

Function

The send command configures a device to send messages to all user interfaces.

Format

send { all | ui-number | ui-type ui-number1 }

Parameters

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. -

Views

User view

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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!
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >