【问题标题】:Error opening tftp:// (Time Out)打开 tftp:// 时出错(超时)
【发布时间】:2017-09-11 10:08:27
【问题描述】:

我正在尝试将我的运行配置文件从 Cisco 接入点复制到
我的 Linux 机器 /tftpboot/ 目录,但我遇到了类似的问题

user@device#telnet 192.168.xxx.x
Trying 192.168.xxx.x...
Connected to 192.168.xxx.x (192.168.xxx.x).
Escape character is '^]'.

User Access Verification

Username: Cisco
Password:
ap>en
Password:
ap#copy running-config tftp:
Address or name of remote host []? 192.168.xxx.x
Destination filename [ap-confg]? backup_config_192_168_xxx_x
.....
%Error opening tftp://192.168.xxx.x/backup_config_192_168_xxx_x (Timed out)

我已经按照给定的命令在我的 Linux 机器上设置了防火墙规则

(/sbin/iptables -L INPUT | /bin/grep 192.168.xxx.x | /bin/grep tftp || /sbin/iptables -I INPUT -p UDP -i eth0.100 -s 192.168.xxx.x --dport 69 -j ACCEPT) > /dev/null 2>&1
/sbin/iptables -A INPUT -i eth0.100 -s 192.168.xxx.x -p udp -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT > /dev/null 2>&1
/sbin/iptables -A OUTPUT -o eth0.100 -s 192.168.xxx.x -p udp -m state --state ESTABLISHED,RELATED -j ACCEPT > /dev/null 2>&1

eth0.100 是接入点的接口

【问题讨论】:

    标签: linux bash shell networking cisco


    【解决方案1】:

    目录有什么权限?您可以让每个人都可以暂时访问它来尝试。 CHMOD777 /tftpboot

    【讨论】:

    • 我已更改为对同一目录的完全读取、写入和执行 (777) 权限,但我仍然收到相同的错误。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-06
    • 2014-09-12
    • 2014-03-04
    • 2016-09-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多