3Com WX3000 Series Operation Manual page 557

Unified switches switching engine
Table of Contents

Advertisement

# Create a VLAN interface on the device and assign to it an IP address, which is used as the destination
address for the client to connect to the SFTP server.
[device] interface vlan-interface 1
[device-Vlan-interface1] ip address 192.168.0.1 255.255.255.0
[device-Vlan-interface1] quit
# Specify the SSH authentication mode as AAA.
[device] user-interface vty 0 4
[device-ui-vty0-4] authentication-mode scheme
# Configure the protocol through which the remote user logs in to the device as SSH.
[device-ui-vty0-4] protocol inbound ssh
[device-ui-vty0-4] quit
# Create a local user client001.
[device] local-user client001
[device-luser-client001] password simple abc
[device-luser-client001] service-type ssh
[device-luser-client001] quit
# Configure the authentication mode as password. Authentication timeout time, retry number, and
update time of the server key adopt the default values.
[device] ssh user client001 authentication-type password
# Specify the service type as SFTP.
[device] ssh user client001 service-type sftp
# Enable the SFTP server.
[device] sftp server enable
2)
Configure the SFTP client (Switch A)
# Configure the IP address of the VLAN interface on Switch A. It must be in the same segment with the
IP address of the VLAN interface on Switch B. In this example, configure it as 192.168.0.2.
<device> system-view
[device] interface vlan-interface 1
[device-Vlan-interface1] ip address 192.168.0.2 255.255.255.0
[device-Vlan-interface1] quit
# Connect to the remote SFTP server. Enter the user name "client001" and the password "abc", and
then enter SFTP client view.
[device] sftp 192.168.0.1
Input Username: client001
Trying 192.168.0.1 ...
Press CTRL+K to abort
Connected to 192.168.0.1 ...
The Server is not authenticated. Do you continue to access it?(Y/N):y
Do you want to save the server's public key?(Y/N):n
Enter password:
1-17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wx3024Wx3010Wx3008

Table of Contents