From 52b2f3fd012a3980d5d5049bf2c5754efbca78e2 Mon Sep 17 00:00:00 2001 From: Yuri Slobodyanyuk Date: Mon, 6 Jun 2022 09:15:33 +0300 Subject: [PATCH] Update Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc --- ...-and-diagnostics-commands-cheat-sheet.adoc | 35 ++++++++++++++----- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/cheat-sheets/Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc b/cheat-sheets/Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc index 1f184bc..c9ca066 100644 --- a/cheat-sheets/Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc +++ b/cheat-sheets/Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc @@ -17,6 +17,11 @@ NOTE: All commands were tested on HP/Aruba 5400 switches. |*show cpu [_seconds_]* |Show CPU stats of average load for 1 second, 5 seconds, and 1 minute, optionally setting period in _seconds_ (300 is max). +| *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. |=== @@ -25,11 +30,7 @@ NOTE: All commands were tested on HP/Aruba 5400 switches. |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. @@ -46,11 +47,20 @@ NOTE: All commands were tested on HP/Aruba 5400 switches. |*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. +== Interfaces +[cols=2,options="header"] +|=== +|Command +|Description + +|*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 [_name_]* +|Show detailed information of an interface: media type, speed/duplex state, MAC address, up/down, max frame size, VLAN id if any untagged set and `.` (dot) for +multiple tagged VLANs, input/output erros, buffer failures, CRCs, runts. |*show interface transceiver* |Info on installed optical transceivers: Port number where installed, Type/Speed, Serial Number. @@ -67,6 +77,15 @@ NOTE: All commands were tested on HP/Aruba 5400 switches. |*show lacp* |Show LACP state on the trunking interfaces. +|=== + + + +[cols=2,options="header"] +|=== +|Command +|Description + |*display stp root* | Show root switch for Spanning Tree Protocol.