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

    Redirecting the Output of a Command to a Remote File

    You can redirect the output of a command to a remote file by using the URL format, and using the host's IP address to specify the location.

    • Execute show configuration command in Privileged Exec mode, and redirect the output to the remote file shConfigJoe.txt in directory ftpDir/results on host 172.28.32.156 using username joe and password passwd.
      host1#show config > ftp://joe:passwd@172.28.32.156/ftpDir/results/shConfigJoe.txt

    Published: 2014-08-12