做了portal认证,部分设备连接后可以获取到ip地址,但是无法把mac地址推送到深澜的认证服务器
(0)
最佳答案
断开是指怎么断开?终端主动断开wifi连接还是主动下线?
另外MAC地址推不上去是什么意思?
可以试试在portal web-server xxx 的 url-parameter 中添加:url parameter usermac source-address
(0)
就是在深澜的认证服务器可以看到我们认证成功的设备,但是不显示mac地址
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 #
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
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 #