HP 5120 series Configuration Manual page 24

Gigabit ethernet switches
Table of Contents

Advertisement

To do...
Enter system view
Enter user interface view
Configure the authentication mode
for any user that uses the current
user interface to log in to the switch
Configure the privilege level of
users logged in through the current
user interface
Examples of configuring a user privilege level under a user interface
# Configure the switch to allow Telnet users to log in without authentication. (Free access brings security
risks. For security, do not allow free access.)
<Sysname> system-view
[Sysname] user-interface vty 0 15
[Sysname-ui-vty0-15] authentication-mode none
Now, Telnet users can log in to the switch without authentication, but can use only the following
commands:
<Sysname> ?
User view commands:
display
ping
quit
rsh
ssh2
super
telnet
tftp
tracert
# Set the user privilege level to 1 for Telnet users.
[Sysname-ui-vty0-15] user privilege level 1
Now, Telnet users can access more commands:
<Sysname> ?
User view commands:
debugging
dialer
display
ping
quit
Display current system information
Ping function
Exit from current command view
Establish one RSH connection
Establish a secure shell client connection
Set the current user priority level
Establish one TELNET connection
Open TFTP connection
Trace route function
Enable system debugging functions
Dialer disconnect
Display current system information
Ping function
Exit from current command view
Use the command...
system-view
user-interface { first-num1
[ last-num1 ] | { aux | vty }
first-num2 [ last-num2 ] }
authentication-mode { none |
password }
user privilege level level
17
Remarks
Optional
By default, the authentication
mode for VTY user interfaces is
password, and no authentication is
needed for AUX login users.
Optional
By default, the user privilege level
for users logged in through the
AUX user interface is 3, and that
for users logged in through the VTY
interfaces is 0.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents