R3303-HP HSR6800 Routers Fundamentals Configuration Guide

27
Figure 9 Accessing the CLI through the console port without authentication
Configuring password authentication for console login
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter console user interface
view.
user-interface console first-number
[ last-number ]
N/A
3. Enable password
authentication.
authentication-mode password
By default, you can log in to the
device through the console port
without authentication and have
user privilege level 3 after login.
4. Set a password.
set authentication password
[ hash ] { cipher | simple }
password
By default, no password is set.
5. Configure common settings
for console login.
See "Configuring common console
user interface s
ettings (optional)."
Optional.
The next time you attempt to log in through the console port, you must provide the configured login
password, as shown in Figure 10.