Tuesday , March 26 2019
Home / Command Line / from Huawei CLI – lock and send

from Huawei CLI – lock and send

Today a few words about 2 simple but useful commands: lock and send.

LOCK – prevents unauthorized users from operating on the current terminal interface

SEND – enables the system to transfer messages between user interfaces

Let’s look how they work on Huawei S5700 switch.

LOCK
<labnario>lock
Enter Password:
Confirm Password:

 Info: The terminal is locked. 

Enter Password:

<labnario>

SEND
<labnario>send ?
  INTEGER  Specify a user terminal interface and configure it
  all            All user terminal interfaces
  console        Primary user terminal interface
  vty            The virtual user terminal interface

<labnario>send all

Enter message, end with CTRL+Z or Enter; abort with CTRL+C:
Give me your "LIKE" on Facebook!!!
Warning: Send the message? [Y/N]:y


<labnario>
Info: Receive a message from con0: Give me your "LIKE" on Facebook!!!
<labnario>

Leave a Reply

Your email address will not be published. Required fields are marked *