16 CHAPTER 1: SYSTEM ACCESS
Perform username and password authentication when a user logs in through the
VTY 0 user interface and set the username and password to zbr and 3Com
respectively:
[SW8800-ui-vty0]authentication-mode scheme
[SW8800-ui-vty0]quit
[SW8800]local-user zbr
[SW8800-luser-zbr]service-type telnet
[SW8800-luser-zbr]password simple 3Com
3 Set the Switch 8800 to allow user access without authentication.
[SW8800-ui-vty0]authentication-mode none
By default, the password is required for authenticating the modem and Telnet
users when they log in. If the password has not been set, when a user logs in, the
following message displays,
Login password has not been set!
If the authentication-mode none command is used, the modem and Telnet
users are not required to enter a password.
Set the Command Level after Login The following command is used for
setting the command level used after a user logs in.
Perform the following configuration in local-user view.
By default, a Telnet user can access the commands at Level 1 after logon.
Setting the Command Level Used after a User Logs in from a User Interface
Use the user privilege level command to set the command level, after a user
logs in from a specific user interface, so that a user is able to execute the
commands at that command level.
Table 12 describes the user privilege level
command.
Perform the following configuration in user interface view.
By default, a user can access the commands at Level 3 after logging in through the
AUX user interface, and the commands at Level 0 after logging in through the VTY
user interface.
Table 11 Set Command Level Used After a User Logs In
Operation Command
Set the command level used after a user
logging in
service-type { level level | telnet [ level level
] ] | telnet [ level level ] }
Restore the default command level used after
a user logging in
undo service-type { level | telnet [ level ] ] |
telnet [ level ] }
Table 12 Set Command Level After User Login
Operation Command
Set command level used after a user logging
in from a user interface
user privilege level level
Restore the default command level used after
a user logging in from a user interface
undo user privilege level