Difference between revisions of "Upgrade IOS"

From Ever changing code
Jump to navigation Jump to search
(Created page with "= Archive = Switch#dir Directory of flash:/ 509 -rwx 2301 Mar 1 1993 00:24:41 +00:00 config.text 510 -rwx 24 Mar 1 1993 00:24:41 +00:00 private-c...")
 
Line 12: Line 12:
The command below creates new archive <tt>saved.tar</tt> including all files and directories in <tt>c3750-ipbasek9-mz.122-55.SE7</tt> directory and saves the TAR archive on tftp server.
The command below creates new archive <tt>saved.tar</tt> including all files and directories in <tt>c3750-ipbasek9-mz.122-55.SE7</tt> directory and saves the TAR archive on tftp server.
  Switch#archive tar /create tftp://192.168.173.1/saved.tar c3750-ipbasek9-mz.122-55.SE7
  Switch#archive tar /create tftp://192.168.173.1/saved.tar c3750-ipbasek9-mz.122-55.SE7
= Extract =
Switch#'''archive tar /xtract tftp://192.168.173.1/c3750-ipbasek9-tar.122-55.SE5.tar flash1:'''
Loading c3750-ipbasek9-tar.122-55.SE5.tar from 192.168.173.1 (via Vlan1): !
c3750-ipbasek9-mz.122-55.SE5/ (directory)
< --- output omitted --- >
= Delete =
Switch#'''delete /recursive flash1:c3750-ipbasek9-mz.122-55.SE5'''
Delete filename [c3750-ipbasek9-mz.122-55.SE5]?
Examine files in directory flash:c3750-ipbasek9-mz.122-55.SE5? [confirm]
Delete flash:c3750-ipbasek9-mz.122-55.SE5? [confirm]

Revision as of 14:22, 27 November 2013

Archive

Switch#dir Directory of flash:/

 509  -rwx        2301   Mar 1 1993 00:24:41 +00:00  config.text
 510  -rwx          24   Mar 1 1993 00:24:41 +00:00  private-config.text
 511  -rwx        2072   Mar 1 1993 00:24:41 +00:00  multiple-fs
 512  -rwx        3584   Mar 1 1993 00:38:49 +00:00  tftp
   2  drwx         512   Mar 1 1993 00:15:19 +00:00  c3750-ipbasek9-mz.122-55.SE7

The command below creates new archive saved.tar including all files and directories in c3750-ipbasek9-mz.122-55.SE7 directory and saves the TAR archive on tftp server.

Switch#archive tar /create tftp://192.168.173.1/saved.tar c3750-ipbasek9-mz.122-55.SE7

Extract

Switch#archive tar /xtract tftp://192.168.173.1/c3750-ipbasek9-tar.122-55.SE5.tar flash1:
Loading c3750-ipbasek9-tar.122-55.SE5.tar from 192.168.173.1 (via Vlan1): !
c3750-ipbasek9-mz.122-55.SE5/ (directory)
< --- output omitted --- >

Delete

Switch#delete /recursive flash1:c3750-ipbasek9-mz.122-55.SE5
Delete filename [c3750-ipbasek9-mz.122-55.SE5]?
Examine files in directory flash:c3750-ipbasek9-mz.122-55.SE5? [confirm]
Delete flash:c3750-ipbasek9-mz.122-55.SE5? [confirm]