cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6149
Views
0
Helpful
3
Replies

How can I browse the tftp/ftp directory on Cisco PI 2.0?

robert.huang
Level 1
Level 1

Hi All,

I just installed Cisco PI 2.0 on a virtual appliance and I'd like to browse the tftp/ftp directory. I ssh'ed in but couldn't figure out how. With WCS running on Windows, I can easily browse those folders. Please let me know how I can browse the tftp/ftp directory on Cisco PI 2.0 to check what files are in there.

Thank you.

Robert

2 Accepted Solutions

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

From your ssh session, drop into your root shell ("root"). There you will be in the underlying Linux OS and can move around and list files etc. using standard Linux commands.

View solution in original post

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Robert,

To configure tftp\ftp:

 go to Configure > TFTP/FTP Servers > Add TFTP/FTP Server

 

To access it :

 

The easiest way to configure a remote FTP server would be with the steps
below:

1) Access your server via CLI and access the configuration mode:

ncs/admin# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ncs/admin(config)#


2) Create an FTP repository with the commands below:

ncs/admin(config)# repository localFTP
ncs/admin(config-Repository)#

3) Setup the username, password and server address:
ncs/admin(config-Repository)# url ftp://1.1.1.1
ncs/admin(config-Repository)# user ftpAdmin password plain 12345678
ncs/admin(config-Repository)# exit
ncs/admin(config)# exit

4) Save the NCS configuration:
ncs/admin# wr mem

The use of a different partition is not officially supported as only
folders under the /localdisk partition can be read by the application.

The only supported server types include TFTP, FTP, SFTP, NFS.

TFTP\ftp contains  PI backups \database backup  , configbackups etc..

 

Thanks-

Afroz

***Ratings Encourages Contributors ***

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

3 Replies 3

Marvin Rhoads
Hall of Fame
Hall of Fame

From your ssh session, drop into your root shell ("root"). There you will be in the underlying Linux OS and can move around and list files etc. using standard Linux commands.

Thank you very much.

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Robert,

To configure tftp\ftp:

 go to Configure > TFTP/FTP Servers > Add TFTP/FTP Server

 

To access it :

 

The easiest way to configure a remote FTP server would be with the steps
below:

1) Access your server via CLI and access the configuration mode:

ncs/admin# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ncs/admin(config)#


2) Create an FTP repository with the commands below:

ncs/admin(config)# repository localFTP
ncs/admin(config-Repository)#

3) Setup the username, password and server address:
ncs/admin(config-Repository)# url ftp://1.1.1.1
ncs/admin(config-Repository)# user ftpAdmin password plain 12345678
ncs/admin(config-Repository)# exit
ncs/admin(config)# exit

4) Save the NCS configuration:
ncs/admin# wr mem

The use of a different partition is not officially supported as only
folders under the /localdisk partition can be read by the application.

The only supported server types include TFTP, FTP, SFTP, NFS.

TFTP\ftp contains  PI backups \database backup  , configbackups etc..

 

Thanks-

Afroz

***Ratings Encourages Contributors ***

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Review Cisco Networking for a $25 gift card