Shell - HP 6125XLG Command Reference Manual

Blade switch fundamentals command reference
Table of Contents

Advertisement

Parameters
hash: Sets a hashed password.
simple: Sets a plaintext password.
password: Specifies the password string. This argument is case sensitive. If simple is specified, it must be
a string of 1 to 16 characters. If hash is specified, it must be a string of 1 to 1 10 characters.
Usage guidelines
This command is not supported in FIPS mode.
Whether you specify the hash or simple keyword for the command, the password is hashed before being
saved to the configuration file.
Examples
# Set the password for password authentication on user interface AUX 0 to hello.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] authentication-mode password
[Sysname-ui-aux0] set authentication password simple hello
When you log in again to user interface AUX 0, you must enter the password hello to pass
authentication.
Related commands
authentication-mode

shell

Use shell to enable the terminal service for a user interface.
Use undo shell to disable the terminal service for a user interface.
Syntax
shell
undo shell
Default
The terminal service is enabled on all user interfaces.
Views
VTY user interface view
Predefined user roles
network-admin
Usage guidelines
You cannot disable the terminal service on the user interface you are using.
To configure the device to act as a Telnet or SSH server on a user interface, you cannot configure the
undo shell command for the user interface.
Examples
# Disable the terminal service for user interface VTY 0 through VTY 4 so no user can log in to the device
through the user interfaces.
30

Advertisement

Table of Contents
loading

Table of Contents