华为AC配置802.1X认证

[AC6005]radius-server template radius_temp
[AC6005-radius-radius_temp]radius-server authentication 192.168.11.254 1812
[AC6005-radius-radius_temp]radius-server accounting 192.168.11.254 1813
[AC6005-radius-radius_temp]quit
[AC6005]radius-server authorization 192.168.11.254 shared-key simple 123456


[AC6005]aaa
[AC6005-aaa]authentication-scheme auth_scheme
[AC6005-aaa-authen-auth_scheme]authentication-mode radius

[AC6005-aaa]accounting-scheme account_scheme
[AC6005-aaa-accounting-account_scheme]accounting-mode radius
[AC6005-aaa-accounting-account_scheme]accounting realtime 15
[AC6005-aaa-accounting-account_scheme]quit

[AC6005-aaa]domain radius_domain #配置全局默认域
[AC6005-aaa-domain-radius_domain]authentication-scheme auth_scheme
[AC6005-aaa-domain-radius_domain]accounting-scheme account_scheme
[AC6005-aaa-domain-radius_domain]radius-server radius_temp
[AC6005-aaa-domain-radius_domain]quit

[AC6005]dot1x-access-profile name 802.1X
[AC6005-dot1x-access-profile-802.1X]quit
[AC6005]authentication-profile name authen_802.1X
[AC6005-authentication-profile-authen_802.1X]dot1x-access-profile 802.1X
[AC6005-authentication-profile-authen_802.1X]authentication-scheme authen_scheme
[AC6005-authentication-profile-authen_802.1X]radius-server radius_temp
[AC6005-authentication-profile-authen_802.1X]quit

[AC6005]wlan
[AC6005-wlan-view]security-profile name sec_802.1X
[AC6005-wlan-sec-prof-sec_802.1X]security wpa2 dot1x aes
[AC6005-wlan-sec-prof-sec_802.1X]quit
[AC6005-wlan-view]vap-profile name wlan_vap
[AC6005-wlan-vap-prof-wlan_vap]forward-mode direct-forward
[AC6005-wlan-vap-prof-wlan_vap]service-vlan vlan-id 12
[AC6005-wlan-vap-prof-wlan_vap]security-profile sec_802.1X
[AC6005-wlan-vap-prof-wlan_vap]ssid-profile wlan-ssid
[AC6005-wlan-vap-prof-wlan_vap]authentication-profile 802.1X
[AC6005-wlan-vap-prof-wlan_vap]

猜你喜欢

转载自blog.51cto.com/maguangjie/2128843