前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >H3C WX3024E+H3C WA21

H3C WX3024E+H3C WA21

作者头像
py3study
发布2020-01-10 17:07:57
5780
发布2020-01-10 17:07:57
举报
文章被收录于专栏:python3

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

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019/08/02 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档