230
Configuring IEEE 802.1x Port-Based Authentication
How to Configure IEEE 802.1x Port-Based Authentication
Configuring an Authenticator and Supplicant
You can also use an Auto Smartports user-defined macro instead of the switch VSA to configure the authenticator switch.
For information, see
Configuring Smartports Macros, page 257
.
Configuring an Authenticator
Before You Begin
One switch outside a wiring closet must be configured as a supplicant and be connected to an authenticator switch.
Note:
The
cisco-av-pairs
must be configured as
device-traffic-class=switch
on the ACS, which sets the interface as a
trunk after the supplicant is successfully authenticated.
Configuring a Supplicant Switch with NEAT
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
cisp enable
Enables CISP.
3.
interface
interface-id
Specifies the port to be configured, and enters interface configuration
mode.
4.
switchport mode access
Sets the port mode to
access
.
5.
authentication port-control auto
Sets the port-authentication mode to auto.
6.
dot1x pae authenticator
Configures the interface as a port access entity (PAE) authenticator.
7.
spanning-tree portfast
Enables Port Fast on an access port connected to a single workstation
or server.
8.
end
Returns to privileged EXEC mode.
9.
show running-config interface
interface-id
Verifies your configuration.
10.
copy running-config startup-config
(Optional) Saves your entries in the configuration file.
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
cisp enable
Enables CISP.
3.
dot1x credentials profile
Creates 802.1x credentials profile. This must be attached to the port
that is configured as supplicant.
4.
username
suppswitch
Creates a username.
5.
password
password
Creates a password for the new username.
6.
dot1x supplicant force-multicast
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.
7.
interface
interface-id
Specifies the port to be configured, and enters interface configuration
mode.
8.
switchport mode trunk
Configures the interface as a VLAN trunk port.
9.
dot1x pae supplicant
Configures the interface as a port access entity (PAE) supplicant.
10.
dot1x credentials
profile-name
Attaches the 802.1x credentials profile to the interface.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...