Command or Action
Step 5
password password
Example:
Switch(config)# password myswitch
Step 6
dot1x supplicant force-multicast
Example:
Switch(config)# dot1x supplicant force-multicast
Step 7
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 8
switchport trunk encapsulation dot1q
Example:
Switch(config-if)# switchport trunk
encapsulation dot1q
Step 9
switchport mode trunk
Example:
Switch(config-if)# switchport mode trunk
Step 10
dot1x pae supplicant
Example:
Switch(config-if)# dot1x pae supplicant
Step 11
dot1x credentials profile-name
Example:
Switch(config-if)# dot1x credentials test
Step 12
end
Example:
Switch(config-if)# end
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Configure 802.1x Port-Based Authentication
Purpose
Creates a password for the new username.
Forces the switch to send only multicast EAPOL packets
when it receives either unicast or multicast packets.
This also allows NEAT to work on the supplicant switch
in all host modes.
Specifies the port to be configured, and enter interface
configuration mode.
Sets the port to trunk mode.
Configures the interface as a VLAN trunk port.
Configures the interface as a port access entity (PAE)
supplicant.
Attaches the 802.1x credentials profile to the interface.
Returns to privileged EXEC mode.
1399