PurposeCommand or Action
Enters interface configuration mode.
interface type slot / port
Example:
Device(config)# interface Gigabitethernet 1/2/1
Step 3
Places interface in Layer 2 switched mode.switchport
Example:
Device(config-if)# switchport
Step 4
Sets the interface type as a nontrunking, nontagged
single VLAN Layer 2 interface.
switchport mode access
Example:
Device(config-if)# switchport mode access
Step 5
Configures the authorization state of the port.authentication port-control auto
Example:
Device(config-if)# authentication port-control
auto
Step 6
Enables MAB.mab [eap]
Example:
Device(config-if)# mab
Step 7
Configures the action to be taken when a security
violation occurs on the port.
authentication violation {restrict | shutdown}
Example:
Device(config-if)# authentication violation
shutdown
Step 8
Configures the period of time, in seconds, after which
an attempt is made to authenticate an unauthorized port.
authentication timer restart seconds
Example:
Device(config-if)# authentication timer restart
30
Step 9
Exits interface configuration mode and returns to
privileged EXEC mode.
end
Example:
Device(config-if)# end
Step 10
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1048
How to Configure MAC Authentication Bypass