Saving Output to a File

When command output is lengthy, when you need to store or analyze the output, or when you need to send the output in an e-mail or by FTP, you can save the output to a file.

Note: When you run a show command, your SRC privileges determine the information that you view. Therefore, when you save this information, you are saving only the configuration information that you have privileges to view.

By default, the file is placed in the current working directory of the CLI.

To save command output to a file:

The following example saves the output from the show command to a file named my-config-info.txt:

[edit system]
user@host> show | save my-config-info.txt
Wrote 78 lines of output to ‘my-config-info.txt’


Related Documentation