Cisco Switch Filesystems: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 87: Zeile 87:
  
 
=Konfig sichern=
 
=Konfig sichern=
*Switch#copy running-config tftp://192.168.240.200/cisco/c3750g.conf
+
*c3750# copy running-config tftp://192.168.240.200/cisco/c3750g2.conf        
 
  Address or name of remote host [192.168.240.200]?  
 
  Address or name of remote host [192.168.240.200]?  
  Destination filename [cisco/c3750g.conf]?  
+
  Destination filename [cisco/c3750g2.conf]?  
 
  !!
 
  !!
  4356 bytes copied in 1.409 secs (3092 bytes/sec
+
  3179 bytes copied in 3.070 secs (1036 bytes/sec)

Version vom 28. Januar 2016, 14:36 Uhr

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

  • c3750#more flash:/config.text
!
! Last configuration change at 13:23:06 UTC Thu Jan 28 2016
! NVRAM config last updated at 13:23:13 UTC Thu Jan 28 2016
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
...

Anzeige Flash mit dir

  • c3750#dir 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

15998976 bytes total (2386944 bytes free)

Anzeige Directory

  • c3750#dir flash:/c3750-advipservicesk9-mz.122-46.SE
Directory of flash:/c3750-advipservicesk9-mz.122-46.SE/

    6  -rwx    11135796  Oct 21 2008 12:40:01 +00:00  c3750-advipservicesk9-mz.122-46.SE.bin
    7  drwx        4544  Oct 21 2008 12:40:51 +00:00  html
  396  -rwx         638  Oct 21 2008 12:41:15 +00:00  info

Ios sichern

  • c3750#$copy flash:/c3750-advipservicesk9-mz.122-46.SE/c3750-advipservicesk9-mz.122-46.SE.bin tftp://192.168.240.200/cisco/
Address or name of remote host [192.168.240.200]? 
Destination filename [cisco/c3750-advipservicesk9-mz.122-46.SE.bin]? 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11135796 bytes copied in 25.988 secs (428498 bytes/sec)

Konfig sichern

  • c3750# copy running-config tftp://192.168.240.200/cisco/c3750g2.conf
Address or name of remote host [192.168.240.200]? 
Destination filename [cisco/c3750g2.conf]? 
!!
3179 bytes copied in 3.070 secs (1036 bytes/sec)