From 5c2decfd8085895142022932845ceb8e1ddcb4ca Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Thu, 16 Apr 2020 19:54:41 +0000 Subject: l2tp: T2256: Implement control script for operational commands --- op-mode-definitions/l2tp-server.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/op-mode-definitions/l2tp-server.xml b/op-mode-definitions/l2tp-server.xml index fb1b85ce4..3e96b9365 100644 --- a/op-mode-definitions/l2tp-server.xml +++ b/op-mode-definitions/l2tp-server.xml @@ -4,14 +4,20 @@ - show l2tp-server status + Show L2TP server information Show active L2TP server sessions - /usr/bin/accel-cmd -p 2004 'show sessions' + ${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="l2tp" --action="show sessions" + + + + Show L2TP server statistics + + ${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="l2tp" --action="show stat" -- cgit v1.2.3