Cisco Cisco IOS Software Release 12.2(27)SBC

ページ / 68
HTTP 1.1 Web Server and Client
  debug ip http client
19
Cisco IOS Network Management Configuration Guide
debug ip http client
To enable debugging output for the HTTP client, use the debug ip http client command in privileged 
EXEC mode. To disable debugging output for the HTTP client, use the no or undebug form of this 
command.
debug ip http client {all | api | cache | error | main | msg | socket
no debug ip http client {all | api | cache | error | main | msg | socket
undebug ip http client {all | api | cache | error | main | msg | socket
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use this command to display transactional information for the HTTP client for debugging purposes.
Examples
The following example shows sample debugging output for a failed copy transfer operation when the 
host name resolution fails:
Router# debug ip http client all
2w4d: Cache ager called
Router# copy http://www.example.com/index.html flash:index.html 
Destination filename [index.html]? 
Erase flash: before copying? [confirm] no 
Translating "www.example.com"
% Bad IP address for host www.example.com
%Error opening http://www.example.com/index.html (I/O error)
Router#
2w4d: http_client_request:
all 
Enables debugging for all HTTP client elements.
api 
Enables debugging output for the HTTP client application interface (API). 
cache 
Enables debugging output for the HTTP client cache. 
error 
Enables debugging output for HTTP communication errors. 
main 
Enables debugging output specific to the Voice XML (VXML) applications 
interacting with the HTTP client.
msg 
Enables debugging output of HTTP client messages. 
socket 
Enables debugging output specific to the HTTP client socket. 
Release
Modification
12.3(2)T
This command was introduced.
12.2(31)SB2
This command was integrated into Cisco IOS Release 12.2(31)SB2.