RouterOS_API
RouterOS_API copied to clipboard
Please help me implement the command code using API writing method.
Please tell me how to implement the following command using API.
#Query the IP address of the specified interface
/ip address print where interface="pppoe-out1"
#Disable the specified interface
/interface pppoe-client set [ find name=pppoe-out51 ] disabled=yes
#Enable the specified interface
/interface pppoe-client set [ find name=pppoe-out51 ] disabled=no