122
Examples
# Configure VLAN 5 as the MAC authentication guest VLAN on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mac-authentication guest-vlan 5
mac-authentication max-user
Syntax
mac-authentication
max-user
user-number
undo mac-authentication max-user
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
user-number
: Specifies the maximum number of concurrent MAC authentication users allowed on the port.
The value ranges from 1 to 256.
Parameters
Use the
mac-authentication
max-user
command to set the maximum number of concurrent MAC
authentication users on a port.
Use the
undo mac-authentication
max-user
command to restore the default.
The default maximum number of concurrent MAC authentication users allowed on a port is 256.
Examples
# Configure port GigabitEthernet 1/0/1 to allow up to 32 concurrent MAC authentication users.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mac-authentication max-user 32
mac-authentication timer
Syntax
mac-authentication
timer
{
offline-detect
offline-detect-value
|
quiet
quiet-value
|
server-timeout
server-timeout-value
}
undo mac-authentication
timer
{
offline-detect
|
quiet
|
server-timeout
}
View
System view
Default level
2: System level