• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

华三无线控制器与深澜的认证服务器做portal认证,有部分设备之前可以连接,断开后发现mac地址推不上去了 有没有知道的大哥

2022-06-08提问
  • 0关注
  • 1收藏,1223浏览
粉丝:1人 关注:0人

问题描述:

做了portal认证,部分设备连接后可以获取到ip地址,但是无法把mac地址推送到深澜的认证服务器

最佳答案

粉丝:21人 关注:4人

断开是指怎么断开?终端主动断开wifi连接还是主动下线?

另外MAC地址推不上去是什么意思?

可以试试在portal web-server xxx 的 url-parameter 中添加:url parameter usermac source-address  

irf mac-address persistent timer irf auto-update enable irf auto-merge enable irf member 1 priority 1 # dot1x # dhcp enable dhcp relay client-information record # dns server 114.114.114.114 dns server 172.16.12.251 dns server 172.16.12.252 # password-recovery enable # vlan 1 # vlan 102 description yewu_wifi # vlan 172 description To_Xiaoyuan_hexin01 # vlan 272 description To_Xiaoyuan_hexin02 # irf-port 1 # qos policy WebGlobal_0 # qos policy WebGlobal_1 # wlan service-template gxufe ssid gxufe vlan 102 portal domain portal portal bas-ip 172.21.255.254 portal apply web-server newpt portal apply mac-trigger-server mac_aut service-template enable # wlan service-template gxufe-test ssid gxufe-test vlan 102 portal enable method direct portal domain portal portal bas-ip 172.21.255.254 portal apply web-server newpt portal apply mac-trigger-server mac_aut service-template enable # interface NULL0 # interface LoopBack0 ip address 192.168.69.73 255.255.255.255 # interface Vlan-interface1 ip address 192.168.0.100 255.255.255.0 # interface Vlan-interface102 description yewu_wifi ip address 172.21.255.254 255.255.0.0 dhcp select relay dhcp relay server-address 172.16.1.77 dhcp relay server-address 172.16.1.78 # interface Vlan-interface172 description To_Xiaoyuan_hexin01 ip address 192.168.1.74 255.255.255.252 # interface Vlan-interface272 description To_Xiaoyuan_hexin02 ip address 192.168.2.74 255.255.255.252 # interface GigabitEthernet1/0/1 # interface GigabitEthernet1/0/2 # interface GigabitEthernet1/0/3 # interface GigabitEthernet1/0/4 # interface GigabitEthernet1/0/5 # interface GigabitEthernet1/0/6 # interface GigabitEthernet1/0/7 # interface GigabitEthernet1/0/8 # interface M-GigabitEthernet0/0/0 # interface Ten-GigabitEthernet1/0/9 description To_Xiaoyuan_hexin01 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 101 to 102 172 # interface Ten-GigabitEthernet1/0/10 description To_Xiaoyuan_hexin02 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 272 # scheduler logfile size 16 # line class console user-role network-admin # line class vty user-role network-operator # line con 0 user-role network-admin # line vty 0 31 authentication-mode scheme user-role network-operator # ip route-static 0.0.0.0 0 192.168.1.73 ip route-static 0.0.0.0 0 192.168.2.73 # undo info-center logfile enable # snmp-agent snmp-agent local-engineid 800063A28048BD3D1E860800000001 snmp-agent community write wlzxsnmp snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 172.16.2.29 params securityname public v2c snmp-agent target-host trap address udp-domain 172.16.2.29 params securityname publuc snmp-agent trap enable arp snmp-agent trap enable radius snmp-agent trap enable syslog snmp-agent trap enable wlan ap snmp-agent trap enable wlan capwap snmp-agent trap enable wlan client snmp-agent trap enable wlan client-audit snmp-agent trap enable wlan load-balance snmp-agent trap enable wlan mobility snmp-agent trap enable wlan usersec # ntp-service enable ntp-service unicast-server ***.*** # radius session-control enable # radius scheme office primary authentication 192.168.69.133 primary accounting 192.168.69.133 key authentication cipher $c$3$neo1WXUVpx5mY8QSZ/foP7Xo7t6RDRhYrQ== key accounting cipher $c$3$DnPKYBofMPHOCQX6JftDHjjX3e1O7cNxlQ== user-name-format without-domain nas-ip 172.21.255.254 # radius dynamic-author server # domain portal authentication portal radius-scheme office authorization portal radius-scheme office accounting portal radius-scheme office # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$r5ZrAkST29+X4E2p$gan1LNao++CrfYFYzh6wihzbJMzHQF3VbnsVtldqb3QzqofoCeFWkHYxhKCzMbKjJi2Skmp5I6RQyOq8Sx8ukw== service-type telnet http https authorization-attribute user-role network-admin # ftp server enable # portal host-check enable portal user-logoff after-client-offline enable portal user log enable portal free-rule 0 description ip 192.168.0.111 24 portal free-rule 1 destination ip 172.16.12.251 255.255.255.255 portal free-rule 2 destination ip 172.16.12.252 255.255.255.255 portal free-rule 3 description ip 172.16.2.29 255.255.255.255 portal free-rule 5 destination ip any udp 53 portal free-rule 6 destination ip any tcp 53 portal free-rule 7 destination ip any tcp 5223 portal free-rule 9 destination ip 192.168.69.133 255.255.255.255 portal safe-redirect enable portal safe-redirect method get post portal safe-redirect user-agent Android portal safe-redirect user-agent CaptiveNetworkSupport portal safe-redirect user-agent MicroMessenger portal safe-redirect user-agent Mozilla portal safe-redirect user-agent WeChat portal safe-redirect user-agent iPhone portal safe-redirect user-agent micromessenger # portal web-server newpt url http://192.168.69.133/index_2.html captive-bypass ios optimize enable if-match original-url http://captive.apple.com/hotspot-detect.html user-agent Mozilla temp-pass redirect-url http://192.168.69.133/index_2.html if-match original-url http://www.apple.com user-agent Mozilla temp-pass redirect-url http://192.168.69.133/index_2.html # portal server newpt ip 192.168.69.133 key cipher $c$3$6p18aWF9wMmNe38XvX0u9yN3Tt0TF3/S5w== port 2000 server-type cmcc # portal local-web-server http # ip http enable ip https enable # portal mac-trigger-server mac_aut ip 192.168.69.133 key cipher $c$3$+S56FAZWt17Rpm3ei/iroSLIqGtoCKzw5g== server-type cmcc # wlan auto-ap enable # wlan global-configuration nas-id cm-0-3-210235A1JQB17A000010 #

zhiliao_pRmEH7 发表时间:2022-06-08 更多>>

就是在深澜的认证服务器可以看到我们认证成功的设备,但是不显示mac地址

zhiliao_pRmEH7 发表时间:2022-06-08

irf mac-address persistent timer irf auto-update enable irf auto-merge enable irf member 1 priority 1 # dot1x # dhcp enable dhcp relay client-information record # dns server 114.114.114.114 dns server 172.16.12.251 dns server 172.16.12.252 # password-recovery enable # vlan 1 # vlan 102 description yewu_wifi # vlan 172 description To_Xiaoyuan_hexin01 # vlan 272 description To_Xiaoyuan_hexin02 # irf-port 1 # qos policy WebGlobal_0 # qos policy WebGlobal_1 # wlan service-template gxufe ssid gxufe vlan 102 portal domain portal portal bas-ip 172.21.255.254 portal apply web-server newpt portal apply mac-trigger-server mac_aut service-template enable # wlan service-template gxufe-test ssid gxufe-test vlan 102 portal enable method direct portal domain portal portal bas-ip 172.21.255.254 portal apply web-server newpt portal apply mac-trigger-server mac_aut service-template enable # interface NULL0 # interface LoopBack0 ip address 192.168.69.73 255.255.255.255 # interface Vlan-interface1 ip address 192.168.0.100 255.255.255.0 # interface Vlan-interface102 description yewu_wifi ip address 172.21.255.254 255.255.0.0 dhcp select relay dhcp relay server-address 172.16.1.77 dhcp relay server-address 172.16.1.78 # interface Vlan-interface172 description To_Xiaoyuan_hexin01 ip address 192.168.1.74 255.255.255.252 # interface Vlan-interface272 description To_Xiaoyuan_hexin02 ip address 192.168.2.74 255.255.255.252 # interface GigabitEthernet1/0/1 # interface GigabitEthernet1/0/2 # interface GigabitEthernet1/0/3 # interface GigabitEthernet1/0/4 # interface GigabitEthernet1/0/5 # interface GigabitEthernet1/0/6 # interface GigabitEthernet1/0/7 # interface GigabitEthernet1/0/8 # interface M-GigabitEthernet0/0/0 # interface Ten-GigabitEthernet1/0/9 description To_Xiaoyuan_hexin01 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 101 to 102 172 # interface Ten-GigabitEthernet1/0/10 description To_Xiaoyuan_hexin02 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 272 # scheduler logfile size 16 # line class console user-role network-admin # line class vty user-role network-operator # line con 0 user-role network-admin # line vty 0 31 authentication-mode scheme user-role network-operator # ip route-static 0.0.0.0 0 192.168.1.73 ip route-static 0.0.0.0 0 192.168.2.73 # undo info-center logfile enable # snmp-agent snmp-agent local-engineid 800063A28048BD3D1E860800000001 snmp-agent community write wlzxsnmp snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 172.16.2.29 params securityname public v2c snmp-agent target-host trap address udp-domain 172.16.2.29 params securityname publuc snmp-agent trap enable arp snmp-agent trap enable radius snmp-agent trap enable syslog snmp-agent trap enable wlan ap snmp-agent trap enable wlan capwap snmp-agent trap enable wlan client snmp-agent trap enable wlan client-audit snmp-agent trap enable wlan load-balance snmp-agent trap enable wlan mobility snmp-agent trap enable wlan usersec # ntp-service enable ntp-service unicast-server ***.*** # radius session-control enable # radius scheme office primary authentication 192.168.69.133 primary accounting 192.168.69.133 key authentication cipher $c$3$neo1WXUVpx5mY8QSZ/foP7Xo7t6RDRhYrQ== key accounting cipher $c$3$DnPKYBofMPHOCQX6JftDHjjX3e1O7cNxlQ== user-name-format without-domain nas-ip 172.21.255.254 # radius dynamic-author server # domain portal authentication portal radius-scheme office authorization portal radius-scheme office accounting portal radius-scheme office # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$r5ZrAkST29+X4E2p$gan1LNao++CrfYFYzh6wihzbJMzHQF3VbnsVtldqb3QzqofoCeFWkHYxhKCzMbKjJi2Skmp5I6RQyOq8Sx8ukw== service-type telnet http https authorization-attribute user-role network-admin # ftp server enable # portal host-check enable portal user-logoff after-client-offline enable portal user log enable portal free-rule 0 description ip 192.168.0.111 24 portal free-rule 1 destination ip 172.16.12.251 255.255.255.255 portal free-rule 2 destination ip 172.16.12.252 255.255.255.255 portal free-rule 3 description ip 172.16.2.29 255.255.255.255 portal free-rule 5 destination ip any udp 53 portal free-rule 6 destination ip any tcp 53 portal free-rule 7 destination ip any tcp 5223 portal free-rule 9 destination ip 192.168.69.133 255.255.255.255 portal safe-redirect enable portal safe-redirect method get post portal safe-redirect user-agent Android portal safe-redirect user-agent CaptiveNetworkSupport portal safe-redirect user-agent MicroMessenger portal safe-redirect user-agent Mozilla portal safe-redirect user-agent WeChat portal safe-redirect user-agent iPhone portal safe-redirect user-agent micromessenger # portal web-server newpt url http://192.168.69.133/index_2.html captive-bypass ios optimize enable if-match original-url http://captive.apple.com/hotspot-detect.html user-agent Mozilla temp-pass redirect-url http://192.168.69.133/index_2.html if-match original-url http://www.apple.com user-agent Mozilla temp-pass redirect-url http://192.168.69.133/index_2.html # portal server newpt ip 192.168.69.133 key cipher $c$3$6p18aWF9wMmNe38XvX0u9yN3Tt0TF3/S5w== port 2000 server-type cmcc # portal local-web-server http # ip http enable ip https enable # portal mac-trigger-server mac_aut ip 192.168.69.133 key cipher $c$3$+S56FAZWt17Rpm3ei/iroSLIqGtoCKzw5g== server-type cmcc # wlan auto-ap enable # wlan global-configuration nas-id cm-0-3-210235A1JQB17A000010 #

zhiliao_pRmEH7 发表时间:2022-06-08
1 个回答
粉丝:146人 关注:1人

五层下手的时候就看日志,控制器的和portal服务器的日志,结合终端MAC地址查找日志


编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明