HP MSR2000/3000/4000 Router Series Fundamentals Command Reference
96
debug
Use debug to enable or disable FTP client debugging.
Syntax
debug
Default
FTP client debugging is disabled.
Views
FTP client view
Predefined user roles
network-admin
Usage guidelines
When FTP client debugging is enabled, executing this command disables FTP client debugging.
When FTP client debugging is disabled, executing this command enables FTP client debugging.
Examples
# Enable and then disable FTP client debugging.
ftp> debug
Debugging on (debug=1).
ftp> debug
Debugging off (debug=0).
# When the device serves as the FTP client, enable FTP client debugging and download file a.txt from the
current directory of the FTP server.
ftp> debug
Debugging on (debug=1).
ftp> get a.txt
local: a.txt remote: a.txt
---> EPRT |2|8::124|50198|
200 PORT command successful
---> RETR a.txt
150 Connecting to port 50198
226 File successfully transferred
1569 bytes received in 0.0104 seconds (147.2 kbyte/s)
Table 11 Command output
Field Descri
p
tion
---> EPRT |2|8::124|50198|
FTP command.
• 2—IPv6 (1 for IPv4).
• 8::124—IPv6 address of the FTP server.
• 50198—Port number of the FTP server.
200 PORT command successful
Received FTP reply code. 200 represents the reply
code, defined in RFC 959.
---> RETR a.txt Downloads file a.txt.