Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • Enter save filename after the pipe symbol.

    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’
    user@host>

     

    Published: 2014-06-12