HP BladeSystem bc2800 HP BladeSystem PC Blade Switch Installation Guide - Page 28

Configuring an Initial HTTP Password, consoleconfig-line, console

Page 28 highlights

console(config-line)# enable authentication default console(config-line)# password jones console(config-line)# exit console(config)# aaa authentication login default line console(config)# aaa authentication enable default line NOTE: Use one of the following commands to generate either a DSA or RSA key pair. For more information on key generation, please see the CLI guide. console(config)# crypto key generate dsa console(config)# exit Since this method uses the Default logon, a user name is not required. When initially logging onto the PC Blade Switch through an SSH session, type jones at the password prompt. When switching to Exec mode to enable, type jones at the password prompt. NOTE: Configuring only the initial SSH password overrides the console. This means that the PC Blade Switch becomes unaccessible through the local serial console connection. Configuring an Initial HTTP Password To configure an initial HTTP password, type the following commands: console# configure console(config)# ip http authentication local console(config)# username admin password user1 level 15 Configuring an Initial HTTPS Password To configure an initial HTTPS password, type the following commands: console# configure console(config)# ip https authentication local console(config)# username admin password user1 level 15 Type the following commands once to configure a console, a Telnet, or SSH to use with an HTTPS session. console# configure console(config)# crypto certificate generate key_generate console(config)# ip https server When initially enabling an http or https session, type admin for user name and user1 for password. 22 Chapter 2 First Time Installation ENWW

  • 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

console(config-line)#
enable authentication default
console(config-line)#
password jones
console(config-line)#
exit
console(config)#
aaa authentication login default line
console(config)#
aaa authentication enable default line
NOTE:
Use one of the following commands to generate either a DSA or RSA key pair. For more
information on key generation, please see the CLI guide.
console(config)#
crypto key generate dsa
console(config)#
exit
Since this method uses the Default logon, a user name is not required. When initially logging onto the
PC Blade Switch through an SSH session, type
jones
at the password prompt. When switching to Exec
mode to enable, type
jones
at the password prompt.
NOTE:
Configuring only the initial SSH password overrides the console. This means that the PC Blade
Switch becomes unaccessible through the local serial console connection.
Configuring an Initial HTTP Password
To configure an initial HTTP password, type the following commands:
console#
configure
console(config)#
ip http authentication local
console(config)#
username admin password user1 level 15
Configuring an Initial HTTPS Password
To configure an initial HTTPS password, type the following commands:
console#
configure
console(config)#
ip https authentication local
console(config)#
username admin password user1 level 15
Type the following commands once to configure a console, a Telnet, or SSH to use with an HTTPS
session.
console#
configure
console(config)#
crypto certificate generate key_generate
console(config)#
ip https server
When initially enabling an http or https session, type
admin
for user name and
user1
for password.
22
Chapter 2
First Time Installation
ENWW