cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3160
Views
0
Helpful
3
Replies

Copying from tftp server to flash

dbuckley77
Level 1
Level 1

I have the commands down for copying from a tftp server to flash but cannot connect to the tftp server via the console.

 

Do I need to set an IP address on a vlan interface, assign a port to that vlan and then plug my PC running tftp server into the port?

 

What is best practice for acessing a tftp server from router/switch?

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

1 You need to have a physical port with an ip address or a vlan interface with ip address and port assigned to that interface on your switch/router

2 Your pc needs to have an ip address in the same range make sure you can ping between the pc and router interface first so connectivity is there for the tftp to work

3 Make sure no local firewall is running on your pc sometimes this can cause the tftp to fail as it may be blocked depending on whats running

4 Make sure there's enough memory in flash in your device to take the new image , your tftp server is running on your pc and the root folder is set int the tftp server with your IOS ready to upload to the router/switch

http://www.cisco.com/c/en/us/support/docs/routers/2500-series-routers/15092-copyimage.html

View solution in original post

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

You can use the console the access the switch, but TFTP uses an Ethernet port and not console.  So, connect your PC/laptop to a port on the switch, make the port a routed port by issuing "no switchport" under the interface, give the port and the laptop each an IP on the same segment, turn on TFTF server on your PC, make sure the file is in your PC and copy from tftp to flash. .

HTH
 

Mark Malone
VIP Alumni
VIP Alumni

1 You need to have a physical port with an ip address or a vlan interface with ip address and port assigned to that interface on your switch/router

2 Your pc needs to have an ip address in the same range make sure you can ping between the pc and router interface first so connectivity is there for the tftp to work

3 Make sure no local firewall is running on your pc sometimes this can cause the tftp to fail as it may be blocked depending on whats running

4 Make sure there's enough memory in flash in your device to take the new image , your tftp server is running on your pc and the root folder is set int the tftp server with your IOS ready to upload to the router/switch

http://www.cisco.com/c/en/us/support/docs/routers/2500-series-routers/15092-copyimage.html

Thanks Mark.

Review Cisco Networking for a $25 gift card