![Juniper JUNOSE 11.3 Configuration Manual Download Page 324](http://html1.mh-extra.com/html/juniper/junose-11-3/junose-11-3_configuration-manual_2032852324.webp)
•
If you delete the interface or change its IP address, the output of the
show configuration
command appears as if you had entered the
ip ftp source-address
command:
ip ftp source-address ipAddress
•
ipAddress
—IP address of the interface when you issued the
ip ftp source-interface
command
•
Example
host1(config)#
ip ftp source-interface loopback1
•
Use the
no
version to restore the default, in which the source address in the FTP packets
is that of the interface where the FTP connection is made.
•
See ip ftp source-interface.
copy Command Examples
The examples in this section assume that the following host entries have been defined
in the host table:
•
host mary 172.28.32.156 ftp mike mikePwd
•
host joe 172.28.32.99 ftp joe jPasswd
Example 1
Copy a remote file to a local file by using the CLI file
copy
command format. The following
command creates or replaces the local file autocfg.scr by copying the remote file
autocfg.scr located in the directory ftpDir/scripts on the host mary. The username mike
and password mikePwd from the host entry mary are used to access the remote file.
copy mary:ftpDir/scripts/autocfg.scr autocfg.scr
Example 2
Copy a local file to a remote fileby using file
copy
command format. The following
command creates or replaces the remote file shConfigForJoe.txt in the directory
ftpDir/results on the host joe by copying the local file shConfig.txt. The username joe and
password jPasswd from the host entry joe are used to access the remote file.
copy shConfig.txt joe:ftpDir/results/shConfigForJoe.txt
Example 3
Copy a remote file to a local file by using the URL format, use the hostname to specify
the location, and specify the user name and password in the command. The following
command creates or replaces the local file autocfg.scr by copying the remote file
autocfg.scr located in the directory ftpDir/scripts on the host mary. The username fred
and the password passwd in the command are used; the username and password in the
host entry are ignored.
copy ftp://fred:passwd@mary/ftpDir/scripts/autocfg.scr autocfg.scr
Example 4
Copy a remote file to a local file by using the URL format, use the hostname to specify
the location, specify the user name in the command, and use the default value of the
password. The following command creates or replaces the local file autocfg.scr by
copying the remote file autocfg.scr located in the directory ftpDir/scripts on the host
Copyright © 2010, Juniper Networks, Inc.
294
JunosE 11.3.x System Basics Configuration Guide
Summary of Contents for JUNOSE 11.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 3 x System Basics Configuration Guide...
Page 24: ...Copyright 2010 Juniper Networks Inc xxiv JunosE 11 3 x System Basics Configuration Guide...
Page 32: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 3 x System Basics Configuration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 116 JunosE 11 3 x System Basics Configuration Guide...
Page 166: ...Copyright 2010 Juniper Networks Inc 136 JunosE 11 3 x System Basics Configuration Guide...
Page 432: ...Copyright 2010 Juniper Networks Inc 402 JunosE 11 3 x System Basics Configuration Guide...
Page 488: ...Copyright 2010 Juniper Networks Inc 458 JunosE 11 3 x System Basics Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 494 JunosE 11 3 x System Basics Configuration Guide...
Page 554: ...Copyright 2010 Juniper Networks Inc 524 JunosE 11 3 x System Basics Configuration Guide...
Page 566: ...Copyright 2010 Juniper Networks Inc 536 JunosE 11 3 x System Basics Configuration Guide...
Page 588: ...Copyright 2010 Juniper Networks Inc 558 JunosE 11 3 x System Basics Configuration Guide...
Page 613: ...PART 3 Index Index on page 585 583 Copyright 2010 Juniper Networks Inc...
Page 614: ...Copyright 2010 Juniper Networks Inc 584 JunosE 11 3 x System Basics Configuration Guide...
Page 632: ...Copyright 2010 Juniper Networks Inc 602 JunosE 11 3 x System Basics Configuration Guide...