Справочное Руководство для TP-LINK TL-SG2008

Скачать
Страница из 169
 
34
 
TL-SG2008(config)# user name tplink password password type admin status 
enable 
user access-control ip-based 
Description 
The  user access-control ip-based command is used to limit the IP-range of 
the users for login. Only the users within the IP-range you set here are allowed 
to login. To cancel the user access limit, please use no user access-control 
command. 
Syntax 
user access-control ip-based ip-addr ip-mask 
no user access-control 
Parameter 
ip-addr —— The source IP address. Only the users within the IP-range you set 
here are allowed for login. 
ip-mask ——The subnet mask of the IP address. 
Command Mode 
Global Configuration Mode 
Example 
Enable the access-control of the user whose IP address is 192.168.0.148: 
TL-SG2008(config)# user access-control ip-based 192.168.0.148 
255.255.255.255 
user access-control mac-based 
Description 
The  user access-control mac-based command is used to limit the MAC 
address of the users for login. Only the user with this MAC address you set here 
is allowed to login. To cancel the user access limit, please use no user 
access-control command. 
Syntax 
user access-control mac-based mac-addr