Most direct: /interface ethernet disable ether7 /interface ethernet enable ether7
Goes without saying that the interface has to be currently named ether7. If it has been changed: /interface ethernet disable [find default-name=ether7] will change ether port #7 no matter what it is named. > On Feb 21, 2017, at 12:35 PM, Jenco Wireless <[email protected]> wrote: > > Thanks. Tried that. It still doesn't work. > > On Feb 21, 2017 2:25 PM, "Josh Luthman" <[email protected]> wrote: > >> Don't use "set 7". Use something like "set ether7" >> >> You get interface #7 after a print, which can vary. >> >> >> Josh Luthman >> Office: 937-552-2340 <(937)%20552-2340> >> Direct: 937-552-2343 <(937)%20552-2343> >> 1100 Wayne St >> Suite 1337 >> Troy, OH 45373 >> >> On Tue, Feb 21, 2017 at 2:22 PM, Jenco Wireless <[email protected]> >> wrote: >> >>> Hello. I have the simple command: >>> >>> /interface ethernet set 7 disabled=yes >>> >>> in a script. All permissions checked. When I run the script the >> Interface >>> does not disable. >>> >>> When I paste it in a terminal it works fine. I have researched online >> and >>> tried tons of combinations. No luck. >>> >>> V6.37.3 >>> >>> Any help would be most appreciated! >>> >>> Thank you, >>> >>> Brad H >>> -------------- next part -------------- >>> An HTML attachment was scrubbed... >>> URL: <http://mail.butchevans.com/pipermail/mikrotik/attachments/ >>> 20170221/bbfe1f41/attachment.html> >>> _______________________________________________ >>> Mikrotik mailing list >>> [email protected] >>> http://mail.butchevans.com/mailman/listinfo/mikrotik >>> >>> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik >>> RouterOS >>> >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: <http://mail.butchevans.com/pipermail/mikrotik/ >> attachments/20170221/79feef63/attachment.html> >> _______________________________________________ >> Mikrotik mailing list >> [email protected] >> http://mail.butchevans.com/mailman/listinfo/mikrotik >> >> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik >> RouterOS >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://mail.butchevans.com/pipermail/mikrotik/attachments/20170221/4cd5049f/attachment.html> > _______________________________________________ > Mikrotik mailing list > [email protected] > http://mail.butchevans.com/mailman/listinfo/mikrotik > > Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS -- Grand Avenue Broadband -- Wireless Internet Service Circle City to Wickenburg and surrounding areas http://grandavebb.com _______________________________________________ Mikrotik mailing list [email protected] http://mail.butchevans.com/mailman/listinfo/mikrotik Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

