Monday, October 13, 2014

Command Line Tricks for HP Procurve Switchs

Below some helpful commands.

  • Display logs or debug on current session:
    • terminal monitor (Cisco)
    • debug destination session (HP Procurve)
  • By default HP Procurve switch don't display packets drops by queue. You can enable the monitoring only on 1 interface with the command below:
    • qos watch-queue xx out (where XX is the interface you want to monitor)
  • Obtain 'show tech':
    • copy command-output "show tech all" sftp user ftpuser 10.10.10.10 show-tech.txt
  • Filter a 'show runnning' command:
    • Like Cisco, it's possible to use '|' after the 'show running'
Switch# show running-config | include router
ip router-id 1.1.1.1
router ospf
router vrrp

Switch# show running-config | begin router
ip router-id 1.1.3.1


No comments:

Post a Comment