|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
先是script脚本:
/ system script
add name="drop467121444209" source="{
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.4/32\] disabled=no
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.6/32\] disabled=no
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.7/32\] disabled=no
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.12/32\] disabled=no
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.14/32\] disabled=no
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.44/32\] disabled=no
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.209/32\] disabled=no
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.15/32\] disabled=no
\n}" policy=ftp,reboot,read,write,policy,test
add name="accept4671214209" source="{
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.4/32\] disabled=yes
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.6/32\] disabled=yes
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.7/32\] disabled=yes
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.12/32\] disabled=yes
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.14/32\] disabled=yes
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.44/32\] disabled=yes
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.209/32\] disabled=yes
\n/ ip firewall rule lanIP set \[ip firewall rule lanIP find \
src-address=192.168.0.15/32\] disabled=yes
\n}" policy=ftp,reboot,read,write,policy,test
然后是scheduler脚本:
/ system scheduler
add name="stat-link" on-event=accept4671214209 start-date=jan/01/1970 start-time=09:00:00 interval=1d comment="Control \
Engineering department up4-6-7-12-14-209" disabled=no
add name="stop-link" on-event=drop467121444209 start-date=jan/01/1970 start-time=22:00:00 interval=1d comment="" \
disabled=no
[ 本帖最后由 cracks 于 2007-11-4 13:30 编辑 ] |
|