From 322d4da5701f446478238d24f3d0c9dd3efe2db8 Mon Sep 17 00:00:00 2001 From: Yuri Slobodyanyuk Date: Mon, 6 Jun 2022 09:41:21 +0300 Subject: [PATCH] Update Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc --- ...ebug-and-diagnostics-commands-cheat-sheet.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 1a554f8..e9fb762 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,14 +17,29 @@ 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). +|=== + +== Logs +[cols=2, options="header"] +|=== +|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. + +|*show log -s* +|Display logs from the Standby commander/member in a VSF stack. + +|*show log -b* +|Show logs with time since boot instead of date/time format. |=== + [cols=2,options="header"] |=== |Command