سيرفرات المايكروتك, صفحات هوت سبوت ماهو سرفر المايكروتك وميزاته والتعامل معه وادارته






  • رقم العضوية
    212498
  • المشاركات
    3
عضو جديد
تاريخ التسجيل: Jan 2009
مستوى التقييم: 0
mwe4memo
# :1
حذف الهوست نيم الفارغ والموبايلات

/system scheduler
add comment="\CD\D0\DD \C7\E1\E5\E6\D3\CA \E4\ED\E3 \C7\E1\DD\C7\D1\DB" \
interval=20m name=host-name on-event=host-name policy=\
ftp,reboot,read,write,policy,test,passwo rd,sniff,sensitive start-date=\
feb/24/2015 start-time=18:40:00
add comment="\CD\D0\DD \E5\E6\D3\CA \E3\E6\C8\C7\ED\E1" interval=2d name=\
host-mobile on-event=host-mobile policy=\
ftp,reboot,read,write,policy,test,passwo rd,sniff,sensitive start-date=\
feb/24/2015 start-time=18:40:00

/system script
add comment="\CD\D0\DD \C7\E1\E5\E6\D3\CA \E4\ED\E3 \C7\E1\DD\C7\D1\DB" name=host-name \
owner=admin policy=ftp,reboot,read,write,policy,test ,password,sniff,sensitive \
source="foreach i in=[/ip dhcp-server lease find] do={\r\
\n :if ([:len [/ip dhcp-server lease get \$i host-name]] = 0) do={\r\
\n /ip dhcp-server lease remove \$i;\r\
\n }\r\
\n}"

add comment="\CD\D0\DD \E5\E6\D3\CA \E3\E6\C8\C7\ED\E1" name=host-mobile owner=admin \
policy=ftp,reboot,read,write,policy,test ,password,sniff,sensitive source="/ip dhcp-\
server lease remove [find dynamic=yes host-name~\"android*\"]\r\
\n/ip dhcp-server lease remove [find dynamic=yes host-name~\"Android*\"]\r\
\n/ip dhcp-server lease remove [find dynamic=yes host-name~\"Windows*\"]\r\
\n/ip dhcp-server lease remove [find dynamic=yes host-name~\"*-PC\"]"




 
أدوات الموضوع