HP ProCurve CLI Commands CheatSheet

The most used ProCurve CLI commands

log Display log events (most recent last)
log -r Display log events (most recent first)
log A12 Display log events of port a12
log A12 -r Display log events of port a12 (most recent first)
log Display log events of
show mac A5 Show MAC-address of the device on port A5
show mac A4-A6 Show MAC-adresss of the devices on ports between A4 and A6
show mac 00112233-445566 Show which port device with MAC-address 00112233-445566 is connected
show vlan Show information about vlans on this swtich
show vlan ports A19 Show VLAN ID and status of specific ports (A19)
show vlan Show ports on this vlan and port status
vlan 19 Set switch to vlan 19
name SupportVLAN Name this vlan as “SupportVLAN”
tag A12 Set port a12 as tagged on vlan 19 (First do vlan <19>)
tag A12,A13 Set ports a12 and 13 tagged on vlan 19 (First do vlan <19>)
untag A12 Set port a12 as untagged on vlan 19
vlan 19 tagged A12 Set port a12 as tagged on vlan 19
vlan 19 untagged A12 Set port a12 as untagged on vlan 19
vlan 19 untagged A12-A20 Set port a12-a20 as untagged on vlan 19
no vlan 30 Remove vlan setting on port 30
show flash Displays info about flash (version etc.)
copy running-config tftp filename.txt Copy your running config to file filename.txt at tftp server which IP is .
copy tftp startup hp_2524 Copy your config (filename hp2524) from server via tftp to switch
copy tftp flash file.swi Download and update your flash with file.swi from tftp server at
copy flash flash secondary Copy software from primary to secondary image is not intuitive
copy flash flash primary Updated secondary image first then You could copy from secondary to primary
hostname poro_1 Set switch hostname as poro_1
link-test 00112233-445566 Test connectivity between switches (this switch and 00112233-445566)
show run Show running config
password operator Set operator password (Normal user / read-only )
password manager Set manager password (Admin user / read-write)
password all Set operator and manager password
enable Switch to manager lever from operator level
ping Ping IP
chassislocate Turn on/off switch locator led or blink it (30 minutes)
chassislocate blink 10 Blink switch locator led 10 minutes
ntp1 first.timeserver.net Add first.timeserver.net to NTP server list
timesync ntp Enable NTP syncronization with servers


Switch# Manager prompt
Switch>_ Operator prompt

Copyright © Petri Lopia ( www.petrilopia.net ) ver 1.02

Install and setup Minicom

Minicom is the hyperterminal for Linux.

Minicom is by default not installed.

  1. Install Minicom with the following command

    sudo apt-get install minicom

  2. Find your serial port

    dmesg | grep tty

    $ dmesg | grep tty
    [    0.001251] console [tty0] enabled
    [   72.953237] usb 6-1: pl2303 converter now attached to ttyUSB0

    I use a USB serial port, my laptop doesn’t have a build in serial port.
    So the name of the serial port is ttyUSB0.

  3. Configure Minicom

    sudo minicom -s

    • Select “Serial Port setup”
    • Enter A to change the selected serial port, in my case change to /dev/ttyUSB0
    • Enter E to change the line speed to 9600 8N1
    • Select “Save setup as dfl”
  4. Exit Minicom
  5. Start Minicom with

    sudo minicom

And you are  good to go.

Reset a Foundry ServerIron XL password

Previously I posted a blog about completely resetting a Foundry ServerIron XL
But what if you only want to reset the password?
This is how it works..

Connect with a serial cable to the Foundry ServerIron XL.

1) Unplug the Switch
2) Plug the switch back in, and be immediately ready to:
3) Hit b within 2 seconds, to enter into the boot monitor
4) Type:

no password
boot system flash primary

5) Foundry will boot up, now

FastIron> enable
No password has been assigned yet…

6)Set a new password

Conf t
FastIron (config)# enable super-user NewPassword
FastIron (config)# write memory

iSCSI and VMWare Tips

I found a great article named

A “Multivendor Post” to help our mutual iSCSI customers using VMware

You really should read it if your using a SAN in combination with ESX 3.5


Massive TCP Retransmits with ESX 3.5 U5, HP ProCurve 3500yl and Equallogic SAN – UPDATED

I’m using serveral ESX 3.5 U5  connected to 2 HP ProCurve 3500yl.
When I monitor my Equallogic SAN with SAN Headquarters 2.0 there are a lot of TCP Retransmits. Sometimes more than 3%. After some troubleshooting I discovered the TCP Retransmits are caused by the ESX Nic Teaming connected to the HP ProCurve switches.

Every ESX server has 2 NICs connected to the iSCSI for VMFS and iSCSI Initiators from the VM’s. Both NICs are connected to a different switch for redundancy. So for example ESX NIC 1 is connected to port 1 from switch X and ESX NIC 2 is connected to port 1 from switch Y. Port 1 from both switches are configured as a trunk  ( Trunk1 ) not using LACP. Between the 2 switches there is a different trunk configured for the data that needs to be directed to another switch.
Continue reading