from Huawei command line – “lock” and “send”

Download as PDF

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s