HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Configuration - Page 40

Configuring password authentication for Telnet login,

Page 40 highlights

The next time you attempt to Telnet to the device, you do not need to provide any username or password, as shown in Figure 13. 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. Figure 13 Telneting to the device without authentication Configuring password authentication for Telnet login Step 1. Enter system view. 2. Enable Telnet. 3. Enter one or multiple VTY user interface views. 4. Enable password authentication. Command system-view telnet server enable user-interface vty first-number [ last-number ] authentication-mode password 5. Set a password. set authentication password { cipher | simple } password 6. Configure the user privilege level for login users. user privilege level level 7. Configure common settings See "Configuring common settings for for VTY user interfaces. VTY user interfaces (optional)." Remarks N/A By default, the Telnet service is disabled. N/A By default, password authentication is enabled for VTY user interfaces. By default, no password is set. The default level is 0. Optional. The next time you attempt to Telnet to the device, you must provide the configured login password, as shown in Figure 14. 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. 34

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135

34
The next time you attempt to Telnet to the device, you do not need to provide any username or password,
as shown in
Figure 13
. 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.
Figure 13
Telneting to the device without authentication
Configuring password authentication for Telnet login
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable Telnet.
telnet server enable
By default, the Telnet service is
disabled.
3.
Enter one or multiple VTY
user interface views.
user-interface vty
first
-
number
[
last-number
]
N/A
4.
Enable password
authentication.
authentication-mode password
By default, password
authentication is enabled for
VTY user interfaces.
5.
Set a password.
set authentication password
{
cipher
|
simple
}
password
By default, no password is set.
6.
Configure the user privilege
level for login users.
user privilege level
level
The default level is 0.
7.
Configure common settings
for VTY user interfaces.
See "
Configuring common settings for
VTY user interfaces (optional)
."
Optional.
The next time you attempt to Telnet to the device, you must provide the configured login password, as
shown in
Figure 14
. 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.