How to Configure MAC Authentication Bypass
Command or Action
Example:
Device> enable
Step 2
configure terminal
Example:
Device# configure terminal
Step 3
interface type slot / port
Example:
Device(config)# interface Gigabitethernet 1/2/1
Step 4
switchport
Example:
Device(config-if)# switchport
Step 5
switchport mode
Example:
Device(config-if)# switchport mode access
Step 6
authentication port-control auto
Example:
Device(config-if)# authentication port-control auto
Step 7
mab [eap]
Example:
Device(config-if)# mab
Step 8
authentication periodic
Example:
Device(config-if)# authentication periodic
Step 9
authentication timer reauthenticate {seconds | server}
Example:
Device(config-if)# authentication timer
reauthenticate 900
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1046
access
Purpose
• Enter your password if prompted.
Enters global configuration mode.
Enters interface configuration mode.
Places interface in Layer 2 switched mode.
Sets the interface type as a nontrunking, nontagged
single VLAN Layer 2 interface.
Configures the authorization state of the port.
Enables MAB.
Enables reauthentication.
Configures the time, in seconds, between
reauthentication attempts.