Community discussions

MikroTik App
 
eldoncito2019
Member
Member
Topic Author
Posts: 333
Joined: Fri Jun 14, 2019 1:07 pm

Script to disable interface

Fri Jun 14, 2019 4:37 pm

Hi, I have this script to disable an interface of my RB, but it does not run, I do not know what I'm doing wrong, someone to help me.
I leave the script


/nterface ETHERT 2 disable [find dynamic=no];
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Script to disable interface

Fri Jun 14, 2019 5:16 pm

Command should be some like this:
/interface ethernet disable ether1
/interface ethernet enable ether1
/interface ethernet disable {name of interface}
 
eldoncito2019
Member
Member
Topic Author
Posts: 333
Joined: Fri Jun 14, 2019 1:07 pm

Re: Script to disable interface

Fri Jun 14, 2019 5:42 pm

/interface ethernet disable "ETHERT 2"

that's the script, thanks for the help friend.

Who is online

Users browsing this forum: No registered users and 73 guests