show pppoe-server status
Show active PPPoE server sessions
/usr/bin/accel-cmd 'show sessions ifname,username,ip,ip6,ip6-dp,calling-sid,rate-limit,state,uptime,rx-bytes,tx-bytes'
Show PPPoE server statistics
/usr/bin/accel-cmd 'show stat'
Show interfaces where pppoe-server listens on
/usr/bin/accel-cmd 'pppoe interface show'
Restarts pppoe-server
if [ -e /var/run/accel_pppoe.pid ]; then /usr/bin/accel-cmd restart -p 2001; else echo "pppoe-server not running"; fi
Reset a service
Reset PPPoE server sessions
Terminate all pppoe-server users
/usr/bin/accel-cmd terminate all
Terminate a ppp interface
/usr/bin/accel-cmd terminate if "$4"
Terminate specified users
/usr/bin/accel-cmd terminate match username "$4"