0% found this document useful (0 votes)
940 views

HP Procurve Cli Cheatsheet

This document provides a cheat sheet for using common commands in the HP ProCurve Command Line Interface (CLI). It lists commands for displaying and managing logs, MAC addresses, VLANs, flash memory, general switch settings and operations like pinging IP addresses. Examples are given for viewing specific log entries, MAC addresses on ports, VLAN port configurations, and downloading firmware updates from a TFTP server. The cheat sheet also includes commands for settings like hostname, passwords, NTP configuration and changing the CLI prompt.

Uploaded by

Paul1100
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
940 views

HP Procurve Cli Cheatsheet

This document provides a cheat sheet for using common commands in the HP ProCurve Command Line Interface (CLI). It lists commands for displaying and managing logs, MAC addresses, VLANs, flash memory, general switch settings and operations like pinging IP addresses. Examples are given for viewing specific log entries, MAC addresses on ports, VLAN port configurations, and downloading firmware updates from a TFTP server. The cheat sheet also includes commands for settings like hostname, passwords, NTP configuration and changing the CLI prompt.

Uploaded by

Paul1100
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

HP ProCurve CLI CheatSheet

LOG
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 192.168.0.1 Display log events of 192.168.0.1

MAC
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

VLAN
show vlan Show information about vlans on this swtich
show vlan ports A19 Show VLAN ID and status of specific ports (A19)
show vlan <vlan-id> Show ports on this vlan and port status
configure
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

FLASH
show flash Displays info about flash (version etc.)
copy running-config tftp <ip> filename.txt Copy your running config to file filename.txt at tftp server which IP is <ip>.
copy tftp flash <ip> file.swi Download and update your flash with file.swi from tftp server at <ip>

MISC
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 192.168.0.1 Ping IP 192.168.0.1
chassislocate <on | off | blink> 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

PROMPT
Switch# Manager prompt
Switch>_ Operator prompt

by Petri Lopia ( www.petrilopia.net )

You might also like