Anda di halaman 1dari 5

Configuring HP ProCurve Switch

[Translate]
ProCurve Networking by HP
Reset switch to factory defaults
If Im not using brand new switch I normally like to reset it back to factory defaults
before doing anything!
"se a #ointy ob$ect %like #a#er cli#& and #ress '(eset) and 'Clear) buttons on the front of
the switch at the same time!
(elease '(eset) button! *hen '+elf Test) ,-. start to blink release 'Clear) button too!
Now the switch should do it test routines! /fter that it should be back on factory defaults!
0r 1
HP ProCurve Switch 2524# erase startu#2config
IP-Address
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)# vlan 1
HP ProCurve Switch 2524(vlan-1)# ip address 1!!!1 255!255!255!
HP ProCurve Switch 2524(vlan-1)# wr "e"
HP ProCurve Switch 2524(vlan-1)# e#it
HP ProCurve Switch 2524(config)# e#it
HP ProCurve Switch 2524#
Configure VLANs
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)# vlan 1
HP ProCurve Switch 2524(vlan-1)# na"e $%efault$
HP ProCurve Switch 2524(vlan-1)# untag 2-&
HP ProCurve Switch 2524(vlan-1)# vlan 1
HP ProCurve Switch 2524(vlan-1)# na"e $'irst$
HP ProCurve Switch 2524(vlan-1)# untag (-12
HP ProCurve Switch 2524(vlan-1)# vlan 2
HP ProCurve Switch 2524(vlan-2)# na"e $Second$
HP ProCurve Switch 2524(vlan-2)# untag 1)-1*
HP ProCurve Switch 2524(vlan-2)# e#it
HP ProCurve Switch 2524(config)# e#it
HP ProCurve Switch 2524#
Set up trun ports
HP ProCurve Switch 2524# config
HP ProCurve Switch 2524(config)# trun+ 2)-24 tr+1
HP ProCurve Switch 2524(config)# vlan 1
HP ProCurve Switch 2524(vlan-1)# tagged tr+1
HP ProCurve Switch 2524(vlan-1)# vlan 2
HP ProCurve Switch 2524(vlan-2)# tagged tr+1
HP ProCurve Switch 2524(vlan-2)# wr "e"
HP ProCurve Switch 2524(vlan-2)# e#it
HP ProCurve Switch 2524(config)# e#it
HP ProCurve Switch 2524#
!isa"le all #"ut trun$ ports
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)# int 2-22 disa,le
HP ProCurve Switch 2524(config)# wr "e"
HP ProCurve Switch 2524(config)# e#it
HP ProCurve Switch 2524#
%na"le only necessary ports
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)# int 2-4 ena,le
HP ProCurve Switch 2524(config)# int 1)-15 ena,le
HP ProCurve Switch 2524(config)# wr "e"
HP ProCurve Switch 2524(config)# e#it
HP ProCurve Switch 2524#
Set up speed etc&
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)# int 2-4 speed-duple# 1-full
HP ProCurve Switch 2524(config)# int 1)-15 speed-duple# auto
HP ProCurve Switch 2524(config)# wr "e"
HP ProCurve Switch 2524(config)# e#it
HP ProCurve Switch 2524#
Set ti'e and date
Time and date on hh1mm and mm1dd1yyyy format
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)# ti"e 1-5
.on /an 1 1-5-2* 100
HP ProCurve Switch 2524(config)# ti"e *124121
2ue 3ug 24 1-5-41 21
HP ProCurve Switch 2524(config)# wr "e"
HP ProCurve Switch 2524(config)# e#it
HP ProCurve Switch 2524#
Set hostna'e
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)# hostna"e $Server4oo"1$
Server4oo"1(config)# wr "e"
Server4oo"1(config)# e#it
Server4oo"1#
(acup settings
/fter running 'sh run) co#y3#aste all between line which start with 'hostname) to
'+erver(oom45) e6am#le to note#ad and save that file!
Server4oo"1# sh run
Server4oo"1#
Restore settings fro' "acup
/ll you have to do is co#y3#aste all %e6ce#t the first '(unning configuration1) line& to
note#ad on '7acku# settings) #art to 'HP ProCurve +witch 898:5)!
If you have set o#erator and3or manager #asswords dont co#y3#aste the lines which start
with #assword!
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)#
Set 'anager and operator password
Server4oo"1# configure
Server4oo"1(config)# password all
5ew password for 6perator- 77777777
Please ret8pe new password for 6perator- 77777777
5ew password for .anager- 77777777
Please ret8pe new password for .anager- 77777777
Server4oo"1(config)#
)pdate fir'ware using tftp server
If you are using windows machine and need tft# server software you should try
;C.aemon! Its free #ortable and it works like a dream <&
.ownload newest firmware from HPs website1 +oftware for switches!
=or my switch HP ProCurve 898:gl newest firmware was =!>9!?8! I downloaded
8;>>@89>>2+oftware2=>9?8!Ai# #ackage and e6tracted it to '8;>>@89>>2+oftware2
=>9?8B folder!
Now I have directory '8;>>@89>>2+oftware2=>9?8B with 8;>>@89>>2(elNotes2=>9?82
9CC>;4>8!#df %(elease Notes&! I also have =@>9@?8!swi file and this !swi file is the
firmware which you are going to use to u#date your switch!
Server4oo"1# configure
Server4oo"1(config)# cop8 tftp flash 1!!!1 '959(2!swi
%evice will ,e re,ooted: do 8ou want to continue ;81n<= 8
12&>
/fter =@>9!?8!swi is co#ied to the switch you should get this kind of line! *hen eve
everything goes ok your switch will reboot itself1
?alidating and @riting S8ste" Software to 'A3SH!!!
)pdate fir'ware using *'ode' over serial connection
I normally use Dicrosoft Hy#erterminal when Im doing this because its #retty easy to
use 6modem to u#load files with hy#erterminal
.ownload newest firmware from HPs website1 +oftware for switches =or my switch HP
ProCurve 898:gl newest firmware was =!>9!?8 so I downloaded 8;>>@89>>2+oftware2
=>9?8!Ai# #ackage and e6tracted it to '8;>>@89>>2+oftware2=>9?8B!
Now I have directory '8;>>@89>>2+oftware2=>9?8B with 8;>>@89>>2(elNotes2=>9?82
9CC>;4>8!#df %(elease Notes& and =@>9@?8!swi file and this !swi file is the firmware
which you are going to use to u#date your switch&
HP ProCurve Switch 2524# configure
HP ProCurve Switch 2524(config)# cop8 #"ode" flash
2he Pri"ar8 6S B"age will ,e deleted: continue ;81n<= 8
Press CDnterC and start E.6%D. on 8our host!!!
/fter hitting E-nter start u#loading using hy#erterminal from menu1 'Transfer) <F
'+end =ileG) then click '7rowseG) and find that =@>9@?8!swi file and choose
Hmodem %Not '4I Hmodem)& #rotocol! Then hit '+end) button! *hen everything is
done you should see this kind of message and after that switch should boot1
?alidating and @riting S8ste" Software to 'A3SH!!!
This configuration was done with HP ProCurve 898: %J:K4;/& but most of this command
should work with other #rocurve switches too!