cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3329
Views
0
Helpful
6
Replies

get running config to ftp server failed

martlee2
Cisco Employee
Cisco Employee

i has already set every one read and write in folder named tin in desktop in window 7, but still can not create file and write file after using ftp

static ip of network card i set 192.168.1.207 in window 7 connected to one of switchport mode access port in switch

first i use filezilla

as01#copy running-config ftp:
Address or name of remote host []? 192.168.1.207
Destination filename [as01-confg]?
Writing as01-confg
%Error writing ftp://192.168.1.207/as01-confg (Undefined error)

 

then i use tftpd32 , set binding address 192.168.1.207

as01#copy running-config ftp:
Address or name of remote host []? 192.168.1.207
Destination filename [as01-confg]?
Writing as01-confg
%Error writing ftp://192.168.1.207/as01-confg (Undefined error)

 

then i change to use IIS 's ftp, it can upload file by drag and drop , but right click do not have create file

when i see cisco is writing, i do not know whether it is uploading or creating file and write to it

6 Replies 6

Cisco Freak
Level 4
Level 4

Hi,

Did you verify the reachability from the device to the remote TFTP server.  Are you able to ping the IP 192.168.1.207 from the device?

Did you also try tftp?

CF

the switch can ping 

as01#ping 192.168.1.207

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.207, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

i have tried tftp

as01#copy system:running-config tftp:
Address or name of remote host []? 192.168.1.207
Destination filename [as01-confg]?
.....
%Error opening tftp://192.168.1.207/as01-confg (Timed out)

 

 

tried no passive still failed

 

noc01as01#sh run | be FastEthernet0/21
ip tftp source-interface FastEthernet0/21
 

conf t
int FastEthernet0/21
switchport mode access
end


sh run | be FastEthernet0/21

copy running-config tftp:


conf t
no ip ftp passive
ip ftp user noc
ip ftp password 123
end

 

finally i use wireshark to see, there is no ftp protocol connection with my notebook

then off Macfee IPS, firewall, 

 

and filter with ftp in wireshark , there is no ftp show in wireshark

 

From the device are you able to telnet to port 21 on 192.168.1.207. If not, there might be some restriction in the network.

CF

since i paste the config captured by putty  got many ^ error and I am advised to use

copy ftp: runningconfig to import the running config to extra testing switch

do not know why i just connect a console and at the same time connect a port which can access management vlan,  switchport mode access, and set static ip using the same vlan in notebook

someone said that my notebook erase the config of the switch and become the default config leading a loop due to VLAN 1

i remember that i use wifi which connected to the same switch and using ubuntu in virtual box. 

will i infected virus or being hacked?

 

actually i do not understand is that the distribution layer switch the access switch i connected , and the distribution layer switch which has ports down are two different switches

why my testing access layer switch lost config influence the distribution layer switch which it do not physically connected?

succeed after discover wrong vlan setting

Glad that you made it!

CF

Review Cisco Networking products for a $25 gift card