Enable 802.1x port authentication on a Cisco switch
Switch# configure terminal Switch(config)# aaa new-model Switch(config)# aaa authorization network radius Switch(config)# aaa authentication dot1x default group radius Switch(config)# dot1x system-auth-control Switch(config)# radius-server host 192.168.0.7 key testing123 Switch(config)# interface fastethernet0/24 Switch(config-if)# switchport mode access Switch(config-if)# dot1x port-control auto Switch(config-if)# dot1x multiple-hosts Switch(config-if)# spanning-tree portfast Switch(config-if)# exit Switch(config)# interface vlan1 Switch(config-if)# ip address 192.168.0.254 255.255.255.0 Switch(config-if)# no shutdown Switch(config-if)# exit Switch(config)# exit Switch# copy running-config startup-config