xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
643
Format
config mac_based_access_control ports [<portlist> | all] {state [enable | disable] |
aging_time [infinite | <min 1-1440>] | block_time <sec 0-300> | max_users [<value 1-4000> |
no_limit]}(1)
Parameters
<portlist>
- Specify a range of ports to configure the MAC-based access control settings
all
- Specify to select all the ports.
state
- Specify whether the MAC-based access control function is enabled or disabled.
enable
- Specify to enable the MAC-based access control function.
disable
- Specify to disable the MAC-based access control function.
aging_time
- Specify a time period during which an authenticated host will be kept in the
authenticated state. When the aging time is timed-out, the host will be moved back to
unauthenticated state.
infinite
- Specify an unlimited aging time.
<min 1-1440>
- Specify the age-out time, in minutes, between 1 and 1440.
block_time
- Specify the blocking time, in seconds, between 0 and 300.
<second 0-300>
- Specify the blocking time. The blocking time value must be between 0 and
300 seconds.
max_users
- Specify the number of maximum users. The default value is 128 users.
<value 1-4000>
- Specify the maximum number of users between 1 and 4000.
no_limit
- Specify an unlimited number of users.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the port state for ports 1 to 8:
DGS-3620-28SC:admin# config mac_based_access_control ports 1-8 state enable
Command: config mac_based_access_control ports 1-8 state enable
Success.
DGS-3620-28SC:admin#
57-7
create mac_based_access_control
Description
This command is used to create a MAC-based access control guest VLAN.
Format
create mac_based_access_control [guest_vlan <vlan_name 32> | guest_vlanid <vlanid 1-
4094>]