HP ProCurve OS

HP ProCurve OS Cheatsheet #

HP ProCurve OS is used in HP ProCurve switches and offers a variety of commands for network management and configuration. This cheatsheet covers commonly used commands for ProCurve OS.

General Commands #

Command/OptionExampleDescription
show versionshow versionDisplay the software version and system information
show running-configshow running-configDisplay the current configuration
show startup-configshow startup-configDisplay the startup configuration
write memorywrite memorySave the current configuration to startup
reloadreloadReboot the switch

Interface Configuration #

Command/OptionExampleDescription
interface vlan <id>interface vlan 1Enter VLAN configuration mode
interface <type> <id>interface ethernet 1Enter specific interface configuration mode
ip address <addr> <mask>ip address 192.168.1.1 255.255.255.0Set IP address on an interface
no shutdownno shutdownEnable an interface
shutdownshutdownDisable an interface

VLAN Configuration #

Command/OptionExampleDescription
vlan <id>vlan 10Enter VLAN configuration mode
name <name>name VLAN10Set VLAN name
tagged <port-list>tagged 1,2,3Assign tagged ports to the VLAN
untagged <port-list>untagged 4,5Assign untagged ports to the VLAN
exitexitExit VLAN configuration mode

Spanning Tree Protocol #

Command/OptionExampleDescription
spanning-tree <type>spanning-tree rapid-pvstSet spanning tree protocol type
spanning-tree vlan <id> rootspanning-tree vlan 1 rootSet VLAN root bridge for spanning tree
show spanning-treeshow spanning-treeDisplay spanning tree status

Routing Configuration #

Command/OptionExampleDescription
ip routingip routingEnable IP routing
ip route <network> <mask> <next-hop>ip route 192.168.2.0 255.255.255.0 192.168.1.1Configure static route
show ip routeshow ip routeDisplay routing table

Security #

Command/OptionExampleDescription
enable secret <password>enable secret mypasswordSet enable mode password
password <password>password mypasswordSet console or line password
access-list <id> permit <src> <dest>access-list 100 permit 192.168.1.0 0.0.0.255Create an ACL rule
show access-listsshow access-listsDisplay configured access control lists

Management #

Command/OptionExampleDescription
hostname <name>hostname MySwitchSet the switch hostname
configure terminalconfigure terminalEnter global configuration mode
endendExit global configuration mode
show arpshow arpDisplay ARP table
show interface <type> <id>show interface ethernet 1Display interface status

This cheatsheet covers essential HP ProCurve OS commands for network management and configuration. For more detailed information, refer to the HP ProCurve documentation.

HP ProCurve OS

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.