Syntax
user access-control mac-based mac-addr
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-SL5428E(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
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-SL5428E
——
The Fast/Gigabit Ethernet port number.
JetStream L2 Managed Switch CLI Guide
67
Need help?
Do you have a question about the JetStream TL-SL5428E and is the answer not in the manual?