Use the commands in this section to configure and enable an HTTP proxy server on an appliance.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Configure the proxy server hostname or IP address, and the port (if you do not want to use the default, port 8080):
hostname (config) # fenet proxy host <hostname or IP address>[:<port>]
Optional: Specify the credentials for basic authentication:
Specify the user:
hostname (config) # fenet proxy auth basic user <username>Specify the password:
hostname (config) # fenet proxy auth basic password <password>
Optional: Specify a user-agent string:
hostname (config) # fenet proxy user-agent <string>Enable the proxy server:
hostname (config) # fenet proxy enableVerify your changes:
hostname (config) # show fenetSave your changes:
hostname (config) # write memory
Note
The show fenet status command also displays HTTP proxy settings, but does not show whether the proxy server is enabled or disabled. The show fenet command output includes or excludes "disabled" to indicate the status.
Example
The following example configures an HTTP proxy server with basic authentication credentials.
hostname (config) # fenet proxy host 192.168.2.3 hostname (config) # fenet proxy auth basic user bsmith hostname (config) # fenet proxy auth basic password abcd6789 hostname (config) # fenet proxy enable hostname (config) # show fenet DTI CLIENT CONFIGURATION: ... Http proxy : bsmith@192.168.2.3:8080 (user agent:) ...
hostname (config) # show fenet status
...
HTTP Proxy:
Address : 192.168.2.3:8080
Username : bsmith
User-agent :
...