12 tar xtract, 13 copy running-config – CANOGA PERKINS 9175 Command Reference User Manual
Page 662
CanogaOS Command Reference
39-9
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 |
tftp://address/destination-name}
startup-config
Save current configuration to starup-config file, which the switch will use
when system starts up.
destination-name
Save current configuration to a specified file.
ftp://address/
Save current configuration to a specified ftp server.
tftp://address/
Save current configuration to a specified tftp server.
Command Mode
Privileged EXEC
Usage
The exact format of the source and destination URLs varies according to the file or directory location.
You may enter a particular file or a filename that follows the standard file system syntax
(filesystem:[/filepath][/filename]).