This document describes how to configure Service Assurance Agent (SAA) raw HTTP operations.
There are no specific requirements for this document.
The information in this document is based on these software and hardware versions:
Cisco IOS routers
Cisco IOS Software Release 12.0(5)T 12.0(21)S1
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
For more information on document conventions, refer to Cisco Technical Tips Conventions.
In this example 5.0.0.2 is the target HTTP Server, and the highlighted text is the base64 encoded equivalent of plain text username: password.
(config)#rtr 6 config-rtr)#type http operation raw url http://5.0.0.2:1744/ (config-rtr)#http-raw-request (config-rtr-http-rr)#GET /cwb-ipm-etc/source/srcfile HTTP/1.0\r\n (config-rtr-http-rr)#Authorization: Basic aXBtOmNpc2Nv\r\n (config-rtr-http-rr)#\r\n (config-rtr-http-rr)#exit (config-rtr-http)#exit (config)#rtr schedule 6 start-time now
In this example 3.0.0.2 is the proxy server and 5.0.0.2 is the target HTTP Server.
(config)#rtr 6 (config-rtr)#type http operation raw url http://3.0.0.2 (config-rtr)#http-raw-request (config-rtr-http-rr)#GET http://5.0.0.2/index.html HTTP/1.0 \r\n (config-rtr-http-rr)#\r\n (config-rtr-http-rr)#exit (config-rtr-http)#exit (config)#rtr schedule 6 start-time now
In this example 3.0.0.2 is the proxy server and 5.0.0.2 is the target HTTP Server. The first highlighted text is the base64 encoded string for your proxy authentication as proxyuser: proxypassword, and the second highlighted text is the base64 encoded string for the username/password credential that is required to get to url http://5.0.0.2/index.html.
(config)#rtr 6 (config-rtr)#type http operation raw url http://3.0.0.2 (config-rtr)#http-raw-request (config-rtr-http-rr)#GET http://5.0.0.2/index.html HTTP/1.0 \r\n (config-rtr-http-rr)#Proxy-Authorization: Basic dGVzdDp0ZXN0\r\n (config-rtr-http-rr)#Authorization: Basic dTE1OTY5NjpQaXp6YTNnbw0K\r\n (config-rtr-http-rr)#\r\n (config-rtr-http-rr)#exit (config-rtr-http)#exit (config)#rtr schedule 6 start-time now
There is currently no verification procedure available for this configuration.
There is currently no specific troubleshooting information available for this configuration.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
26-Oct-2005 |
Initial Release |