[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

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 your home directory on the router.

To save command output to a file, enter save filename after the pipe symbol.

The following example saves the output from the request support information command to a file named my-support-info.txt:

user@host> request support information | save my-support-info.txt
Wrote 1143 lines of output to ‘my-support-info.txt’
user@host>

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]