H3C Technologies H3C S12500 Series Switches User Manual
Page 28
16
Step Command
Remarks
3.
Configure the authentication
mode for any user who uses
the current user interface to
log in to the switch.
authentication-mode { none |
password }
Optional.
By default, the authentication
mode for VTY and AUX user
interfaces is password, and no
authentication is needed for
console users.
4.
Configure the privilege level
of users logged in through the
current user interface.
user privilege level level
Optional.
By default, the user privilege level
for users logged in through the
console user interface is 3, and
that for users logged in through the
other user interfaces is 0.
For example:
# Display the commands a Telnet user can use by default after login.
<Sysname> ?
User view commands:
display Display current system information
ping Ping function
quit Exit from current command view
ssh2 Establish a secure shell client connection
super Set the current user priority level
telnet Establish one TELNET connection
# Configure the switch to perform no authentication for Telnet users, and to authorize authenticated Telnet
users to use level-0 and level-1 commands. (Use no authentication mode only in a secure network
environment.)
<Sysname> system-view
[Sysname] user-interface vty 0 15
[Sysname-ui-vty0-15] authentication-mode none
[Sysname-ui-vty0-15] user privilege level 1
# Display the commands a Telnet user can use after login. Because the user privilege level is 1, a Telnet
user can use more commands now.
<Sysname> ?
User view commands:
debugging Enable system debugging functions
display Display current system information
graceful-restart Graceful restart
ipc Interprocess communication
oap Open application platform operation
ping Ping function
quit Exit from current command view
refresh Do soft reset
reset Reset operation
screen-length Specify the lines displayed on one screen
send Send information to other user terminal interface
ssh2 Establish a secure shell client connection