T3700G-28TQ
 
JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 
 
74 
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: 
T3700G-28TQ(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. 
At most 5 ports can be configured. 
Syntax 
user access-control port-based interface { fastEthernet port | gigabitEthernet 
port | ten-gigabitEthernet port | none} 
no user access-control 
Parameter 
port 
——
 The Fast/Gigabit/ten-Gigabit Ethernet port number. 
none 
——
  Set the access port list to be none. 
Command Mode 
Global Configuration Mode 
Example 
Configure that only the users connected to Gigabit Ethernet ports 2 are allowed to 
login: