xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
351
Example usage:
To configure the update server which the un-authenticated host need to access:
DGS-3450:admin# config jwac update_server add ipaddress 10.90.90.109/24
Command: config jwac update_server add ipaddress 10.90.90.109/24
Update Server 10.90.90.0/24 is added.
Success.
DGS-3450:admin#
config jwac switch_http_port
Purpose
Used to configure the HTTP port which the JWAC Switch listens to.
Syntax
config jwac switch_http_port < tcp_port_number 1-65535> {[http | https]}
Description
The config jwac switch_http_port command allows you to configure the TCP port number
which the JWAC Switch listens to. This port number is used in the second stage of the
authentication. PC user will connect the page on the switch to input the user name and
password.
If not specified, the default port number is 80.
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.
Parameters
<tcp_port_number 1-65535>
- A TCP port which the JWAC Switch listens to and uses to
finish the authenticating process.
http
- To specify the JWAC runs HTTP protocol on this TCP port
https
- To specify the JWAC runs HTTPS protocol on this TCP port
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the HTTP port which the Switch listens to:
DGS-3450:admin# config jwac switch_http_port 8888 http
Command: config jwac switch_http_port 8888 http
Success.
DGS-3450:admin#
config jwac ports
Purpose
Used to configure port’s state of JWAC.
Syntax
config jwac ports [<portlist> | all] {state [enable | disable] | max_authenticating_host
<value 0-n> | aging_time [infinite | <min 1-1440>] | idle_time [infinite | <min 1-1440>] |
block_time [<sec 0-300>] | auth_mode [host _based | port_based]} (1)
Description
The config jwac ports command allows you to configure port state of JWAC.
The default value of max_authenticating_host is n (The max allowed value, ‘n’ is project
dependent).
The default value of aging_time is 1440 minutes.
The default value of idle_time is infinite.
The default value of block_time is 60 seconds.