开启辅助访问 设为首页     收藏本站     HTTPS安全访问
 找回密码
 立即注册

华为AC配置OpenPortal Portal协议WEB认证WIFI认证系统Portal认证示例 3/3

lywasw 回复:0 | 查看:16093 | 发表于 2015-11-30 20:35:42 |阅读模式 |复制链接
配置文件
·        接入交换机的配置文件
·        #
·        sysnameSwitchA
·        #
·        vlanbatch 100
·        #
·        interfaceGigabitEthernet0/0/1
·         port link-type trunk
·         port trunk pvid vlan 100
·         port trunk allow-pass vlan 100
·         port-isolate enable group 1
·        #
·        interfaceGigabitEthernet0/0/2
·         port link-type trunk
·         port trunk allow-pass vlan 100
·        #
return
·        Router的配置文件
·        #
·        sysnameRouter
·        #
·        vlanbatch 102
·        #
·        dhcpenable
·        #
·        ippool sta
·         gateway-list 10.10.10.1
·         network 10.10.10.0 mask 255.255.255.0
·        #
·        interfaceVlanif102
·         ip address 11.1.1.1 255.255.255.0
·         dhcp select global
·        #
·        interfaceGigabitEthernet2/0/0
·         port link-type trunk
·         port trunk allow-pass vlan 102
·        #
·        iproute-static 10.10.10.0 24 11.1.1.2
·        #
·        return
·        AC的配置文件
·        #
·         sysname AC
·        #
·         vlan batch 100 to 104
·        #
·         wlan ac-global carrier id other ac id 1
·        #
·        dhcpenable
·        #
·        dhcprelay detect enable
·        #
·        radius-servertemplate radius_huawei
·         radius-server authentication 12.1.1.1 1812weight 80
·         radius-server accounting 12.1.1.1 1813 weight80
·         radius-server shared-key cipher%@%@hH67%f}f8X"AE&Pw`wS~{:;0%@%@
·        #
·        web-auth-servertest
·         server-ip 13.1.1.1
·         port 50100
·         shared-key cipher%@%@w^y1$5h,lGXtWH(R+B'0{GM{%@%@
·         url http://13.1.1.1
·        #
·        aaa
·         authentication-scheme radius_huawei
·          authentication-mode radius
·         accounting-scheme radius_huawei
·          accounting-mode radius
·         domain huawei.com
·          authentication-scheme radius_huawei
·          accounting-scheme radius_huawei
·          radius-server radius_huawei
·        #
·        interfaceVlanif100
·         ip address 192.168.10.1 255.255.255.0
·         dhcp select interface
·        #
·        interfaceVlanif101
·         ip address 10.10.10.1 255.255.255.0
·         web-auth-server test direct
·         dhcp select relay
·         dhcp relay server-ip 11.1.1.1
·        #
·        interfaceVlanif102
·         ip address 11.1.1.2 255.255.255.0
·        #
·        interfaceVlanif103
·         ip address 12.1.1.2 255.255.255.0
·        #
·        interfaceVlanif104
·         ip address 13.1.1.2 255.255.255.0
·        #
·        interfaceGigabitEthernet0/0/1
·         port link-type trunk
·         port trunk allow-pass vlan 100
·        #
·        interfaceGigabitEthernet0/0/2
·         port link-type trunk
·         port trunk allow-pass vlan 102
·        #
·        interfaceGigabitEthernet0/0/3
·         port link-type trunk
·         port trunk allow-pass vlan 103
·        #
·        interfaceGigabitEthernet0/0/4
·         port link-type trunk
·         port trunk allow-pass vlan 104
·        #
·        interfaceWlan-Ess1
·         port hybrid pvid vlan 101
·         port hybrid untagged vlan 101
·         permit-domain name huawei.com
·         force-domain name huawei.com
·        #
·        capwapsource interface vlanif100
·        #
·        wlan
·         ap-region id 10
·         ap id 0 type-id 19 mac 60de-4476-e360 snAB35015384
·          region-id 10
·         wmm-profile name wmm id 1
·         traffic-profile name traffic id 1
·         security-profile name security id 1
·         service-set name test id 1
·          forward-mode tunnel
·          wlan-ess 1
·          ssid test
·          traffic-profile id 1
·          security-profile id 1
·          service-vlan 101
·         radio-profile name radio id 1
·          wmm-profile id 1
·         ap 0 radio 0
·          radio-profile id 1
·          service-set id 1 wlan 1
·        #
return

回复

使用道具 举报

登录 发布 快速回复 返回顶部 返回列表