Switch#aaa new-model
Switch(config)#radius server RadiusServerName
Switch(config-radius-server)#address ipv4 RadiusServerIp auth-port 1812 acct-port 1813
Switch(config-radius-server)#key Yourkey
Switch(config)#aaa group server radius RadiusServerName
Switch(config-sg-radius)#server name RadiusServerName
Switch(config-sg-radius)#ip radius source-interface Vlan XX
Switch(config)#radius-server domain-stripping
Switch(config)#dot1x system-auth-control
Switch(config)#dot1x logging verbose
Switch(config)#aaa authentication dot1x default group RadiusServerName
Switch(config)#aaa authorization network default group RadiusServerName
Switch(config)#interface g0/1
Switch(config-if)#spanning-tree portfast
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access Vlan XX
Switch(config-if)#authentication port-control auto
Switch(config-if)#dot1x pae authenticator
Cisco 2960S 802.1 x Port-base Authentication
11/22/2024