From 7bb20a8bb9d0e274db0474ad274667ce7dd8bee1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 24 Apr 2022 10:57:43 +0200 Subject: op-mode: T4390: add "show|monitor log pppoe" CLI commands --- op-mode-definitions/monitor-log.xml.in | 17 +++++++++++++++++ op-mode-definitions/show-log.xml.in | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index 8a051d49a..aa8f13769 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -20,6 +20,23 @@ journalctl --no-hostname --boot --follow --dmesg + + + Monitor last lines of PPPoE log + + journalctl --no-hostname --boot --follow --unit "ppp@pppoe*.service" + + + + Monitor last lines of PPPoE log for specific interface + + + + + journalctl --no-hostname --boot --follow --unit "ppp@$6.service" + + + Monitor log for Routing Protocols diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index c3b8af985..954369712 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -212,6 +212,23 @@ + + + Show log for PPPoE + + journalctl --no-hostname --boot --unit "ppp@pppoe*.service" + + + + Show PPPoE log on specific interface + + + + + journalctl --no-hostname --boot --unit "ppp@$6.service" + + + Show log for Routing Protocols -- cgit v1.2.3