beautypg.com

Configuration example, Network requirements – H3C Technologies H3C S5120 Series Switches User Manual

Page 62

background image

3-9

To do…

Use the command…

Remarks

Set the maximum number of
lines the screen can contain

screen-length screen-length

Optional

By default, the screen can
contain up to 24 lines.

You can use the screen-length
0 command to disable the
function to display information
in pages.

Set the history command buffer
size

history-command max-size
value

Optional

The default history command
buffer size is 10. That is, a
history command buffer can
store up to 10 commands by
default.

Set the timeout time of the user
interface

idle-timeout

minutes

[ seconds ]

Optional

The default timeout time of a
user interface is 10 minutes.

With the timeout time being 10
minutes, the connection to a
user interface is terminated if
no operation is performed in the
user interface within 10
minutes.

You can use the idle-timeout 0
command to disable the
timeout function.

Note that if you configure to authenticate the users in the password mode, the command level available

to users logging in to a switch depends on both the authentication-mode password command and the

user privilege level level command, as listed in

Table 3-5

.

Table 3-5 Determine the command level when users logging in to switches are authenticated in the

password mode

Scenario

Authentication

mode

User type

Command

Command level

The user privilege level level
command not executed

Level 0

Password
(authentication-mo
de password
)

VTY users

The user privilege level level
command already executed

Determined by
the

level

argument

Configuration Example

Network requirements

Assume that you are a level 3 AUX user and want to perform the following configuration for Telnet users

logging in to VTY 0:

z

Authenticate users logging in to VTY 0 using the local password.

z

Set the local password to 123456 (in plain text).