53
Parameter
mac-addr
—— The source MAC address. Only the user with this MAC
address is allowed to access the switch.
[ 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
Configure that only the user whose MAC address is 00:00:13:0A:00:01 is
allowed to access the switch:
T1600G-52TS(config)# user access-control mac-based 00:00:13:0A:00:01
8.5 user access-control port-based
Description
The user access-control port-based command is used to limit the ports for
accessing. Only the users connected to these ports you set here are allowed
to login. To cancel the user access limit, please use no user access-control
command.
Syntax
user access-control port-based interface { gigabitEthernet
port-list
} [ snmp ]
[ telnet ] [ ssh ] [ http ] [ https ] [ ping ] [ all ]
no user access-control
Parameter
port-list
——The list group of Ethernet ports, in the format of 1/0/1-4. You can
appoint 5 ports at most.
[ snmp ] [ telnet ] [ ssh ] [ http ] [ https ] [ ping ] [ all ] —— Specify the access
interface. These interfaces are enabled by default.
Command Mode
Global Configuration Mode