HP Switches
HOW TO: Set the maximum number of VLANS on HP Switch
- login into switch
- press 5 to enter into the CLI if at menu
- config
- max 30 (sets maximum vlans supported on switch to 30)
- wr mem
- reload (reboots switch)
- show vlan
- show run (shows config)
HOW TO: Obtain required files for HP Tech Support from Procurve switches (DRH)
- login into switch
- press 5 to enter into the CLI if at menu
- show run (shows config)
- configure tftp server then
- copy com "show tech" tftp server_ip# showtech.txt
- EXAMPLE: copy crash-log tftp 129.97.15.39 crash-log.txt
- EXAMPLE: copy crash-data tftp 129.97.15.39 crash-data.txt
HOW TO: Assign Vlans to Ports on HP procurve switch ports (DRH)
- To assign ports 1,2,3,4,5 and 20 on vlan 100, untagged
- login to switch via telnet and run the following EXAMPLE commands
- configure terminal
- vlan 100
- untagged 1-5,20
- exit
- exit
- wr mem
HOW TO: Configure a login name on HP Procurve switch (DRH)
- This is needed for ONA to function properly
- Telnet into switch
- config term
- password manager user-name XXXX (XXXX= user name)
- exit
- write mem
- (Now you must reset the unrestricted snmp community)
- config term
- no snmp-server community "community_name" Unrestricted
- snmp-server community "community_name" Unrestricted
- exit
- write mem
HOW TO: Configure the DATE & TIME on HP Procurve switch (DRH)
- Go to command line
- Type config term
- To see correct syntax on how to set type in
- clock set ?
- NOTE: The time is reset to the switch bios if reset or power cycled. It is recommended that you setup time server
HOW TO: Completely remove a Tagged port on a HP switch with ONA (DRH 04-April-06)
EMAIL Notice on problem from Bruce Campbell:
Hi Dan,
The HP switch won't allow a port to have no vlans on it. So, to
remove all tagged vlans, you have to put "1" as the untagged vlan,
do the change, then remove all tagged vlans.
I will make ona do all that automatically some day, but for now
it is a 2 step process to removed all tagged vlans from a port.
I have added the bug here:
https://sourceforge.net/tracker/index.php?func=detail&aid=1465693&group_id=157207&atid=802900
Bruce
--
Bruce Campbell
HOW TO: Erase the Configuration on a HP Procurve switch (DRH 9-May-06) (29-March-07)
- I spoke with Chris at HP Tech support HP CASE ID# 3214794641, was not documented and took 15 minutes for HP to Chris to find solution.
- To clear the config to factory default on a HP5400 switch you need to type at console "erase start"
- This will erase configuration and retain the licence then automatically reboot the switch.
- This procedure does NOT erase the root username and password.
SSH on HP PROCURV"> HOW TO: Enable SSH on HP PROCURVE SWITCHES (DRH 24-May-06)
- config term
- crypto key generate ssh
- ip ssh
HOW TO: UPLOAD a HP Switch Configuration file to a Remote Host TFTP server from a HP Switch (DRH 4-Jan-2007)
- login to switch
- copy running-config tftp {TFTPserver ip-address} {remote-file}
- EXAMPLE: copy startup-config tftp 129.97.15.39 hpws39.cfg
HOW TO: DOWNLOAD a HP switch Configuration from a Remote Host TFTP server (DRH 4-Jan-2007)
- Login to switch
- copy tftp running-config {TFTPserver ip-address} {remote-file}
- EXAMPLE: copy tftp startup-config 129.97.15.39 hpws39.cfg
HOW TO: Get good HP Rack ears (DRH Jan 12, 2007)
- Purchase or request accessories kit part # 5069-6535-95334. These are the solid two hole units.
Additional notes from Bruce Campbell (DRH)
With HP, you are putting ports on a vlan, as opposed to Cisco where you are putting vlans on a port.
See also:
http://www.eng.uwaterloo.ca/twiki/bin/view/Engcomp/CommonHPCommands
HOW TO: Set HP switch for Telnet inactivity (DRH - Feb 22-2007)
- login to switch
- config term
- console inactivity-timer 5
- exit
- write memory
Setting HP switch to NEW Daylight Saving Time (DRH - Feb 22-2007)
- login to switch
- config term
- time daylight-time-rule user-defined begin-date 3/8 end-date 11/4
- exit
- write memory
- For more details see HP web site link: http://www.hp.com/rnd/dst/index.htm
Using HP Procurve Manager (DRH - March 5-2007)
- Login to najas.uwaterloo.ca using remote desktop
- Choose CS-General to login with user name and password.
- Select procurve manager from the programs.
- Login with proper username and password
Setting new HP5400 in dc3558 name: 3558-cs01 (DRH - April 10-2007)
- Login to cst1.cscf.uwaterloo.ca
- type ts_menu to see what is attached to terminal server
- Select proper number, in this case it would be #1.
- Login with proper username and password
Setting up HP switch with LACP trunk to a NetApp via multi mode fiber (DRH - April 13-2007)
- Info provided by Andy Gallacher of HP:
- Gentlemen, Based on the info provided the Sun server configured for multi-mode vifs are compliant with the 802.3ad standard. The load-balancing method should be configured for MAC based.
The fiber ports on the
ProCurve switch should be configured for Static LACP
- Command issued at switch: Trunk trk1 lacp
Thanks, Andy
HOW TO Set up Premium License on HP switch (DRH - April 16-2007)
- MUST have account on HP's my procurve site to obtain license key for installation
- obtain the registration ID which was purchased. It typically comes in a DVD case
- open web page to myprocure at www.procurve.com
- Login to site with user name and password
- go to register my software section
- follow on line instructions
- telnet into switch
- obtain hardware id by issuing this command on console licenses hardware-id premium-edge
- cut and paste this hardware id to generate the license key on the procurve web site
- copy the generated license key from web site and paste into this command licenses install premium-edge <license-key>
- You also MUST do the following go get the OSPF functions to work.
- copy the config off of switch to TFTP server copy startup-config tftp <ip-address> <file-name>
- Must erase the startup config, this will require that you connect directly to the switch console port and re-issue ip and basic configuration parameters to upload the previous config.
- copy the config file back to switch, copy tftp startup-config
- Reboot switch
HOW TO turn off AUTO MDIX on HP switch ports (DRH - 2 May 2007)
- Login switch as manager
- config
- Int X-X (where X = the port numbers or range you want auto MDIX turned off)
- mdix-mode mdix
- exit
- write memory
- logout
HOW TO find out what other switch is connected directly to an HP switch port using LLDP (DRH - 30 May 2007)
- Login switch as manager
- type: show lldp info remote-device
- If the remote switch or device is running LLDP it will display the PortID PortDescription and SysName
- As stated in title LLDP MUST be running on the host switch and the others DIRECTLY connected to it.
- This will NOT provide a complete TREE structure of the network as it only goes to the first connection on the ports directly attached.
HOW TO find what software versions are in a HP switch is using (DRH - 30 May 2007)
- Login switch as manager
- type: show flash
- b. * Current Boot: lists what version is currently running on the switch *
- TO find the currently used version
- type: show version
HOW TO update HP switch flash firmware (DRH - 30 May 2007)
- Login switch as manager
- type: copy tftp flash
- to boot with new version type: boot system flash
- If you put in secondary and have tested it you can then copy to primary by typing: copy flash flash primary
HOW TO copy HP switch flash firmware from Primary to secondary (DRH - 30 May 2007)
- Login switch as manager
- type: copy flash flash secondary (assuming switch is currently running the primary version of firmware)
HOW TO copy HP switch flash firmware from secondary to primary (DRH - 30 May 2007)
- Login switch as manager
- boot system secondary
- copy flash flash primary
HOW TO Manually give a "Friendly" name a port on a HP switch (DRH - 30 May 2007 )
- Login switch as manager
- config
- interface
- name
- exit
- exit
HOW TO View Port status on HP switch (DRH - 30 May 2007)
- Login switch as manager
- show interfaces
HOW TO SETUP Multicasting on between two devices - ON HP SWITCHES (DRH - 25 June 2007)
- From Bruce Campbell <bruce@uwaterloo.ca>
- To Dave Gawley <dlgawley@cs.uwaterloo.ca> Cc: Steven Bourque <sbourque@ist.uwaterloo.ca>, Dan Hergott <dhergott@cs.uwaterloo.ca>
- Yes, and it should work. That will test the multicast stack on the 2 hosts, and your multicast test tools. It will also confirm layer 2 multicast works. But it won't test multicast routing, or igmp snooping.
- Quoting Dave Gawley <dlgawley@cs.uwaterloo.ca> > Should I be able to setup a Muticast test with a direct connect from a > server to a client with a cross over cable? > > Dave
HOW TO SETUP Multicasting on between - Extreme and HP SWITCHES
- See Bruce Campbell's notes: http://www.freebsd.uwaterloo.ca/twiki/bin/view/Test/MulticastProject
HOW TO Move HP OSPF Licence from one 5400 switch to another 5400 (DRH - 22 August 2007)
- No problem moving the license, just need to visit www.my.procurve.com and uninstall them. It will generate a new registration key. Marry that with the new Hardware ID of a 5406 and you'll get a new license key.
- Info was supplied from Andy of HP Toronto:
HOW TO make ONA work with HP switch (DRH - 6 Nov 2007 )
- you must have in the config:
- ip authorized-managers 129.97.128.0 255.255.255.0 access manager
HP 2650 RACK Ears (kit) (DRH - 4 April 2008) Email Info from Ruth Scharr of Metafore
- Part # for this kit is 5064-2085 (this is a kit which the ears are part of) and the 1-800 for you to call in order to get.
- Dial 1-800-227-8164 - press 1 for English then 2 and 1 again.
HOW TO stop a HP5406 from crashing and rebooting (DRH - 2 Sept 2008 )
HOW TO make ONA work with HP switch (DRH - 6 Nov 2007 )
- Here is the temporary solution, until a new firmware update comes in.
- #config
- #no ip icmp redirects
- #wr mem
This will make the switch stable.
If the other switches have problems you can issue this command on them as well.
This command will block rate limiting
To turn this command off and re-enable icmp redirects.
- #config
- #ip icp redirects
- #wr mem
How to set HP2650 port to edge ports:
- config
- span <port# or range> admin-edge-port
- wr memory
Maximum trunks per HP switch (DRH - July 8, 2009)
- HP 2600 series IEEE 802.3ad Link Aggregation Control Protocol (LACP) and ProCurve trunking: support up to 6 trunks, each with up to 4 links (ports) per trunk
- HP2800 series IEEE 802.3ad Link Aggregation Protocol (LACP) and ProCurve trunking: support up to 24 trunks, each with up to 8 links (ports) per trunk
- HP 3400 series IEEE 802.3ad Link Aggregation Control Protocol (LACP) and ProCurve trunking support up to 25 trunks, each with up to 8 links (ports) per trunk
- HP 2900/3500/5400/6200/8200 series A maximum of 60 trunks on version K13.01 software NOTE: the documentation does not state the maximum ports per trunk. Dan called HP support to find out how many links per trunk. Max links per trunk = 8 active links