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

Page 65

Advertising
background image

3-12

To do…

Use the command…

Remarks

Make terminal services
available

shell

Optional

Terminal services are available in all
use interfaces by default.

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 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 for 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 scheme mode, the command level available to

users logging in to a switch depends on the authentication-mode scheme command and the user

privilege level level command.

Refer to AAA Configuration and SSH2.0 Configuration for configuration about AAA, RADIUS and SSH..

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

Configure the name of the local user to be “guest”.

z

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

z

Set the service type of VTY users to Telnet.

z

Configure to authenticate users logging in to VTY 0 in scheme mode.

z

The commands of level 2 are available to users logging in to VTY 0.

z

Telnet protocol is supported in VTY 0.

Advertising