From f1072b8a6e43fd138d5ed37f88a108ebc9dd5597 Mon Sep 17 00:00:00 2001 From: Yuri Slobodyanyuk Date: Tue, 7 Jun 2022 16:31:21 +0300 Subject: [PATCH] Update Aruba-HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc --- ...HP-switches-debug-and-diagnostics-commands-cheat-sheet.adoc | 3 +++ 1 file changed, 3 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 0f95251..961fb6f 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 @@ -42,6 +42,9 @@ for the next boot. | *show logging -r* | Show system logs and events in reverse chronological order, i.e. newest logs first. +|*show log _string-to-search_* +|Search and display only logs containing the specified string. The search is *case sensitive*, and no regex - just plain strings. E.g. to search for logs containing the interface _1/B2_: `show log 1/B2`. E.g. search for all bgp-related logs like peer up/down: `show log -r bgp`. + |*clear log* |Delete all logs on the switch.