52
Syntax
user access-control ip-based {
ip-addr ip-mask
}
[ snmp ] [ telnet ] [ ssh ]
[ http ] [ https ] [ ping ] [ all ]
no user access-control [ ip-based index
id
]
Parameter
ip-addr
—— The source IP address. Only the users within the IP-range you
set here are allowed to access the switch.
ip-mask
——The subnet mask of the IP address.
[ snmp ] [ telnet ] [ ssh ] [ http ] [ https ] [ ping ] [ all ] —— Specify the access
interface. These interfaces are enabled by default.
Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin and Operator level users have access to these commands.
Example
Enable the access-control of the user whose IP address is 192.168.0.148:
T1600G-52TS(config)# user access-control ip-based 192.168.0.148
255.255.255.255
8.4 user access-control mac-based
Description
The user access-control mac-based command is used to limit the MAC
address of the users’ access. Only the user with this MAC address you set
here is allowed to access the switch. To cancel the user access limit, please
use no user access-control command.
Syntax
user access-control mac-based {
mac-addr
}
[ snmp ] [ telnet ] [ ssh ] [ http ]
[ https ] [ ping ] [ all ]
no user access-control