1.創建radius方案
radius scheme sangfor #創建radius方案並進入其視圖
primary authentication 10.5.208.250 #配置主認證RADIUS服務器的IP地址
primary accounting 10.5.208.250 #配置主計費RADIUS服務器的IP地址
key authentication simple sangfor #配置AC與認證RADIUS服務器交互報文時的共享密鑰為明文字符串
key accounting simple sangfor #配置AC與計費RADIUS服務器交互報文時的共享密鑰為明文字符串
user-name-format without-domain #配置發送到radius服務器的用戶名格式為不帶@+域名
nas-ip 10.5.208.9 #配置設備發送RADIUS報文使用的源IP地址
2.創建domain
domain chindata #創建domain並進入其視圖 authentication lan-access radius-scheme sangfor #配置802.1X認證用戶使用radius方案sangfor進行認證 authorization lan-access radius-scheme sangfor #配置802.1X認證用戶使用radius方案sangfor進行授權 accounting lan-access radius-scheme sangfor #配置802.1X認證用戶使用radius方案sangfor進行計費
3.開啟RADUIS session control功能
radius session-control enable
4.配置802.1X系統的認證方法
dot1x authentication-method eap #配置802.1X系統的認證方法為EAP dot1x retry 10 #配置802.1X重試次數 dot1x timer supp-timeout 3 #配置802.1X請求超時時間為3秒 dot1x timer tx-period 3 #配置身份請求超時時間為3秒 dot1x ead-assistant enable #配置ead認證助手功能 ############# Can't enable the EAD assistant function when MAC authentication is enabled globally dot1x ead-assistant free-ip 10.1.41.101 255.255.255.255 #配置ead免認證
5.配置無線服務模板
wlan service-template cdg ssid CDG client association-location ap client forwarding-location ap akm mode dot1x #配置身份認證與密鑰管理的模式為802.1X cipher-suite ccmp security-ie rsn security-ie wpa client-security authentication-mode dot1x # 配置用戶接入認證模式為802.1X。 dot1x domain sangfor # 配置802.1X用戶使用認證域為sangfor service-template enable