Telnet 资产要求

需要在 Web “系统设置”-“终端设置” 添加成功判断代码

是 通过 telnet 命令登录 telnet设备 成功 的返回字符串

  • 举例
  1. telnet 172.16.0.1
  1. Login authentication
  2. login: admin
  3. password: *********
  4. Info: The max number or VTY users is 10, and the number
  5. of current VTY users on line is 1.
  6. <RA-L7-RD>
  7. <RA-L7-RD> system-view
  • <RA-L7-RD> 写入到 Web “系统设置”-“终端设置”-“Telnet 成功正则表达式” 里面
  • <RA-L7-RD> 正则可用 <.*> 表示 或者 <RA-.*>
  • RW-F1-1 正则可用 RW-.*

不会写正则直接写设备名就行, 设备1名|设备2名|设备3名|设备4名|success|成功

  • RW-1F-1|RW-2F-1|RW-3F-1|success|成功
  • <RA-L7-RD>|<RA-L6-RD>|<RA-L5-RD>|success|成功
  • <.*>|.*>|success|成功