|
发表于 2006-12-17 15:47:59
|
显示全部楼层
恩,可能是这个原因
从ros的网站摘下来的http://www.mikrotik.com/testdocs/ros/2.9/system/scripting.php
Time intervals can be entered either using HH:MM:SS.MS notation, e.g.:
[admin@MikroTik] > :put 01:12:1.01
01:12:01.010
[admin@MikroTik] >
or as sequence of numbers, optionally followed by letters specifying the units of time measure (d dor days, h for hours, m for minutes, s for seconds and ms for milliseconds), e.g.:
[admin@MikroTik] > :put 2d11h12
2d11:00:12
[admin@MikroTik] >
As can bee seen, time values with omitted unit specificators are treated as expressed in seconds.
Possible aliases for time units:
d, day, days - one day, or 24 hours
h, hour, hours - one hour
m, min - one minute
s - one second
ms - one millisecond, id est 0.001 second
The console also accepts time values with decimal point:
[admin@MikroTik] > :put 0.1day1.2s
02:24:01.200
[admin@MikroTik] >
以上是ros网站的
这样输入也不行
[admin@MikroTik] > :put (09h00m00s - 06h00m00s)
cannot substract string from time interval
[admin@MikroTik] > :put (07h00m00s - 06h00m00s)
01:00:00 |
|