Cisco Switch Filesystems

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Dateisystem anzeigen

  • c3750#show file systems
File Systems:

     Size(b)     Free(b)      Type  Flags  Prefixes
*   15998976     2386944     flash     rw   flash: flash1:
           -           -    opaque     rw   vb:
           -           -    opaque     ro   bs:
           -           -    opaque     rw   system:
           -           -    opaque     rw   tmpsys:
      524288      520009     nvram     rw   nvram:
           -           -    opaque     ro   xmodem:
           -           -    opaque     ro   ymodem:
           -           -    opaque     rw   null:
           -           -    opaque     ro   tar:
           -           -   network     rw   tftp:
           -           -    opaque     wo   syslog:
           -           -   network     rw   rcp:
           -           -   network     rw   http:
           -           -   network     rw   ftp:
           -           -   network     rw   scp:
           -           -   network     rw   https:
           -           -    opaque     ro   cns:

Flash anzeigen

  • c3750#show flash

Directory of flash:/

    2  -rwx        1048  Jan 28 2016 13:23:15 +00:00  multiple-fs
    4  -rwx         616   Mar 1 1993 00:10:52 +00:00  vlan.dat
    5  -rwx        3179  Jan 28 2016 13:23:15 +00:00  config.text
  395  drwx         192  Oct 21 2008 12:41:15 +00:00  c3750-advipservicesk9-mz.122-46.SE
  394  -rwx          24  Jan 28 2016 13:23:15 +00:00  private-config.text

Inhalt von einer Datei anzeigen

  • c3750g#more config.text

Anzeige Flash

  • Switch#show flash
Directory of flash:/

    2  -rwx        3096  Jan 26 2016 15:22:16 +00:00  multiple-fs
    3  -rwx        1590   Mar 1 1993 00:44:44 +00:00  config.old
  457  drwx         192   Mar 1 1993 00:35:33 +00:00  c3750-ipbasek9-mz.122-55.SE6
   84  -rwx        1940  Jan 26 2016 15:22:16 +00:00  private-config.text
   85  -rwx        3021  Jan 26 2016 15:22:16 +00:00  config.text

Anzeige Flash mit dir

  • Switch#dir flash:
Directory of flash:/

    2  -rwx        3096  Jan 26 2016 15:22:16 +00:00  multiple-fs
    3  -rwx        1590   Mar 1 1993 00:44:44 +00:00  config.old
  457  drwx         192   Mar 1 1993 00:35:33 +00:00  c3750-ipbasek9-mz.122-55.SE6
   84  -rwx        1940  Jan 26 2016 15:22:16 +00:00  private-config.text
   85  -rwx        3021  Jan 26 2016 15:22:16 +00:00  config.text

Anzeige Directory

  • Switch#dir c3750-ipbasek9-mz.122-55.SE6
 
 Directory of flash:/c3750-ipbasek9-mz.122-55.SE6/  

    4  drwx        1792   Mar 1 1993 00:28:51 +00:00  html
   82  -rwx    12098384   Mar 1 1993 00:35:33 +00:00  c3750-ipbasek9-mz.122-55.SE6.bin
   83  -rwx         681   Mar 1 1993 00:35:33 +00:00  info

Ios sichern

  • Switch#copy flash:/c3750-ipbasek9-mz.122-55.SE6/c3750-ipbasek9-mz.122-55.SE6.bin tftp://192.168.240.200/cisco/
Address or name of remote host [192.168.240.200]? 
Destination filename [cisco/c3750-ipbasek9-mz.122-55.SE6.bin]? 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Konfig sichern

  • Switch#copy running-config tftp://192.168.240.200/cisco/c3750g.conf
Address or name of remote host [192.168.240.200]? 
Destination filename [cisco/c3750g.conf]? 
!!
4356 bytes copied in 1.409 secs (3092 bytes/sec