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.
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 namedmy-config-info.txt:
[edit system]user@host>show | save my-config-info.txt
Wrote 78 lines of output to 'my-config-info.txt'user@host>