Task
Perform these operations on
the security log file.
Uploading the security log
file to the SFTP server.
Command
•
Display the contents of the specified file:
more file-url
•
Display information about all files and
folders:
dir [ /all ] [ file-url ]
•
Create a folder under a specified directory
on the storage medium:
mkdir directory
•
Change the current working directory:
cd { directory | .. | / }
•
Display the current path:
pwd
•
Move a specified file from a storage
medium to the recycle bin:
delete [ /unreserved ] file-url
•
Remove a folder:
rmdir directory
•
Format a storage medium:
format device
•
Restore a file from the Recycle Bin:
undelete file-url
•
Establish an SFTP connection in an IPv4
network:
sftp server [ port-number ] [ vpn-instance
vpn-instance-name ] [ identity-key { dsa |
rsa } | prefer-ctos-cipher { 3des | aes128 |
des } | prefer-ctos-hmac { md5 | md5-96 |
sha1 | sha1-96 } | prefer-kex
{ dh-group-exchange | dh-group1 |
dh-group14 } | prefer-stoc-cipher { 3des |
aes128 | des } | prefer-stoc-hmac { md5 |
md5-96 | sha1 | sha1-96 } ] *
•
Establish an SFTP connection in an IPv6
network:
sftp server [ port-number ] [ vpn-instance
vpn-instance-name ] [ identity-key { dsa |
rsa } | prefer-ctos-cipher { 3des | aes128 |
des } | prefer-ctos-hmac { md5 | md5-96 |
sha1 | sha1-96 } | prefer-kex
{ dh-group-exchange | dh-group1 |
dh-group14 } | prefer-stoc-cipher { 3des |
aes128 | des } | prefer-stoc-hmac { md5 |
md5-96 | sha1 | sha1-96 } ] *
•
Upload a file on the client to the remote
SFTP server:
put localfile [ remotefile ]
•
Download a file from a remote SFTP server
and save it:
get remotefile [ localfile ]
•
For all other operations supported by the
device acting as an SFTP client, see Security
Configuration Guide.
51
Remarks
Optional.
Available in user view
For more information about
these commands, see
Fundamentals Command
Reference.
Optional.
The sftp commands are
available in user view; the
other commands are
available in SFTP client view.
For more information about
these commands, see Security
Command Reference.
Only the HP 5500 EI switches
support the vpn-instance
keyword.