TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
44
no user access-control
Parameter
mac-addr —— The source MAC address. Only the user with this MAC address
is allowed to login.
Command Mode
Global Configuration Mode
Example
Configure that only the user with the MAC address 00:00:13:0A:00:01 is allowed
to login:
TL-SL3428(config)#user access-control mac-based 00:00:13:0A:00:01
user access-control port-based
Description
The user access-control port-based command is used to limit the ports for
login. Only the users connected to these ports you set here are allowed for login.
To cancel the user access limit, please use no user access-control command.
Syntax
user access-control port-based interface { fastEthernet port | gigabitEthernet
port | range fastEthernet port-list | range gigabitEthernet port-list }
no user access-control
Parameter
port
——
The Fast/Gigabit Ethernet port number.
port-list ——The list group of Ethernet ports. You can appoint 5 ports at most.
Command Mode
Global Configuration Mode
Example
Configure that only the users connected to Fast Ethernet ports 2-6 are allowed to
login:
TL-SL3428(config)#user access-control port-based interface range
fastEthernet 1/0/2-6