最全的ROS脚本中文详解
因为下面这个问题
我觉得脚本详细解释也许对大家有用处
决定把以前网络时候找的资料发上来
希望对大家有用处
[apple@sgg-gatewy] > :put (([/ip firewall address-list get 0 address ] & 255.255 .255.0) . \/24)
202.103.24.0/24
这样使用put可以实现把
202.103.24.0
和/24
结合成一个整体
但是怎么样把这个新的值202.103.24.0/24赋给一个变量呢,set不能完成,谁有好的建议或者意见
我准备做的是通过vpn客户端的访问源地址,自动添加/ip route rule里面的数据
现在可以自动把202.103.24.68这样的具体ip自动添加,但是我想根据这个ip然后自动添加一个标准c段
[apple@sgg-gatewy] > :environment print
Global Variables
Local Variables
[apple@sgg-gatewy] > :put (([/ip firewall address-list get 0 address ] & 255.255.255.0) . \/24)
221.232.119.0/24
[apple@sgg-gatewy] > :global testip
[apple@sgg-gatewy] > :put $testip
[apple@sgg-gatewy] > :set testip 202.103.24.0/24
[apple@sgg-gatewy] > :put $testip
202.103.24.0/24
[apple@sgg-gatewy] > :set testip [:put (([/ip firewall address-list get 0 address ] & 255.255.255.0) . \/24)]
221.232.119.0/24
[apple@sgg-gatewy] > :put
$testip
[apple@sgg-gatewy] > :set testip {[:put (([/ip firewall address-list get 0 address ] & 255.255.255.0) . \/24)]}
[apple@sgg-gatewy] > :put
$testip
最全的ROS脚本中文详解 11页 2下载券ROS常用脚本...ROS封杀常用P2P策略脚本: / ip firewall filter add chain=input protocol=udp ...
ros简单安装 暂无评价 1页 免费 ROS的安装 2页 免费 ROS图文安装教程 30页 2下载券 最全的ROS脚本中文详解 11页 2下载券喜欢此文档的还喜欢...
ros 脚本详细解释 14页 1下载券 西方文化导论专有名词中... 暂无评价 4页 2下载券 名词 解释 暂无评价 6页 免费 轮机英语题库中文翻译及... 76页 免费...
ROS教程v5 中文教程_IT/计算机_专业资料。ROS 最全的中文教程...WLAN 配置和脚本编写都进行了讲解,也分析 RouterOS 工作流程、多线路路由和负载...
ROS-3.0中文版说明书_IT/计算机_专业资料。router-3.0中文版说明书... ros智能限速脚本和调试说... 3页 免费 UT2000 IV型用户说明书3... 54页...
最全的ROS网通路由表最全的ROS网通路由表隐藏>> /ip route add dst-address=58.14.0.0/15 gateway=网通网关 distance=0 scope=255 check-gateway=ping add...
ROS-1700W中文资料_电子/电路_工程科技_专业资料。元器件交易网www.cecb2b.... 经典的ROS Winbox中文版... 10页 1下载券 最全的ROS脚本中文详解 11页 2...
Aqueous washable Voltage Controlled Oscillator 1662 to 2432 MHz ROS-2432-119+ CASE STYLE: CK605 PRICE: $ 24.95 ea. QTY (5-49) Applications ? ...
2010最新网通ros路由脚本_信息与通信_工程科技_专业资料。2010最新网通ros路由脚本# 更新日期:2010-12-11 替换网通网关为你实际网通网关的ip,另存为.rsc文件,...
ROS-1000PV中文资料_电子/电路_工程科技_专业资料。元器件交易网www.cecb2b.... 经典的ROS Winbox中文版... 10页 1下载券 最全的ROS脚本中文详解 11页 2...
热门文档