By default, you can log in to the device through the console port without authentication and have user privilege level 3 after login. For information about logging in to the device with the default configuration, see “Configuration requirements.”

Configuration procedure

Follow these steps to configure password authentication for console login:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Enter AUX user interface view

user-interface aux first-number

[ last-number ]

 

 

 

 

 

 

 

Required

Configure the authentication mode

authentication-mode password

By default, you can log in to the

device through the console port

as local password authentication

 

without authentication and have

 

 

 

 

user privilege level 3 after login.

 

 

 

 

set authentication password

Required

Set the local password

By default, no local password is

{ cipher simple } password

 

set.

 

 

 

 

 

Configure common settings for

 

Optional

See “Configuring common settings

AUX user interface view

 

for console login (optional).”

 

 

 

 

 

When you log in to the device through the console port after configuration, you are prompted to enter a login password. A prompt such as <HP> appears after you input the password and press Enter, as shown in Figure 10.

Figure 10 Configuration page

30