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.
<labnario>lock Enter Password: Confirm Password: Info: The terminal is locked. Enter Password: <labnario>
<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>