配置如图
用设备本身来做portal认证,终端能获取20.3的IP地址,缺不弹认证界面,请教各位大佬是哪里配置有错误吗?还是缺少配置
(0)
最佳答案
(1)在AC上配置相关VLAN及对应虚接口地址,并放通对应接口。
(2)配置无线服务,配置本地转发VLAN。
[AC] wlan service-template st1
[AC-wlan-st-st1] ssid localportal
[AC-wlan-st-st1] client forwarding-location ap vlan 10
(3)配置认证域,配置本地认证,不需要配置本地授权和计费,同时配置idle-cut时间。
[AC] domain dm1
[AC-isp-dm1] authentication portal local
[AC-isp-dm1] authorization portal none
[AC-isp-dm1] accounting portal none
[AC-isp-dm1] authorization-attribute idle-cut 15 1024
(4)配置Portal web 服务器,设置重定向的地址和需要携带的参数。
[AC] portal web-server newpt
[AC-portal-websvr-newpt] url http://192.168.100.1:8080/portal
[AC-portal-websvr-newpt] url-parameter wlanuserip source-address
(5)创建本地Portal Web服务器。
[AC]portal local-web-server http
[AC–portal-local-websvr-http] default-logon-page abc.zip
[AC–portal-local-websvr-http] tcp-port 8080
(6)开启无线Portal漫游功能,关闭无线Portal客户端ARP表项固化功能。
[AC] portal roaming enable
[AC] undo portal refresh arp enable
(7)开启无线Portal客户端合法性检查功能。
[AC] portal host-check enable
(8)配置本地Portal认证的用户名和密码。
[AC] local-user 123 class network
[AC-luser-network-123]password simple 123
[AC-luser-network-123]service-type portal
(9)在服务模板下调用web-server,并且使能portal认证。
[AC-wlan-st-st1] portal web-server newpt
[AC-wlan-st-st1] portal domain localportal
[AC-wlan-st-st1] portal enable method direct
[AC-wlan-st-st1] service-template enable
(10)配置AP。
[AC] wlan ap office model WA4320i-ACN
[AC-wlan-ap-office] serial-id 219801A0CNC138011454
[AC-wlan-ap-office] radio 2
[AC-wlan-ap-office-radio-2] service-template st1 vlan 10
[AC-wlan-ap-office-radio-2] radio enable
2.2
配置MAP文件
(0)
必须要用radius吗?
(1)在AC上配置相关VLAN及对应虚接口地址,并放通对应接口。 (2)配置无线服务,配置本地转发VLAN。 [AC] wlan service-template st1 [AC-wlan-st-st1] ssid localportal [AC-wlan-st-st1] client forwarding-location ap vlan 10 (3)配置认证域,配置本地认证,不需要配置本地授权和计费,同时配置idle-cut时间。 [AC] domain dm1 [AC-isp-dm1] authentication portal local [AC-isp-dm1] authorization portal none [AC-isp-dm1] accounting portal none [AC-isp-dm1] authorization-attribute idle-cut 15 1024 (4)配置Portal web 服务器,设置重定向的地址和需要携带的参数。 [AC] portal web-server newpt [AC-portal-websvr-newpt] url http://192.168.100.1:8080/portal [AC-portal-websvr-newpt] url-parameter wlanuserip source-address (5)创建本地Portal Web服务器。 [AC]portal local-web-server http [AC–portal-local-websvr-http] default-logon-page abc.zip [AC–portal-local-websvr-http] tcp-port 8080 (6)开启无线Portal漫游功能,关闭无线Portal客户端ARP表项固化功能。 [AC] portal roaming enable [AC] undo portal refresh arp enable (7)开启无线Portal客户端合法性检查功能。 [AC] portal host-check enable (8)配置本地Portal认证的用户名和密码。 [AC] local-user 123 class network [AC-luser-network-123]password simple 123 [AC-luser-network-123]service-type portal (9)在服务模板下调用web-server,并且使能portal认证。 [AC-wlan-st-st1] portal web-server newpt [AC-wlan-st-st1] portal domain localportal [AC-wlan-st-st1] portal enable method direct [AC-wlan-st-st1] service-template enable (10)配置AP。 [AC] wlan ap office model WA4320i-ACN [AC-wlan-ap-office] serial-id 219801A0CNC138011454 [AC-wlan-ap-office] radio 2 [AC-wlan-ap-office-radio-2] service-template st1 vlan 10 [AC-wlan-ap-office-radio-2] radio enable 2.2 配置MAP文件
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
(1)在AC上配置相关VLAN及对应虚接口地址,并放通对应接口。 (2)配置无线服务,配置本地转发VLAN。 [AC] wlan service-template st1 [AC-wlan-st-st1] ssid localportal [AC-wlan-st-st1] client forwarding-location ap vlan 10 (3)配置认证域,配置本地认证,不需要配置本地授权和计费,同时配置idle-cut时间。 [AC] domain dm1 [AC-isp-dm1] authentication portal local [AC-isp-dm1] authorization portal none [AC-isp-dm1] accounting portal none [AC-isp-dm1] authorization-attribute idle-cut 15 1024 (4)配置Portal web 服务器,设置重定向的地址和需要携带的参数。 [AC] portal web-server newpt [AC-portal-websvr-newpt] url http://192.168.100.1:8080/portal [AC-portal-websvr-newpt] url-parameter wlanuserip source-address (5)创建本地Portal Web服务器。 [AC]portal local-web-server http [AC–portal-local-websvr-http] default-logon-page abc.zip [AC–portal-local-websvr-http] tcp-port 8080 (6)开启无线Portal漫游功能,关闭无线Portal客户端ARP表项固化功能。 [AC] portal roaming enable [AC] undo portal refresh arp enable (7)开启无线Portal客户端合法性检查功能。 [AC] portal host-check enable (8)配置本地Portal认证的用户名和密码。 [AC] local-user 123 class network [AC-luser-network-123]password simple 123 [AC-luser-network-123]service-type portal (9)在服务模板下调用web-server,并且使能portal认证。 [AC-wlan-st-st1] portal web-server newpt [AC-wlan-st-st1] portal domain localportal [AC-wlan-st-st1] portal enable method direct [AC-wlan-st-st1] service-template enable (10)配置AP。 [AC] wlan ap office model WA4320i-ACN [AC-wlan-ap-office] serial-id 219801A0CNC138011454 [AC-wlan-ap-office] radio 2 [AC-wlan-ap-office-radio-2] service-template st1 vlan 10 [AC-wlan-ap-office-radio-2] radio enable 2.2 配置MAP文件