Skip to content

Proxy Policy

Location in GUI: System » System Settings » Proxy Policy

Diagram
NameTypeConstraintMandatoryDefault Value
proxy_policyClass[proxy_policy]No

NameTypeConstraintMandatoryDefault Value
httpClass[http]No
httpsClass[https]No
ignore_hostsListAny[String[Regex: ^[a-zA-Z0-9:\[][a-zA-Z0-9.:\-\]]{0,254}$] or IP]No

NameTypeConstraintMandatoryDefault Value
urlStringRegex: ^https?://.{1,504}$Yes
usernameStringmin: 1, max: 128No
passwordStringmin: 1, max: 128No

NameTypeConstraintMandatoryDefault Value
urlStringRegex: ^https?://.{1,504}$Yes
usernameStringmin: 1, max: 128No
passwordStringmin: 1, max: 128No

This example configures the fabric-wide HTTP/HTTPS proxy used by features requiring Internet access (it does not affect the in-band or out-of-band management network). The username and password for each connection are embedded into the proxy url when the configuration is deployed. Hosts listed under ignore_hosts bypass the proxy.

apic:
fabric_policies:
proxy_policy:
http:
url: http://172.16.8.1:8080
username: user_http
password: Cisco!234
https:
url: https://172.16.8.1:8443
username: user_https
password: Cisco!234
ignore_hosts:
- 192.168.8.1
- hostname-1