打开tftp://时出错(超时)

时间:2017-09-11 10:08:28

标签: linux bash shell networking cisco

我正在尝试将我的running-config文件从Cisco Access Point复制到
我的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是接入点的接口

1 个答案:

答案 0 :(得分:0)

目录有哪些权限?您可以暂时访问它,供所有人试用。 CHMOD777 / tftpboot