H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Login
H3C S7500 Series Ethernet Switches Chapter 1
Login Commands
1-20
Examples
# Set the local password of VTY 0 to 123.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] user-interface vty 0
[H3C-ui-vty0] set authentication password simple 123
1.1.21 shell
Syntax
shell
undo shell
View
User interface view
Parameters
None
Description
Use the shell command to make terminal services available for the user interface(s).
Use the undo shell command to make terminal services unavailable to the user
interface(s).
By default, terminal services are available in all user interfaces.
Note the following when using the undo shell command:
z This command is available in all user interfaces except the AUX (Console) user
interface.
z This command is unavailable in the current user interface.
z This command prompts for confirmation when being executed in any valid user
interface.
Examples
# Log into user interface 0 and make terminal services unavailable in VTY 0 through
VTY 4.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] user-interface vty 0 4
[H3C-ui-vty0-4] undo shell