Auto Reboot & Clear Counter Mikrotik

Script kedua gue sejak bisa pake Mikrotik

1. Auto Reboot Mikrotik

/system script pr
name="scrrestart" owner="admin"
policy=ftp,reboot,read,write,policy,test,winbox,pa ssword run-count=0
source=/system reboot



2. Auto Reset Counter firewall and mangle

/system script pr
name="resetcntr" owner="admin"
policy=ftp,reboot,read,write,policy,test,winbox,pa ssword run-count=0
source=
/ip firewall filter reset-counters-all
/ip fire mangle reset-counters-all


nah ini schedulernya:

# NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT
0 schrestart scrrestart apr/16/2007 05:00:00 1d 0
1 schrstctr resetcntr dec/13/2006 04:59:55 1d 0


punya gue kubuat tiap hari reset sama reboot tiap pagi

0 komentar:

Posting Komentar