12 tar xtract, 13 copy running-config – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 734

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 734 of 855


Examples

The following example shows files in a tar file named tar1:
Switch# tar table tar1
./
./123
./456


Related Commands

tar create
tar xtract

39.12 tar xtract

To display files in the tar file, use the tar table command in Privileged EXEC mode.


Command Syntax

tar xtract tar-file destination-directory

tar-file The file name of the tar file.

destination-directory The destination directory.


Command Mode

Privileged EXEC


Usage

The destination-directory must exist in the flash:. You can use mkdir to create a new directory.


Examples

The following shows an example to extract a tar file named tar1 into a directory name dir1:
Switch# tar xtract tar1 dir1


Related Commands

tar create
tar table

39.13 copy running-config

To save current configuration, use the copy running-config command in Privileged EXEC mode.


Command Syntax

copy running-config {startup-config | destination-name | ftp://address/destination-name |

Advertising