Creating A File Directory Using Secure Shell Ftp - Alcatel-Lucent OmniSwitch 6850-48 Management Manual

Release 6
Hide thumbs Also See for OmniSwitch 6850-48:
Table of Contents

Advertisement

Application Examples for File Management

Creating a File Directory Using Secure Shell FTP

The following example describes the steps necessary to create a directory on a remote OmniSwitch and to
transfer a file into the new directory by using Secure Shell FTP.
1
Log on to the switch and issue the
connecting to. The following command establishes a Secure Shell FTP interface from the local
OmniSwitch to another OmniSwitch at IP address 10.222.30.125.
-> sftp 10.222.30.125
login as:
Note. If SFTP is not enabled, use the
You can use the
sftp6
an SFTPv6 session over an IPv6 environment. For example:
-> sftp6 fe80::a00:20ff:fea8:8961 int1
login as:
Note. It is mandatory to specify the name of the particular IPv6 interface, if the SFTPv6 server has been
specified using its link-local address.
2
You must have a login and password that is recognized by the IP address you are logging in to. When
you enter your login, the device will request your password. Here, the login "rrlogin2" is used, the system
requests a password.
-> sftp 10.222.30.125
login as: rrlogin2
rrlogin2's password for keyboard-interactive method:
Once the correct password is given and the login is completed, the sftp> prompt is displayed. This indi-
cates that you are in the Secure Shell FTP mode and must, therefore, use the Secure Shell FTP commands
as listed on
page 1-24
3
Use the ls command to display the contents of the target OmniSwitch's directory.
sftp> ls
287 boot.params
2048 certified
2048 working
64000 swlog1.log
64000 swlog2.log30 policy.cfg
2048 network
206093 cs_system.pmd
2048 LPS
256 random-seed
4
Use the mkdir command to create a new directory entitled "newssdir" in the target OmniSwitch.
Remember you must specify the path for the new directory as follows:
sftp> mkdir /flash/newssdir
5
Use the ls command again to list the contents of the current (flash) directory. Note that the "newssdir"
directory appears toward the bottom of the following list.
sftp> ls
page 1-34
sftp
CLI command with the IP address for the device you are
scp-sftp
command to enable it.
command followed by the IPv6 address or hostname of the SFTPv6 server to start
.
OmniSwitch AOS Release 6 Switch Management Guide
Managing System Files
September 2009

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents