summaryrefslogtreecommitdiff
path: root/op-mode-definitions/l2tp-server.xml
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/l2tp-server.xml')
-rw-r--r--op-mode-definitions/l2tp-server.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/l2tp-server.xml b/op-mode-definitions/l2tp-server.xml
new file mode 100644
index 000000000..fb1b85ce4
--- /dev/null
+++ b/op-mode-definitions/l2tp-server.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="l2tp-server">
+ <properties>
+ <help>show l2tp-server status</help>
+ </properties>
+ <children>
+ <leafNode name="sessions">
+ <properties>
+ <help>Show active L2TP server sessions</help>
+ </properties>
+ <command>/usr/bin/accel-cmd -p 2004 'show sessions'</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>