xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
762
Example
Set virtual IP address:
DGS-3120-24TC:admin# config wac virtual_ip 1.1.1.1
Command: config wac virtual_ip 1.1.1.1
Success.
DGS-3120-24TC:admin#
88-8
config wac switch_http_port
Description
This command is used to configure the HTTP or HTTPs ports used by WAC. The TCP port for
HTTP or HTTPs is used to identify the HTTP or HTTPs packets
That will be trapped to CPU for authentication processing, or to access the login page.
If not specified, the default port number for HTTP is 80, and the default port number for HTTPS is
443.
If no protocol specified, the protocol is HTTP.
The HTTP cannot run at TCP port 443, and the HTTPS cannot run at TCP port 80.
Format
config wac switch_http_port <tcp_port_number 1-65535> {[http | https]}
Parameters
<tcp_port_number 1-65535>
- A TCP port which the WAC Switch listens to and uses to finish
the authenticating process. The range of port number is 1-65535.
http
- (Optional) To specify the WAC runs HTTP protocol on this TCP port.
https
- (Optional) To specify the WAC runs HTTPS protocol on this TCP port.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To config HTTP(s) port of the Switch used by WAC:
DGS-3120-24TC:admin# config wac switch_http_port 8888 http
Command: config wac switch_http_port 8888 http
Success.
DGS-3120-24TC:admin#