H3C Technologies H3C S5120 Series Switches User Manual

Page 639

Advertising
background image

1-12

To do…

Use the command…

Remarks

the console user interface is 3,
and that for users logging from
the other user interfaces is 0.

Example of configuring user privilege level under a user interface

z

Perform no authentication to the users telnetting to the device, and specify the user privilege level

as 1. (This configuration brings potential security problem. Therefore, you are recommended to use

it only in a lab 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

By default, when users telnet to the device, they can only use the following commands after passing the

authentication:

<Sysname> ?

User view commands:

cluster Run cluster command

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

tracert Trace route function

After you set the user privilege level under the user interface, users can log in to the device through

Telnet without any authentication and use the following commands:

<Sysname> ?

User view commands:

cluster Run cluster command

debugging Enable system debugging functions

display Display current system information

ping Ping function

quit Exit from current command view

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

super Set the current user priority level

telnet Establish one TELNET connection

terminal Set the terminal line characteristics

tracert Trace route function

undo Cancel current setting

z

Authenticate the users logging in to the device through Telnet, verify their passwords, and specify

the user privilege levels as 2.

Advertising