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

Using the copy Command

Table 36 shows the types of files that you can transfer between the locations by using the copy command.

Table 36: File Types You Can Transfer Using the copy Command copy copycopy

 

Destination

Source

 

System

User Space

(Linked Files and Unlinked Files)

Network Host Within a Firewall

Standby SRP Module

System

*.cnf

*.hty (excluding reboot.hty)

*.log (excluding system.log)

*.mac

*.scr

*.txt

*.cnf

*.hty

*.log

*.mac

*.pub

*.scr

*.txt

*.cnf

*.dmp

*.hty

*.log

*.mac

*.pub

*.scr

*.sts

*.txt

None

User Space

*.cnf

*.mac

*.rel

*.scr

*.txt

*.cnf

*.hty

*.log

*.mac

*.pub

*.rel
( *.rel file only, not files associated with the *.rel file)

*.scr

*.txt

Nonsystem files

None

None

Network Host Within a Firewall

*.cnf

*.mac

*.rel

*.scr

*.txt

None

None

None

Standby SRP Module

system.log

reboot.hty

system.log

reboot.hty

*.dmp

system.log

reboot.hty

*.dmp

None

To transfer files using the copy command between the system space and a network host:

  1. Determine whether there is a route to the network host, and create one if necessary. See JUNOSe IP, IPv6, and IGP Configuration Guide.
  2. Configure the network host as an FTP server, or use a remote host that is configured as a TFTP server.

    Note: This command takes place in the context of the current virtual router (VR) rather than the default VR. You must configure the FTP server so that any traffic destined for the VR can reach the VR; typically, you configure the FTP server to reach the default address of the E-series router, which will always be able to reach the VR.

  3. Add the FTP server to the static host table, and specify the file transport protocol (FTP or TFTP), so that the E-series router can access the network host.
  4. (Optional) Specify a source interface to use in FTP packets leaving the router.
  5. Copy the files.

copy

host

ip ftp source-address

ip ftp source-interface


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