Specifications

11-35
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 11 Maintaining and Managing the SN 5428-2 Storage Router
Gathering Troubleshooting Information
Using FTP with the SN 5428-2 Storage Router
In certain cases, you may want to copy log files from the storage router to another server in your network
for analysis purposes, or you may want to copy configuration or script files to another server prior to
making them available to another SN 5428-2. The storage router includes an FTP daemon; however, the
FTP port (port 21) is, by default, restricted.
Use the following procedure to enable FTP and to copy the current message log file from the storage
router to another server in the network.
Once the function is enabled, open the FTP session to the storage router from the server. You will be
prompted for a user name and password. The user name is admin and the password is the storage router
Administrator password (or, if you are using Enable authentication, the password that you would enter
in response to the CLI enable command). The default Administrator password is cisco.
Note The user name and the password are both case sensitive.
The log files and crash trace files are stored in the /ata4/log directory. Saved configuration files are
stored in the /ata3/savedconfig directory. Script files are stored in the /ata3/script directory.
To use FTP to retrieve the log file, change to the /ata4/log directory using the FTP cd command. List the
files to determine what log file you want to retrieve. (In our example, the log file is messages0.) If
necessary, specify the binary flag using the FTP binary command. Issue the FTP get command to retrieve
the log file and to copy it to the specified file on your server. When the process completes, close the FTP
connection using the FTP bye command.
Example 11-14 illustrates the FTP session just described. In this example, the storage router
management interface IP address is 10.1.11.210.
Example 11-14 FTP Session
Server1> ftp 10.1.11.210
Connected to 10.1.11.210.
220 VxWorks (5.4.1) FTP server ready
Name: admin
331 Password required
Password:********
230 User logged in
ftp> cd /ata4/log
250 Changed directory to "/ata4/log"
ftp> dir
200 Port set okay
150 Opening ASCII mode data connection
size date time name
-------- ------ ------ --------
512 Apr-09-2002 20:46:18 . <DIR>
512 Apr-09-2002 20:46:18 .. <DIR>
13803 May-16-2002 15:13:56 messages0
Command Description
Step 1
enable Enter Administrator mode.
Step 2
show restrict Display interface restrictions. If port 21 on the management
interface (mgmt) is closed, use the command in Step 3 to open it.
Step 3
no restrict mgmt ftp (Optional) Allow FTP functions on the management interface.