Authentication

Configuration tasks

Reference

mode

 

 

 

Enable scheme authentication on the VTY user interface.

 

Configure local or remote authentication settings.

 

To configure local authentication:

 

14.

Configure a local user and specify the password.

 

15.

Configure the device to use local authentication.

Scheme

To configure remote authentication:

 

16.

Configure the RADIUS or HWTACACS scheme on

 

 

the device.

 

17.

Configure the username and password on the AAA

 

 

server.

 

18.

Configure the device to use the scheme for user

 

 

authentication.

Configuring none authentication for Telnet login

Step

 

Command

Remarks

1.

Enter system view.

system-view

N/A

 

 

 

 

2.

Enable Telnet server.

telnet server enable

By default, the Telnet server function is

disabled.

 

 

 

 

 

 

 

3.

Enter one or multiple

user-interface vty first-number

 

 

VTY user interface

N/A

 

[ last-number ]

 

views.

 

 

 

 

 

 

 

 

4.

Enable none

authentication-mode none

By default, the authentication mode for VTY

 

authentication mode.

user interfaces is scheme.

 

 

 

 

 

 

5.

Configure the

 

 

 

command level for

user privilege level level

By default, the default command level is 0 for

 

login users on the

VTY user interfaces.

 

 

current user interfaces.

6.Configure common settings for the VTY user interfaces.

The next time you attempt to Telnet to the device, you do not need to provide any username or password, as shown in Figure 31. If the maximum number of login users has been reached, your login attempt fails and the message "All user interfaces are used, please try later!" appears.

29