Cisco Switch Filesystems: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 104: | Zeile 104: | ||
3179 bytes copied in 0.067 secs (47448 bytes/sec) | 3179 bytes copied in 0.067 secs (47448 bytes/sec) | ||
| − | =cd und | + | =cd, pwd, copy und = |
*c3750#pwd | *c3750#pwd | ||
flash:/ | flash:/ | ||
| Zeile 122: | Zeile 122: | ||
*c3750#pwd | *c3750#pwd | ||
flash:/old/ | flash:/old/ | ||
| + | |||
| + | *c3750#copy c3750g2.conf c3750g2.conf.backup | ||
| + | Destination filename [/old/c3750g2.conf.backup]? | ||
| + | Copy in progress...C | ||
| + | 3179 bytes copied in 0.058 secs (54810 bytes/sec) | ||
| + | |||
| + | *c3750#delete c3750g2.conf | ||
| + | Delete filename [/old/c3750g2.conf]? | ||
| + | Delete flash:/old/c3750g2.conf? [confirm] | ||
Version vom 28. Januar 2016, 14:44 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)
Verzeichnis anlegen
- c3750#mkdir flash:/old
Create directory filename [old]? Created dir flash:/old
Kopieren vom tftp
- c3750# copy tftp://192.168.240.200/cisco/c3750g2.conf flash:/old
Destination filename [/old/c3750g2.conf]? Accessing tftp://192.168.240.200/cisco/c3750g2.conf... Loading cisco/c3750g2.conf from 192.168.240.200 (via Vlan1): ! [OK - 3179 bytes] 3179 bytes copied in 0.067 secs (47448 bytes/sec)
cd, pwd, copy und
- c3750#pwd
flash:/
- c3750#dir
Directory of flash:/ 2 -rwx 1048 Jan 28 2016 13:23:15 +00:00 multiple-fs 3 drwx 64 Jan 28 2016 14:38:52 +00:00 old 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 (2383360 bytes free)
- c3750#cd old
- c3750#pwd
flash:/old/
- c3750#copy c3750g2.conf c3750g2.conf.backup
Destination filename [/old/c3750g2.conf.backup]? Copy in progress...C 3179 bytes copied in 0.058 secs (54810 bytes/sec)
- c3750#delete c3750g2.conf
Delete filename [/old/c3750g2.conf]? Delete flash:/old/c3750g2.conf? [confirm]