
T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
80
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:
T2700G-28TQ(config)#user access-control port-based
interface
gigabitEthernet
1/0/2
user max-number
Description
The
user max-number
command is used to configure the maximum login user
number at the same time. To cancel the limit on login number, please use
no
user max-number
command.
Syntax
user max-number
admin-num guest-num
no user max-number