21 ftp – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 740

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 740 of 855

Command Mode

privileged EXEC


Usage

The write terminal command has been replaced by the the show running-config command.
The show running-config command offers additional options not available for the write terminal
command; see the documentation of the show running-config command for details.

39.21 ftp

To exchange files between local and remote ftp server, use the ftp command in privileged EXEC mode.


Command Syntax

ftp {hostname | address}

hostname

The hostname of remote server

address

The IP address of remote server


Command Mode

privileged EXEC


Usage

Use the ftp command to upload and download files from remote ftp server.


Examples

The following is sample output from the ftp command:
Switch#ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP server {Version 5.60} ready.
Name {1.1.1.1:root}: root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 70
-rw------- 1 root 19581 Mar 15 21:03 .bash_history
-rw-r--r-- 1 root 72 Mar 12 20:37 .bash_profile
drwx------ 2 root 1024 Jul 20 2006 .ssh
-rw------- 1 root 12288 Jul 15 2006 .swp

Advertising