3Com Switch 4500 26-Port Configuration Manual page 338

Switch 4500 family 26-port, 50-port, pwr 26-port, pwr 50-port
Hide thumbs Also See for Switch 4500 26-Port:
Table of Contents

Advertisement

336
C
19: SSH T
HAPTER
ERMINAL
S
ERVICES
Network diagram
Figure 103 Network diagram for SFTP
Switch B
Switch B
SFTP server
IP address
IP address
PC
PC
Configuration procedure
1 Configure Switch B as the server.
# Start the SFTP server.
[3Com] sftp-server enable
# Specify the service type as SFTP.
[3Com] ssh user 8040 service-type sftp
2 Configure Switch A as the client.
# Establish a connection with the remote SFTP server and enter the
SFTP client view.
[3Com] sftp 10.111.27.91
# Display the current directory of the server, delete file z, and
check if the directory has been deleted successfully.
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
sftp-client> delete z
Remove this File?(Y/N)
flash:/zy
File successfully Removed
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
# Create a new directory new1, and check if the new directory has
been created successfully.
sftp-client> mkdir new1
New path created
10.111.27.91
Switch A
Switch A
SFTP client
nogroup
nogroup
nogroup
nogroup
nogroup
nogroup
nogroup
nogroup
nogroup
nogroup
nogroup
1759 Aug 23 06:52 vrpcfg.cfg
225 Aug 24 08:01 pubkey2
283 Aug 24 07:39 pubkey1
0 Sep 01 06:22 new
225 Sep 01 06:55 pub
0 Sep 01 08:00 z
1759 Aug 23 06:52 vrpcfg.cfg
225 Aug 24 08:01 pubkey2
283 Aug 24 07:39 pubkey1
0 Sep 01 06:22 new
225 Sep 01 06:55 pub

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents