DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 476
Example usage:
To clear a WAC default redirect path:
DGS-3700-12:5#config wac clear_default_redirpath
Success.
DGS-3700-12:5#
config wac virtual_ip
Purpose
To configure the WAC virtual IP address used to accept authentication requests from
unauthenticated hosts.
Syntax
config wac virtual_ip <ipaddr>
Description
This command is used to configure the WAC virtual IP address. When virtual IP is
specified, the TCP packets sent to the virtual IP will get a reply. If virtual IP is
enabled, TCP packets sent to the virtual IP or physical IPIF’s IP address will both
get the reply. When virtual IP is set 0.0.0.0, the virtual IP will be disabled. By
default, the virtual IP is 0.0.0.0. The virtual IP will not respond to any ARP
requests or ICMP packets. To make this function work properly, the virtual IP
should not be an existing IP address. It also cannot be located on an existing
subnet.
Parameters
<ipaddr>
- Specify the IP address of the virtual IP.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the WAC virtual IP address used to accept authentication requests from unauthenticated
hosts:
DGS-3700-12:5#config wac virtual_ip 1.1.1.1
Command: config wac virtual_ip 1.1.1.1
Success.
DGS-3700-12:5#
config wac switch_http_port
Purpose
To configure the TCP port which the WAC switch listens to.
Syntax
config wac switch_http_port <tcp_port_number 1-65535> { [http | https] }
Description
This command is used to configure the TCP port which the WAC switch listens to.
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 is specified, the protocol is HTTP.
Parameters
<tcp_port_number 1-65535>
- Specifies a TCP port which the WAC switch listens to
and uses to finish the authenticating process.
http
- Specifies that WAC runs HTTP protocol on this TCP port.
https
- Specifies that WAC runs HTTPS protocol on this TCP port.
Restrictions
The HTTP cannot run at TCP port 443, and the HTTPS cannot run at TCP port 80.
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure a TCP port which the WAC switch listens to: