From 20fef36685c74765a3a4e2b9dabbdf1cf0bb2340 Mon Sep 17 00:00:00 2001 From: Yuri Slobodyanyuk Date: Wed, 8 Jun 2022 15:54:42 +0300 Subject: [PATCH] Update Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc --- ...debug-and-diagnostics-commands-cheat-sheet.adoc | 14 ++++++++++++++ 1 file changed, 14 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 ece368d..c478bd0 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 @@ -38,6 +38,17 @@ NOTE: All commands were tested on HP/Aruba 5400 switches (specifically 5406Rzl2) |Command |Description +a| Logs category: + +* W=Warning +* I=Information +* M=Major +* D=Debug +* E=Error +| All logs are categorized when written, and the category is presented in the 1st column of each log. This also +allows filtering logs for display by their category, see below. + + | *show logging -r* | Show system logs and events in reverse chronological order, i.e. newest logs first. @@ -51,6 +62,9 @@ NOTE: All commands were tested on HP/Aruba 5400 switches (specifically 5406Rzl2) |Show log of commands issued by users on CLI. This log is NOT erased even by the `clear log` and records all commands - both configuration and not. So, it will record commands like `ping 8.8.8.8`, `clear log`, `no router bgp`. Adding `-a` will show logs from previous boot cycles. +|*show log -m/-e/-p/-w/-i/-d* +|Show only logs of the specified category, see above for the available categories. + |*clear log* |Delete all logs.