xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
437
D G S - 3 4 2 6 : 5 # e n a b l e w a c
C o m m a n d : e n a b l e w a c
S u c c e s s .
D G S - 3 4 2 6 : 5 #
disable wac
Purpose
Used to disable Web-based access control on the Switch.
Syntax
disable wac
Description
This command is used to disable the WAC function on the Switch.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable WAC:
D G S - 3 4 2 6 : 5 # d i s a b l e w a c
C o m m a n d : d i s a b l e w a c
S u c c e s s .
D G S - 3 4 2 6 : 5 #
config wac ports
Purpose
Used to configure WAC port level settings on the Switch.
Syntax
config wac ports [<portlist> | all] {state [enable | disable] | | aging_time [infinite |
<min 1-1440>] | idle_time [infinite | <min 1-1440>] | block_time [<sec 0-300>] }
Description
This command is used to configure WAC port level settings on the Switch.
Parameters
state
– Specifies to enable/disable WAC state.
aging_time
– A time period during which an authenticated host will be kept in
authenticated state. “infinite” indicates the authenticated host on the port will not ageout.
The default value is 24 hours.
idle_time
– A time period after which an authenticated host will be moved to an un-
authenticated state if there is no traffic during that period. “infinite” indicates the host will
not be removed from the authenticated state due to the idle of traffic. The default value is
infinite.
block_time
– If a host fails to pass the authentication, it will be blocked for this period of
time before it can be re-authenticated. The default value is 60 seconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure port WAC state:
D G S - 3 4 2 6 : 5 # c o n f i g w a c p o r t s 1 - 8 s t a t e e n a b l e
C o m m a n d : c o n f i g w a c p o r t s 1 : 1 - 1 : 8 s t a t e e n a b l e
S u c c e s s .
D G S - 3 4 2 6 : 5 #