找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2429|回复: 2

[策略设置] 多线ADSL负载均衡Interface List中显示中文连接状态和IP的脚本

[复制链接]
发表于 2009-6-29 18:24:29 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

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

×
本帖最后由 gaokepc 于 2009-6-29 18:59 编辑

#Interface  List中显示中文动态ADSL连接状态和IP的脚本
:global new-status1 [/interface get [/interface find name=pppoe-out1] running]
:global new-address1 [/ip address get [/ip address find dynamic=yes interface=pppoe-out1] address]
:global new-address1 [:pick $new-address1 0 [:find $new-address1 "/"]]
:if ($new-status1=true) do={
  /interface set [/interface find name=WAN1] comment=("1线连接IP:" . $new-address1)
  } else={
  /interface set [/interface find name=WAN1] comment="1线断开"
  }
四线显IP流量图.JPG
8线QQ.JPG
routeros
发表于 2009-6-29 20:58:11 | 显示全部楼层
那2號線呢 。在什么地方運行?
routeros
回复

使用道具 举报

发表于 2009-6-29 21:09:20 | 显示全部楼层
有必要吗,
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-5 01:50 , Processed in 0.084486 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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