zoukankan      html  css  js  c++  java
  • ROS 负载均衡

    [xuan89@MikroTik] > :for i from=1 to=$z do= {/ip firewall mangle add action=mark-connection chain=input comment=("inputabc".$i) disabled=no in-interface=("pppoe-abc".$i) n
    ew-connection-mark=("inabc".$i) passthrough=yes} 3                                                                        
    expected end of command (line 1 column 201)
    [xuan89@MikroTik] > :for i from=1 to=$z do= {/ip firewall mangle add action=mark-routing chain=output comment=("outabc".$i) connection-mark=("inabc".$i) disabled=no new-ro
    uting-mark=("toabc".$i) passthrough=yes} 4                                                                                
    expected end of command (line 1 column 193)
    [xuan89@MikroTik] > :for i from=1 to=$z do= {/ip firewall mangle add action=mark-connection chain=prerouting comment=("conabc".$i) disabled=no dst-address-type=!local new-
    connection-mark=("inabc".$i) passthrough=yes per-connection-classifier=("both-addresses:$z/".($i-1)) src-address-list=abc} 5
    expected end of command (line 1 column 275)
    [xuan89@MikroTik] > :for i from=1 to=$z do= {/ip firewall mangle add action=mark-routing chain=prerouting comment=("routabc".$i)  connection-mark=("inabc".$i) disabled=no
    new-routing-mark=("toabc".$i) passthrough=yes src-address-list=abc} 6                                                       
    expected end of command (line 1 column 220)
    [xuan89@MikroTik] > :for i from=1 to=$z do= {/ip route add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=("pppoe-abc".$i) routing-mark=("toabc".$i)} 7   
    expected end of command (line 1 column 148)                                                                                 
    [xuan89@MikroTik] > :for i from=1 to=14 do= {/ip firewall mangle add action=mark-routing chain=prerouting comment=("routabc".$i)  connection-mark=("inabc".$i) disabled=no
    new-routing-mark=("toabc".$i) passthrough=no src-address-list=abc} 8                                                        
    expected end of command (line 1 column 219)

  • 相关阅读:
    Linux三剑客之sed深度实践讲解(上)
    Linux第三阶段题型测试
    Linux正则表达式题型
    linux文本处理三剑客命令及用法
    SSH服务协议、部署ssh、scp、sftp服务
    NFS客户端挂载及永久生效
    SSH实现无密码登录
    NFS深度解析及搭建同步NFS服务
    NFS文件系统及搭建NFS共享服务
    Linux系统磁盘管理
  • 原文地址:https://www.cnblogs.com/huninglei/p/5652234.html
Copyright © 2011-2022 走看看