Fájl átvitel PC-re (TFTP)

From Joe

(Difference between revisions)
(Tftp szerver logja)
(Fájl átvitel menete)
Line 5: Line 5:
*Másolás
*Másolás
===Fájl átvitel menete===
===Fájl átvitel menete===
-
  c3560#'''show flash:'''<cr>
+
  c3560#'''show flash: <cr>'''
   
   
  Directory of flash:/
  Directory of flash:/
Line 16: Line 16:
  32514048 bytes total (24352768 bytes free)
  32514048 bytes total (24352768 bytes free)
   
   
-
  c3560#'''cd c3560-ipbase-mz.122-25.SEE2'''<cr>
+
  c3560#'''cd c3560-ipbase-mz.122-25.SEE2 <cr>'''
-
  c3560#'''dir'''<cr>
+
  c3560#'''dir <cr>'''
  Directory of flash:/c3560-ipbase-mz.122-25.SEE2/
  Directory of flash:/c3560-ipbase-mz.122-25.SEE2/
   
   
Line 25: Line 25:
   
   
  32514048 bytes total (24352768 bytes free)
  32514048 bytes total (24352768 bytes free)
-
  c3560#'''copy flash: tftp:'''<cr>                 
+
  c3560#'''copy flash: tftp: <cr>'''                  
  Source filename  [/c3560-ipbase-mz.122-25.SEE2/c3560-ipbase-mz.122-25.SEE2]?
  Source filename  [/c3560-ipbase-mz.122-25.SEE2/c3560-ipbase-mz.122-25.SEE2]?
-
   '''c3560-ipbase-mz.122-25.SEE2.bin''' <cr>
+
   '''c3560-ipbase-mz.122-25.SEE2.bin <cr>'''
-
  Address or name of remote host []? '''192.168.1.10'''<cr> ! ''PC Ip címe''                   
+
  Address or name of remote host []? '''192.168.1.10 <cr>''' ! ''PC Ip címe''                   
-
  Destination filename [c3560-ipbase-mz.122-25.SEE2.bin]? <cr>     
+
  Destination filename [c3560-ipbase-mz.122-25.SEE2.bin]? '''<cr>'''      
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Line 37: Line 37:
  6428863 bytes copied in 28.781 secs (223372 bytes/sec)
  6428863 bytes copied in 28.781 secs (223372 bytes/sec)
  c3560#
  c3560#
 +
===Tftp szerver logja===
===Tftp szerver logja===
  Mon Feb 04 10:24:56 2008: Receiving 'c3560-ipbase-mz.122-25.SEE2.bin' file  
  Mon Feb 04 10:24:56 2008: Receiving 'c3560-ipbase-mz.122-25.SEE2.bin' file  

Revision as of 22:03, 25 March 2008

Lépések

  • TFTP szerver indítása a PC-n.
  • A PC Ip címének feljegyzése
  • Fájl kiválasztása az eszközön
  • Másolás

Fájl átvitel menete

c3560#show flash: <cr>

Directory of flash:/

   2  -rwx        3144   Mar 1 1993 01:16:51 +00:00  vlan.dat
   4  -rwx        3594   Mar 1 1993 01:13:41 +00:00  config.text
   5  drwx         192   Mar 1 1993 00:06:17 +00:00  c3560-ipbase-mz.122-25.SEE2
 409  -rwx           5   Mar 1 1993 01:13:41 +00:00  private-config.text

32514048 bytes total (24352768 bytes free)

c3560#cd c3560-ipbase-mz.122-25.SEE2 <cr>
c3560#dir <cr>
Directory of flash:/c3560-ipbase-mz.122-25.SEE2/

   6  -rwx     6428863   Mar 1 1993 00:05:28 +00:00  c3560-ipbase-mz.122-25.SEE2.bin
   7  drwx        4096   Mar 1 1993 00:05:48 +00:00  html
 408  -rwx         414   Mar 1 1993 00:06:17 +00:00  info

32514048 bytes total (24352768 bytes free)
c3560#copy flash: tftp: <cr>                 
Source filename  [/c3560-ipbase-mz.122-25.SEE2/c3560-ipbase-mz.122-25.SEE2]?
  c3560-ipbase-mz.122-25.SEE2.bin <cr>
Address or name of remote host []? 192.168.1.10 <cr> ! PC Ip címe                  
Destination filename [c3560-ipbase-mz.122-25.SEE2.bin]? <cr>     
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6428863 bytes copied in 28.781 secs (223372 bytes/sec)
c3560#

Tftp szerver logja

Mon Feb 04 10:24:56 2008: Receiving 'c3560-ipbase-mz.122-25.SEE2.bin' file 
from 172.20.200.135 in binary mode
#######################################################################
#######################################################################
#######################################################################
##################################################

Mon Feb 04 10:25:24 2008: Successful.
Personal tools