xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
427
config mac_based_access_control ports
Purpose
Used to configure the parameter of the MAC-based AC.
Syntax
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-
1000> | no_limit]}
Description
This command allows you to configure MAC-based AC setting.
When the MAC-based AC is enabled for a port, and the guest VLAN function for this port is
disabled, the user attached to this port will not forward any packets unless the user passes
authentication. The user that does not pass authentication will not be serviced by the Switch.
If the user passes authentication, the user will be able to forward traffic operated under the
assigned VLAN configuration.
When the MAC-based AC function is enabled for a port, and the guest VLAN function for this
port is enabled, it will be removed from the original VLAN member port, and become the
member port of the guest_vlan, before the authentication process starts. After the
authentication, if a valid VLAN is assigned by the RADIUS server, then this port will be
removed from the guest VLAN and become the member port of the assigned VLAN.
For guest VLAN mode, if the MAC address is authorized, but no VLAN information is
assigned from the RADIUS Server or the VLAN assigned by RADIUS server is invalid (e.g.
the assigned VLAN is not existent), this port/MAC will be removed from the member port of
the guest VLAN and become a member port of the original VLAN.
Parameters
ports
– A range of ports enable or disable mac_based_access_control function.
state
– Specifies whether MAC-based AC function is enabled or disabled.
aging_time
– A time period during which an authenticated host will be kept in authenticated
state. When the aging time is time–out, the host will be moved back to unauthenticated state.
block_time
– If a host fails to pass the authentication, the next authentication will not started
within block_time unless the user clears the entry state manually.
max_user
– max number of authenticated clients on per port.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To configure port state:
DES-3528:admin# config mac_based_access_control ports 1
–
8 state enable
Command: config mac_based_access_control ports 1
–
8 state enable
Success.
DES-3528:admin#
config mac_based_access_control trap state
Purpose
This command is used to enable or disable sending of MAC-based Access Control traps.
Syntax
config mac_based_access_control trap state [enable | disable]
Description
This command is used to enable or disable sending of MAC-based Access Control traps.
Parameters
enable
- Enable trap for MAC-based Access Control. The trap of MAC-based Access Control
will be sent out.
disable
- Disable trap for MAC-based Access Control.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable trap state of MAC-based Access Control:
DES-3528:admin# config mac_based_access_control trap state enable
Command: config mac_based_access_control trap state enable
Success.