cisco catalyst 2960 series switch and 3750 series switch:
keep in mind,if you hope under the inferface mode,the "dot1x" command is available,you must enter "swithport mode access" (madatary to access mode) under the interface mode in advance.