Here is simple initial configuration example of how to configure HP Procurve switches from the console or a SSH session.
Connect to the switch via telnet or the serial console and enter config mode

 

 

switch# config

Set hostname and contact details

switch(config)# hostname “Procurve2810-Test”

Procurve2810-Test(config)# snmp-server contact “harry@hyperpc.co.uk”

Procurve2810-Test(config)# snmp-server location “Test Rack”

 

Set timezone and network time protocol details

Procurve2810-Test(config)# timesync sntp

Procurve2810-Test(config)# sntp server 10.10.20.69

Procurve2810-Test(config)# sntp unicast

Set timezone offset from GMT in minutes

Procurve2810-Test(config)# time timezone 600

Enable web management SSL and disable web management plaintext

Procurve2810-Test(config)# crypto key generate cert 1024

Procurve2810-Test(config)# crypto host-cert generate self-signed

Validity start date [10/21/2014]: 10/21/2014

Validity end date [10/21/2015]: 10/21/2019

Common name [0.0.0.0]: 10.136.236.68

Organizational unit [Dept Name]: IT

Organization [Company Name]: Amazing.com

City or location [City]: Birmingham

State name [State]: WM

Country code [US]: UK

Procurve2810-Test(config)# web-management ssl

Procurve2810-Test(config)# no web-management plaintext

Enable SSH and disable telnet

Procurve2810-Test(config)# crypto key generate ssh

Installing new RSA key. If the key/entropy cache is depleted, this could take up to a minute.

Enable SSH version 2 if supported

Procurve2810-Test(config)# ip ssh version 2

Enable SSH version 1 if version 2 isn’t supported

Procurve2810-Test(config)# ip ssh

Procurve2810-Test(config)# no telnet-server

Set username and passwords

Procurve2810-Test(config)# password manager user-name admin

Procurve2810-Test(config)# password operator user-name monitor

Set banner

Procurve2810-Test(config)# banner motd %

#######################################################################

# Authorised Users Only #

# The information on this computer and network is the property of #

# <COMPANY NAME> and is protected by intellectual property #

# rights. Your activities are #

# monitored for security reasons. #

########################################################################

%

Save and view the configuration

Procurve2810-Test(config)# write memory

Procurve2810-Test(config)# show run

References

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01868095/c01868095.pdf

http://www.rienbroekstra.nl/?q=node/18

http://linuxman.wikispaces.com/HP+ProCurve+E-series+setup

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>