•radius-server host xxx.1.129.253 //指定認證服務器
•aaa authentication dot1x //開啓認證功能
•aaa accounting server xxx.1.129.253 //指定記帳服務器
•aaa accounting //開啓記帳功能
•aaa accounting update //開啓記帳更新功能
•dot1x client-probe enable //開啓認證客戶端探測功能
•dot1x probe-timer alive 250 //設置客戶端存活時間
•dot1x timeout server-timeout 3 //設置服務器超時時間
•dot1x max-req 1 //設置重認證次數
•dot1x accout-update-interval 1800 //設置記帳更新週期
•radius-server key gzcj //設置與SAM通信的key
•snmp-server community gzcj rw //設置snmp關鍵字及權限
•interface fastEthernet 0/3
•dot1x port-control auto //開啓端口受控功能,要求認證