列出 SGD Gateway 的当前配置。
gateway config list [ --binding ] [ --routes-http-maxcon ] [ --routes-aip-maxcon ] [ --routes-reverseproxy-redirect ] [ --services-reflection-binding ] [ --services-reflection-auth-binding ]
这些命令行选项使您能够列出特定的配置设置。如果未指定选项,则将显示 SGD Gateway 的完整配置详细信息。
SGD Gateway 的当前配置存储在 /opt/SUNWsgdg/etc/gatewayconfig.xml
文件中。
下表显示了此命令的可用选项。
选项 | 描述 |
---|---|
| SGD Gateway 侦听传入代理连接所使用的接口和端口 |
| HTTP 连接的最大数量 |
| 自适应 Internet 协议 (Adaptive Internet Protocol, AIP) 连接的最大数量 |
| HTTP 重定向端口 |
| 用于对 SGD Gateway 反射服务进行未经验证的访问的接口和端口 |
| 用于对 SGD Gateway 反射服务进行经过验证的访问的接口和端口 |
以下示例显示 SGD Gateway 的绑定配置和 AIP 连接的最大数量。
# /opt/SUNWsgdg/bin/gateway config list --binding --routes-aip-maxcon binding: *:443 routes-aip-maxcon: 2920
以下示例显示 SGD Gateway 当前配置的完整详细信息。
# /opt/SUNWsgdg/bin/gateway config list binding: *:443 routes-http-maxcon: 100 routes-aip-maxcon: 2920 routes-reverseproxy-redirect: null services-reflection-binding: localhost:81 services-reflection-auth-binding: *:82