Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

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

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
Hall of Fame Super Silver

From your ssh session, drop

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.

Cisco Employee

Hi Robert,

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 ****
3 REPLIES
Hall of Fame Super Silver

From your ssh session, drop

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.

New Member

Hi Marvin, Thank you for your

Thank you very much.

Cisco Employee

Hi Robert,

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 ****
402
Views
0
Helpful
3
Replies
CreatePlease to create content