# Specify commands of level 2 are available to users logging in through VTY 0.

[device-ui-vty0] user privilege level 2

# Configure Telnet protocol is supported.

[device-ui-vty0] protocol inbound telnet

# Set the maximum number of lines the screen can contain to 30.

[device-ui-vty0] screen-length 30

# Set the maximum number of commands the history command buffer can store to 20.

[device-ui-vty0] history-command max-size 20

# Set the timeout time to 6 minutes.

[device-ui-vty0] idle-timeout 6

Telnet Configuration with Authentication Mode Being Password

Configuration Procedure

Follow these steps to perform Telnet configuration with the authentication mode being password:

 

To do…

 

Use the command…

 

Remarks

 

Enter system view

 

system-view

 

 

 

 

 

 

 

 

Enter one or more VTY user

 

user-interface vty

 

 

interface views

 

first-number [ last-number ]

 

 

 

 

 

 

 

 

 

 

 

 

Configure to authenticate users

 

authentication-mode

 

 

 

logging in to VTY user interfaces

 

 

Required

 

using the local password

 

password

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

set authentication

 

 

 

Set the local password

 

password { cipher

 

Required

 

 

 

simple } password

 

 

 

 

 

 

 

 

 

Configure the command level

 

 

 

Optional

 

 

 

 

By default, commands of level 0

 

available to users logging in to

 

user privilege level level

 

 

 

 

are available to users logging in to

 

the user interface

 

 

 

 

 

 

 

VTY user interface.

 

 

 

 

 

 

 

 

 

 

 

 

Configure the protocol to be

 

protocol inbound { all

 

Optional

 

 

 

By default, both Telnet protocol

 

supported by the user interface

 

ssh telnet }

 

 

 

 

and SSH protocol are supported.

 

 

 

 

 

 

 

 

 

 

 

 

Set the commands to be

 

 

 

Optional

 

 

 

 

By default, no command is

 

executed automatically after a

 

auto-execute command

 

 

 

 

executed automatically after a

 

user login to the user interface

 

text

 

 

 

 

user logs into the VTY user

 

successfully

 

 

 

 

 

 

 

interface.

 

 

 

 

 

 

 

 

 

 

 

 

Make terminal services

 

 

 

Optional

 

 

shell

 

By default, terminal services are

 

available

 

 

 

 

 

 

available in all user interfaces.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Optional

 

 

 

 

 

By default, the screen can contain

 

Set the maximum number of

 

screen-length

 

up to 24 lines.

 

lines the screen can contain

 

screen-length

 

You can use the screen-length0

 

 

 

 

 

command to disable the function

 

 

 

 

 

to display information in pages.

 

 

3-5

 

 

Page 30
Image 30
3Com WX3000 operation manual Password Set authentication, Password cipher, User privilege level level, Auto-execute command