Cisco CRS User Manual page 270

Ios xr system security command reference
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

sftp
In the following example, user admin is uploading the file v6copy from disk0: to disk0a:/v6back on a local
SFTP server using an IPv6 address:
RP/0/RP0/CPU0:router#sftp disk0:/V6copy admin@[2:2:2::2]:disk0a:/v6back
Connecting to 2:2:2::2...
Password:
/disk0:/V6copy
Transferred 308413 Bytes
308413 bytes copied in 0 sec (421329)bytes/sec
RP/0/RP0/CPU0:router#dir disk0a:/v6back
Directory of disk0a:
66016
2102788096 bytes total (2098987008 bytes free)
In the following example, user admin is downloading the file sampfile from disk0: to disk0a:/sampfile_v4 on
a local SFTP server using an IPv4 address:
RP/0/RP0/CPU0:router#sftp admin@2.2.2.2:disk0:/sampfile disk0a:/sampfile_v4
Connecting to 2.2.2.2...
Password:
disk0:/sampfile
Transferred 986 Bytes
986 bytes copied in 0 sec (493000)bytes/sec
RP/0/RP0/CPU0:router#dir disk0a:/sampfile_v4
Directory of disk0a:
131520
502710272 bytes total (502001664 bytes free)
In the following example, user admin is uploading the file sampfile_v4 from disk0a: to disk0:/sampfile_back
on a local SFTP server using an IPv4 address:
RP/0/RP0/CPU0:router#sftp disk0a:/sampfile_v4 admin@2.2.2.2:disk0:/sampfile_back
Connecting to 2.2.2.2...
Password:
disk0a:/sampfile_v4
Transferred 986 Bytes
986 bytes copied in 0 sec (564000)bytes/sec
RP/0/RP0/CPU0:router#dir disk0:/sampfile_back
Directory of disk0:
121765
524501272 bytes total (512507614 bytes free)
Related Commands
Command
ssh client source-interface, on page 274
ssh client vrf, on page 276
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
260
-rwx
308413
Sun Oct 16 23:07:28 2011
-rwx
986
Tue Oct 18 05:37:00 2011
-rwx
986
Tue Oct 18 05:39:00 2011
v6back
sampfile_v4
sampfile_back
Description
Specifies the source IP address of a selected interface
for all outgoing SSH connections.
Configures a new VRF for use by the SSH client.
Secure Shell Commands
OL-24740-01

Advertisement

Table of Contents
loading

Table of Contents