set radius server radius-server-address auth-port 1812 primary set radius key share-key-with-radius-server set dot1x system-auth-control enable set port dot1x mod/port port-control auto
IOS交换机:
radius-server host radius-ip-address auth-port port-number key string aaa new-model aaa authentication dot1x default group radius aaa authorization network default group radius interface interface-id switchport mode access dot1x port-control auto