Cisco Cisco IOS Software Release 12.2(27)SBC
HTTP 1.1 Web Server and Client
Configuration Examples for the HTTP 1.1 Web Server and Client
9
Cisco IOS Network Management Configuration Guide
Configuration Examples for the
HTTP 1.1 Web Server and
Client
This section provides the following configuration examples:
•
•
•
Step 3
ip http client connection
{forceclose | idle
timeout
seconds | retry count | timeout
seconds}
Example:
Router(config)# ip http client connection idle
timeout 15
(Optional) Configures characteristics for HTTP client
connections to a remote HTTP server.
connections to a remote HTTP server.
Step 4
ip http client proxy-server
{proxy-name |
ip-address} [proxy-port port-number]
Example:
Router(config)# ip http client proxy-server
edge2 proxy-port 29
(Optional) Configures the HTTP client to connect to a
remote proxy server for HTTP file system client
connections.
remote proxy server for HTTP file system client
connections.
•
The optional proxy-port port-number syntax allows
you to specify the proxy port number on the remote
proxy server.
you to specify the proxy port number on the remote
proxy server.
Step 5
ip http client response timeout
seconds
Example:
Router(config)# ip http client response timeout
180
(Optional) Specifies the number of seconds the HTTP client
waits for a response from the server for a request message
before giving up.
waits for a response from the server for a request message
before giving up.
Step 6
ip http client source-interface
interface-id
Example:
Router(config)# ip http client source-interface
Ethernet 0/1
(Optional) Specifies the interface for source address in all
HTTP client connections.
HTTP client connections.
Step 7
ip http client cache
{ager interval minutes |
memory file
file-size-limit |
memory pool
pool-size-limit}
Example:
Router(config)# ip http client cache ager
interval 10
(Optional) Configures the HTTP client cache ager interval,
maximum file size, or maximum memory pool size.
maximum file size, or maximum memory pool size.
Command or Action
Purpose