PPPOE client disconnect and connect command

Hi,

I want to disconnect and reconnect pppoe client in MK via command line. This is not just disable and enable pppoe. The Webfig GUI allows you to reconnect the pppoe client. How do I do this via the command line?

Thank you

Jake

First locate the pppoe connection you want to remove

/ppp active print

Let’s say is number 4; do

/ppp active remove numbers=4

That would do it.

Most CLI menus follow closely the GUI menus naming and submenus. While on the CLI, play with tab, it will show context-aware options and commands, it’s a great way of learning the CLI.

/ppp active print

returns nothing. What should I do?

/interface pppoe-client print 
Flags: X - disabled, R - running 
 0  R name="pppoe-out-iinet" max-mtu=1492 max-mru=1492 mrru=disabled 
      interface=ether1-gateway user="churchinperth" password="xixI3WFo9" 
      profile=default keepalive-timeout=disabled service-name="" ac-name="" 
      add-default-route=yes default-route-distance=0 dial-on-demand=no 
      use-peer-dns=no allow=pap,chap,mschap1,mschap2

Sorry, I thought you had a server and wanted to disconnect a client! :slight_smile:

Cannot see any other way from the CLI than to disable and later enable it again.