35
Example
Add and enable a new admin user named tplink, of which the password is
password:
TL-SG2424(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-SG2424(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