/ip firewall filter set [/ip firewall filter find content="facebook.com"] disabled=yes
/ip firewall filter set [/ip firewall filter find content="facebook.com"] disabled=no
Enable dan disable queues tree
/queue tree set [/queue tree find name="test"] disabled=yes
/queue tree set [/queue tree find name="test"] disabled=no
Merubah otomatis queues
Simple
/queue simple set [find name="192.168.1.1"] max-limit=384000/256000
/queue simple set [find name="192.168.1.2"] max-limit=384000/256000
/queue simple set [find name="192.168.1.3"] max-limit=384000/256000
atau
/queue simple set nama/nyobi max-limit=512000/512000
Tree
/queue tree set name/coba limit-at=256000 max-limit=512000
atau
/queue tree set [find name="coba"] limit-at=128000 max-limit=256000
All Holiday
:if ([/system scheduler get [/system scheduler find on-event="fb-deny"] disabled] = true) do [/system scheduler set [/system scheduler find on-event="fb-deny"] disabled=no] else [/system scheduler set [/system scheduler find on-event="fb-deny"] disabled=yes]
Update Nice
:if ([:len [/file find name=nice.rsc]] > 0) do={ /file remove nice.rsc }; /tool fetch address=ixp.mikrotik.co.id path=/download/nice.rsc;/import nice.rsc
Backup to email
/system backup save name=("pop-crk-" . [:pick [/system clock get date] 7 11] . [:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4 6]);\
/tool e-mail send to="senks@cifo.co.id" subject=([/system identity get name] . " Backup " . \
[/system clock get date]) file=("pop-crk-" . [:pick [/system clock get date] 7 11] . \
[:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4 6] . ".backup"); :delay 10
No comments:
Post a Comment