代理PAC 脚本

function FindProxyForURL(url, host){
	if (isInNet(host, "10.245.5.0", "255.255.255.0") ||
            isInNet(host, "10.245.4.0",  "255.255.255.0") ||
            isInNet(host, "192.168.72.0", "255.255.255.0")) {
	return "PROXY proxy.jx.cn:8080";
}
else
	return "PROXY proxy.jx.cn:8080; DIRECT";
}

H3C交换机启用HTTP服务

  1. 开启服务
[H3C]ip http enable

[H3C]ip https enable

2.创建用户名、密码,并赋予HTTP HTTPS的权限

[H3C]local-user admin

New local user added.

[H3C-luser-manage-admin]password simple admin

[H3C-luser-manage-admin]service-type http https

[H3C-luser-manage-admin]authorization-attribute user-role network-admin

[H3C-luser-manage-admin]quit