Skip to content

Latest commit

 

History

History
83 lines (49 loc) · 2.03 KB

Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc

File metadata and controls

83 lines (49 loc) · 2.03 KB

Aruba and HP switches debug and diagnostics commands cheat sheet

Author: Yuri Slobodyanyuk, [email protected]

Command Description

show logging -r

Show system logs and events in reverse chronological order, i.e. newest logs first.

clear log

Delete all logs on the switch.

debug destination buffer

Direct debug output to the log buffer, to be read later on CLI.

debug <daemon name>

Start runnig debug,e.g. to debug SNMP daemon: debug snmp pdu

show debug buffer

Show log buffer with the collected debug output.

show debug

Show what debug is currently active.

show mac-address

Show table of MAC addresses.

show interface status

Show list of all interfaces with info for each: state (Up/Down), Actual Speed, Tagged or not, VLANs configured for the interface (single VLAN for Untagged, multiple for Tagged). NOTE: In Cisco world Tagged interface is called trunk.

display interface

Show detailed information of an interface: MAC address, state, speed, VLAN id if any.

show ip

Show all configured IP addresses on a switch.

show trunk

Show trunk interfaces with their state and type. NOTE: In HP/Aruba world trunk means aggregated interfaces (LACP), what in Cisco world is called port/ether-channel.

show trunk-statistics <trunk name>

Show cumulative statistics for the trunk interface: packets passed, bytes received, drops if any.

show lacp

Show LACP state on the trunking interfaces.

display stp root

Show root switch for Spanning Tree Protocol.

display stp brief

Short information on STP state for VLANs.

display lldp neighbor list

Display LLDP neighbors.

show ip ospf neighbor [detail]

Display OSPF neighbors

show ip route

Show routing table for Layer 3 switch.

show ip

Show IP routing state: disabled/enabled. It is dsiabled by default, to enable: (config)# ip routing.

display boot-loader

Show what image will be loaded on the next boot.