H3C WX3024E+H3C WA21

发布时间:2019-08-02 11:06:39编辑:auto阅读(1447)

    H3C WX3024E+H3C WA2101 直连连接

    配置分析

    sys

    ############################AC部分配置########################

    sysname AC_span_NEW \配置设备名称

    vlan 1 \管理VLAN

    vlan 20 \有线网络VLAN

    vlan 30 \无线网络VLAN

    dhcp server ip-pool wlan-2 \WLAN地址池

    network 137.78.6.0 mask255.255.255.0

    gateway-list 137.78.6.254

    dns-list 137.78.6.254

    local-user admin \ telnet、web配置

    password cipher admin

    authorization-attribute level 3

    service-type telnet

    service-type web

    local-user test

    password cipher test

    authorization-attribute level 3

    service-type telnet

    service-type web

    wlan radio-policy 1 \配置射频1

    wlan service-template 2 crypto/open.. \建立服务模板(加密/开放)

    ssid vian-2 \SSID为vian-2

    bind WLAN-ESS 1 \将服务模板与接口绑定

    authentication-method shared-key \验证方式为WEP

    cipher-suite wep40

    wep default-key 1 wep40pass-phrase simple admin

    remote-ap keep-client-online

    service-template enable \使能该服务模板

    interface Bridge-Aggregation1 \创建LACP并trunk

    port link-type trunk

    port trunk permit vlan all

    interface Vlan-interface1

    ip address 198.198.198.147255.255.255.0

    interface Vlan-interface30

    ip address 137.78.6.254255.255.255.0

    interface Vlan-interface20

    ip address 198.198.199.251255.255.255.0

    interface GigabitEthernet1/0/1 \与SW部分连接端口(1、2)

    port link-type trunk

    port trunk permit vlan all

    port link-aggregation group 1

    interface GigabitEthernet1/0/2

    port link-type trunk

    port trunk permit vlan all

    port link-aggregation group 1

    interface WLAN-ESS 1

    port access vlan 30

    wlan ap NEW1F-1 model WA2100 id 01 \AP名 model 型号 ID

    serial-id 210235A22WC11B009812 \SN码

    radio 1 \绑定射频卡

    channel 1 \信道号

    radio-policy 1 \绑定射频

    service-template 1 \绑定服务模板

    radio enable \使能射频

    ip route-static 0.0.0.0 0.0.0.0198.198.198.254 \单臂路由

    dhcp server forbidden-ip137.78.6.254 \定义各DHCP禁止分配的IP

    dhcp server forbidden-ip198.198.199.254

    dhcp server forbidden-ip198.198.199.253

    dhcp enable

    user-interface con 0

    user-interface vty 0 4

    authentication-mode scheme

    user privilege level 3

    ############################SW部分配置########################

    oap connect slot 0 \进入SW模式

    sys

    sysname SW_span_NEW \配置设备名称

    vlan 1 \创建VLAN

    vlan 20

    vlan 30

    local-user admin \ telnet、web配置

    password s admin

    authorization-attribute level 3

    service-type telnet

    interface Bridge-Aggregation1 \创建LACP并trunk

    port link-type trunk

    port trunk permit vlan all

    interface Vlan-interface1

    ip address 198.198.198.146255.255.255.0

    interface Vlan-interface20

    ip address 198.198.199.251255.255.255.0

    interface GigabitEthernet1/0/1 \创建下联端口

    port link-type trunk

    port trunk permit vlan all

    poe enable

    interface GigabitEthernet1/0/2

    port link-type trunk

    port trunk permit vlan all

    poe enable

    interface GigabitEthernet1/0/3 \创建测试端口

    port access vlan 30

    poe enable

    interface GigabitEthernet1/0/4

    port access vlan 30

    poe enable

    interface GigabitEthernet1/0/29 \与AC部分连接端口(29、30)

    port link-type trunk

    port trunk permit vlan all

    port link-aggregation group 1

    #

    interface GigabitEthernet1/0/30

    port link-type trunk

    port trunk permit vlan all

    port link-aggregation group 1

    #

    #

    ip route-static 137.78.6.0255.255.255.0 198.198.198.147

    user-interface aux 0

    user-interface vty 0 4

    authentication-mode scheme

    user-interface vty 5 15

    return

关键字