Shell - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

Usage guidelines
Only users assigned with the network-admin or level-15 user role can execute this command. Other
users cannot execute this command, even if they are granted the right to execute this command.
This command is not supported in FIPS mode.
This command is available in both user line view and user line class view. A non-default setting in
either view takes precedence over a default setting in the other view. A non-default setting in user
line view takes precedence over a non-default setting in user line class view.
A password change does not take effect for the current session. It takes effect for subsequent login
sessions.
Examples
# Set the password to hello for local password authentication on console line 0.
<Sysname> system-view
[Sysname] line console 0
[Sysname-line-console0] authentication-mode password
[Sysname-line-console0] set authentication password simple hello
Related commands
authentication-mode

shell

Use shell to enable the terminal service for user lines.
Use undo shell to disable the terminal service for user lines.
Syntax
shell
undo shell
Default
The terminal service is enabled on all user lines.
Views
User line view
User line class view
Predefined user roles
network-admin
Usage guidelines
The undo shell command is not supported in console line view or console line class view.
The undo shell command is not supported in AUX line view or AUX line class view.
You cannot disable the terminal service on the user line you are using.
When the device acts as a Telnet or SSH server, you cannot configure the undo shell command.
If the undo shell command is configured in user line class view, you cannot configure the shell
command in the view of a user line in the class.
When terminal service is enabled, a user line can be used for device login. If the device is acting as
the redirect server, the user line can also be used for the redirect service. However, the user line can
be used for only one purpose at a time.
89

Advertisement

Table of Contents
loading

Table of Contents