Optional) Managing The Directory - Huawei Quidway S2700 Series Configuration Manual

Hide thumbs Also See for Quidway S2700 Series:
Table of Contents

Advertisement

Quidway S2700 Series Ethernet Switches
Configuration Guide - Basic Configuration
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 According to the address type of the SSH server, select and perform one of the two configurations
below.
l For IPv4 addresses,
l For IPv6 addresses,
----End

9.6.5 (Optional) Managing the Directory

On the SFTP client, you can log in to the SSH server to create or delete directories on the SSH
server.
Context
Do as follows on the switch that serves as an SSH client:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 According to the address type of the SSH server, select and perform one of the two configurations
below.
l For IPv4 addresses,
Issue 01 (2011-07-15)
Run:
sftp [ -a source-address ] host-ipv4 [ port ] [ [ prefer_kex { dh_group1 |
dh_exchange_group } ] | [ prefer_ctos_cipher { des | 3des | aes128 } ] |
[ prefer_stoc_cipher { des | 3des | aes128 } ] | [ prefer_ctos_hmac { sha1 |
sha1_96 | md5 | md5_96 } ] | [ prefer_stoc_hmac { sha1 | sha1_96 | md5 |
*
md5_96 } ] ]
[ -ki aliveinterval [ -kc alivecountmax ] ]
You can log in to the SSH server through SFTP.
Run:
sftp ipv6 [ -a source-address ] host-ipv6 [ -i interface-type
number ] [ port ] [ [ prefer_kex { dh_group1 | dh_exchange_group } ] |
[ prefer_ctos_cipher { des | 3des | aes128 } ] | [ prefer_stoc_cipher { des |
3des | aes128 } ] | [ prefer_ctos_hmac { sha1 | sha1_96 | md5 | md5_96 } ] |
[ prefer_stoc_hmac { sha1 | sha1_96 | md5 | md5_96 } ] ]
[ -kc alivecountmax ] ]
NOTE
After the SFTP client logs in to the SSH server, the SFTP client can create or delete the directory on the
SSH server, display the current operating directory and information about a specified directory and its files.
Run:
sftp [ -a source-address ] host-ipv4 [ port ] [ [ prefer_kex { dh_group1 |
dh_exchange_group } ] | [ prefer_ctos_cipher { des | 3des | aes128 } ] |
[ prefer_stoc_cipher { des | 3des | aes128 } ] | [ prefer_ctos_hmac { sha1 |
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 Telnet and SSH
interface-
*
[ -ki aliveinterval
142

Advertisement

Table of Contents
loading

Table of Contents