HP Comware 5 Debug Manual Vol 2

Examples
# Enable FTP server and FTP server debugging on the device. When a user connects to the device
through FTP, output similar to the following example is generated:
<Sysname> system-view
[Sysname] ftp server enable
[Sysname] quit
<Sysname> terminal monitor
<Sysname> terminal debugging
<Sysname> debugging ftp-server
*May 12 15:02:05:781 2007 AR29.46 FTPD/7/REQUEST:User (192.168.1.44) requested:USER ftp
*May 12 15:02:09:570 2007 AR29.46 FTPD/7/REQUEST:User ftp(192.168.1.44) requested: PASS
***
// The user at 19 2.16 8 .1. 4 4 logged in with the username ftp. The password was displayed as a string of
asterisks.
*May 12 15:10:14:381 2007 AR29.46 FTPD/7/REQUEST:User ftp(192.168.1.44) requested: PASV
*May 12 15:10:14:389 2007 AR29.46 FTPD/7/DATACONN:User ftp(192.168.1.44) data connection
succeeded
*May 12 15:10:14:401 2007 AR29.46 FTPD/7/REQUEST:User ftp(192.168.1.44) requested: LIST
*May 12 15:10:14:411 2007 AR29.46 FTPD/7/DATACONN:User ftp(192.168.1.44) closed data
connection
// The user at 19 2.16 8 .1. 4 4 did the following:
Initiated a data connection (passive mode).
Displayed the files and subdirectories in the current directory on the FTP server.
Closed the connection.
*May 12 15:11:16:804 2007 AR29.46 FTPD/7/REQUEST:User ftp(192.168.1.44) requested: PASV
*May 12 15:11:16:813 2007 AR29.46 FTPD/7/DATACONN:User ftp(192.168.1.44) data connection
succeeded
*May 12 15:11:16:825 2007 AR29.46 FTPD/7/REQUEST:User ftp(192.168.1.44) requested: RETR
config.cfg
*May 12 15:11:16:834 2007 AR29.46 FTPD/7/SENDDATA:FTP server sent 3304 byte(s) to client
ftp(192.168.1.44)
*May 12 15:11:16:834 2007 AR29.46 FTPD/7/DATACONN:User ftp(192.168.1.44) closed data
connection
// The user at 19 2.16 8 .1. 4 4 did the following:
Initiated a data connection (passive mode).
Downloaded the file config.cfg from the FTP server.
Closed the connection.
*May 12 15:14:12:967 2007 AR29.46 FTPD/7/REQUEST:User ftp(192.168.1.44) requested: PASV
*May 12 15:14:12:976 2007 AR29.46 FTPD/7/DATACONN:User ftp(192.168.1.44) data connection
succeeded
84