From 67c6c3d864e78740ae8d23509d0ddea11305148b Mon Sep 17 00:00:00 2001 From: Daniil Kharun Date: Wed, 26 Feb 2020 18:37:04 +0300 Subject: ipoe-server: T2073: reset op-mode command for sessions --- op-mode-definitions/ipoe-server.xml | 38 ++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/ipoe-server.xml b/op-mode-definitions/ipoe-server.xml index 369ceebea..c05e2d2c1 100644 --- a/op-mode-definitions/ipoe-server.xml +++ b/op-mode-definitions/ipoe-server.xml @@ -1,5 +1,41 @@ + + + + + Clear ipoe-server sessions or process + + + + + Clear ipoe-server session + + + + + Clear ipoe-server session by username + + + + + /usr/bin/accel-cmd -p 2002 terminate username $5 + + + + Clear ipoe-server session by sid + + + + + /usr/bin/accel-cmd -p 2002 terminate sid $5 + + + + + + + @@ -11,7 +47,7 @@ Show active IPoE server sessions - /usr/bin/accel-cmd -p 2002 show sessions ifname,called-sid,calling-sid,ip,ip6,ip6-dp,rate-limit,state,uptime,sid + /usr/bin/accel-cmd -p 2002 show sessions ifname,username,called-sid,calling-sid,ip,ip6,ip6-dp,rate-limit,state,uptime,sid -- cgit v1.2.3