ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 2492|回复: 2

高手帮我看一下,脚本为什么执行了没有效?

[复制链接]
发表于 2017-6-24 00:23:51 | 显示全部楼层 |阅读模式

马上注册成为ROSABC会员,随时发帖回复。

您需要 登录 才可以下载或查看,没有账号?会员注册

x
:global ip [ /Queue List get [/Queue List find comment="xy"]  Target Address ]
:global new-ip [:pick $ip 0 [:find $ip "/"]]
:global old-ip [/ip ARP List get [/ip ARP List find MAC Address=45:8A:CC:98:11:CA] IP Address]
:if ($new-ip != $old-ip) do={
        :log info [/Queue List set [/Queue List find comment="xy"] Target Address=$old-ip]
        :log info "〖修改完毕〗"
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2024-4-25 12:54 , Processed in 1.223624 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表