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