summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-20 18:06:54 +0100
committerChristian Poessinger <christian@poessinger.com>2022-12-20 18:18:19 +0100
commit2dc1cbc82dd26390615ca7f26878176891a5b12d (patch)
tree99e98d5d993b073890b49de9db076348a91ebc11 /op-mode-definitions
parent4e61fb1f0fd075c5b1a67165204e13f88a7d3015 (diff)
downloadvyos-1x-2dc1cbc82dd26390615ca7f26878176891a5b12d.tar.gz
vyos-1x-2dc1cbc82dd26390615ca7f26878176891a5b12d.zip
op-mode: radvd: T4809: add CLI commands for log display
- show log router-advert - monitor log router-advert
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/monitor-log.xml.in6
-rw-r--r--op-mode-definitions/show-log.xml.in6
2 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in
index 1b1f53dc2..8abc5f4db 100644
--- a/op-mode-definitions/monitor-log.xml.in
+++ b/op-mode-definitions/monitor-log.xml.in
@@ -212,6 +212,12 @@
</tagNode>
</children>
</node>
+ <leafNode name="router-advert">
+ <properties>
+ <help>Monitor last lines of Router Advertisement Daemon (radvd)</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --follow --unit radvd.service</command>
+ </leafNode>
<leafNode name="snmp">
<properties>
<help>Monitor last lines of Simple Network Monitoring Protocol (SNMP)</help>
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 64a54015b..977ece453 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -344,6 +344,12 @@
</leafNode>
</children>
</node>
+ <leafNode name="router-advert">
+ <properties>
+ <help>Show log for Router Advertisement Daemon (radvd)</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --unit radvd.service</command>
+ </leafNode>
<leafNode name="snmp">
<properties>
<help>Show log for Simple Network Monitoring Protocol (SNMP)</help>