Purpose
Command or Action
Enables 802.1x authentication on the port.
authentication port-control auto
Example:
Switch(config-if)#
authentication port-control
Step 3
auto
Enables MAC authentication bypass.
mab
[
eap
]
Step 4
Example:
Switch(config-if)#
mab
(Optional) Use the
eap
keyword to configure the switch
to use EAP for authorization.
Returns to privileged EXEC mode.
end
Example:
Switch(config-if)#
end
Step 5
Formatting a MAC Authentication Bypass Username and Password
Use the optional
mab request format
command to format the MAB username and password in a style accepted
by the authentication server. The username and password are usually the MAC address of the client. Some
authentication server configurations require the password to be different from the username.
Beginning in privileged EXEC mode, follow these steps to format MAC authentication bypass username and
passwords.
SUMMARY STEPS
1.
configure terminal
2.
mab request format attribute 1 groupsize
{
1
|
2
|
4
|
12
} [
separator
{
-
|
:
|
.
} {
lowercase
|
uppercase
}]
3.
mab request format attribute2
{
0
|
7
}
text
4.
end
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
334
OL-29048-01
Configuring IEEE 802.1x Port-Based Authentication
Configuring MAC Authentication Bypass