diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-24 07:35:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 07:35:54 +0100 |
commit | 56a134ab03b575394c1385a8c2de6dc8c96ecfba (patch) | |
tree | 71b1323365e0717764144ba876c5fcd6259dba51 /op-mode-definitions/show-log.xml.in | |
parent | e090c10ea0767bf144f64966d6d0f52fd28b5837 (diff) | |
parent | a383ba561b5709fb0686576a6946218eccf9f4f1 (diff) | |
download | vyos-1x-56a134ab03b575394c1385a8c2de6dc8c96ecfba.tar.gz vyos-1x-56a134ab03b575394c1385a8c2de6dc8c96ecfba.zip |
Merge pull request #1776 from c-po/t4949-backports
T4949: Backport "monitor log" and "show log" op-mode definitions from current to equuleus
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-rw-r--r-- | op-mode-definitions/show-log.xml.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 4c0a7913b..9a8145f10 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -177,6 +177,12 @@ </tagNode> </children> </tagNode> + <leafNode name="ipoe-server"> + <properties> + <help>Show log for IPoE server</help> + </properties> + <command>journalctl --no-hostname --boot --unit accel-ppp@ipoe.service</command> + </leafNode> <leafNode name="kernel"> <properties> <help>Show messages in kernel ring buffer</help> @@ -212,6 +218,29 @@ </tagNode> </children> </node> + <node name="pppoe"> + <properties> + <help>Show log for PPPoE interface</help> + </properties> + <command>journalctl --no-hostname --boot --unit "ppp@pppoe*.service"</command> + <children> + <tagNode name="interface"> + <properties> + <help>Show PPPoE log on specific interface</help> + <completionHelp> + <path>interfaces pppoe</path> + </completionHelp> + </properties> + <command>journalctl --no-hostname --boot --unit "ppp@$5.service"</command> + </tagNode> + </children> + </node> + <leafNode name="pppoe-server"> + <properties> + <help>Show log for PPPoE server</help> + </properties> + <command>journalctl --no-hostname --boot --unit accel-ppp@pppoe.service</command> + </leafNode> <leafNode name="snmp"> <properties> <help>Show log for Simple Network Monitoring Protocol (SNMP)</help> |