File Copy - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

file copy

Syntax
Release Information
Description
Options
Required Privilege
Level
List of Sample Output
Output Fields
file copy (A File from
file copy (A File from
the Router to a PC)
the Router to a PC)
file copy
(A Configuration File
Between Routing
Engines)
file copy (A Log File
Between Routing
Engines)
file copy (A File From
the TX Matrix Plus
Router to a T1600
Router Connected to
the TX Matrix Plus
Router)
Copyright © 2010, Juniper Networks, Inc.
file copy source destination
<source-address address>
Command introduced before Junos OS Release 7.4.
option added in Junos OS Release 7.4.
source-address
Command introduced in Junos OS Release 9.0 for EX Series switches.
Copy files from one place to another on the local router or switch or between the local
router or switch and a remote system.
—Source of the original file. Specify this as a URL or filename.
source
destination
—Destination of the copied file. Specify this as a URL or filename. If you are
copying a file to the current directory (your home directory on the local router or
switch) and are not renaming the file, specify the destination with a period (.).
—(Optional) Source IP host address. This option is useful for
source-address address
specifying the source address of a secure copy (scp) file transfer.
maintenance
file copy (A File from the Router to a PC) on page 731
file copy (A Configuration File Between Routing Engines) on page 731
file copy (A Log File Between Routing Engines) on page 731
file copy (A File From the TX Matrix Plus Router to a T1600 Router Connected to the TX
Matrix Plus Router) on page 731
When you enter this command, you are provided feedback on the status of your request.
user@host> file copy /var/tmp/rpd.core.4 berry:/c/junipero/tmp
...transferring.file...... |
The following sample command copies a configuration file from Routing Engine 0 to
Routing Engine 1:
user@host> file copy /config/juniper.conf re1:/var/tmp/copied-juniper.conf
The following sample command copies a log file from Routing Engine 0 to Routing Engine
1:
user@host> file copy lcc0-re0:/var/log/chassisd lcc0-re1:/var/tmp
The following sample command copies a text file from Routing Engine 1 on the
switch-fabric chassis
sfc0
user@host> file copy sfc0-re1:/tmp/sample.txt lcc0-re1:/var/tmp
Chapter 42: Operational Mode Commands for System Monitoring
0 KB |
0.3 kB/s | ETA: 00:00:00 | 100%
to Routing Engine 1 on the line-card chassis
lcc0
:
731

Advertisement

Table of Contents
loading

Table of Contents