华为ensp配置无线AC+AP多个SSID信号

拓扑图

1.要求
(1) 使用ENSP软件,根据拓扑图搭建网络环境(建议AC使用6605型号,AP使用6050型号,交换机使用3700型号,不影响评分)或者导入topo文件。
(2)AP管理vlan100使用地址段100.100.100.0/24段,用户AP1使用vlan10地址段为192.168.10.0/24,用户AP2使用vlan20地址段为192.168.20.0/24。
(3) AP1广播SSID名称为scitc, AP2广播SSID名称为jiwang, 都使用直接转发(本地转发)模式,密码无要求。(域管理模板、ssid 模板、安全管理模板、组名都属于自定义项)
(4) STA1 搜索无线网络,并连接上无线网络。

配置

<AC6605>sy
Enter system view, return user view with Ctrl+Z.
[AC6605]sy AC1
[AC1]un inf en
Info: Information center is disabled.
[AC1]vlan batch 100 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[AC1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[AC1]inter vlan 100
[AC1-Vlanif100]ip add 100.100.100.1 24
[AC1-Vlanif100]dhcp select interface
[AC1-Vlanif100]q
[AC1]int vlan 10
[AC1-Vlanif10]ip add 192.168.10.1 24
[AC1-Vlanif10]dhcp select interface
[AC1-Vlanif10]dhcp server dns-list 61.139.2.69 218.6.200.139
[AC1-Vlanif10]q
[AC1]int vlan 20
[AC1-Vlanif20]ip add 192.168.20.1 24
[AC1-Vlanif20]dhcp select interface
[AC1-Vlanif20]dhcp server dns-list 61.139.2.69 218.6.200.139
[AC1-Vlanif20]q
[AC1]capwap source int vlan 100
[AC1]wlan
[AC1-wlan-view]regulatory-domain-profile name domain
[AC1-wlan-regulate-domain-domain]country-code cn
Info: The current country code is same with the input country code.
[AC1-wlan-regulate-domain-domain]wlan
[AC1-wlan-view]ssid-profile name ssid1
[AC1-wlan-ssid-prof-ssid1]ssid scitc
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-ssid-prof-ssid1]ssid-profile name ssid2
[AC1-wlan-ssid-prof-ssid2]ssid jiwang
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-ssid-prof-ssid2]security-profile name security1
[AC1-wlan-sec-prof-security1]security wpa-wpa2 psk pass-phrase 11111111 aes
Warning: The current password is too simple. For the sake of security, you are a
dvised to set a password containing at least two of the following: lowercase let
ters a to z, uppercase letters A to Z, digits, and special characters. Continue?
 [Y/N]:y
[AC1-wlan-sec-prof-security1]security-profile name security2
[AC1-wlan-sec-prof-security2]security wpa-wpa2 psk pass-phrase 22222222 aes
Warning: The current password is too simple. For the sake of security, you are a
dvised to set a password containing at least two of the following: lowercase let
ters a to z, uppercase letters A to Z, digits, and special characters. Continue?
 [Y/N]:y
[AC1-wlan-sec-prof-security2]q
[AC1-wlan-view]vap-profile name vap1
[AC1-wlan-vap-prof-vap1]forward-mode direct-forward
[AC1-wlan-vap-prof-vap1]security-profile security1
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-vap1]ssid-profile ssid1
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-vap1]service-vlan vlan-id 10
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-vap1]vap-profile name vap2
[AC1-wlan-vap-prof-vap2]forward-mode direct-forward
[AC1-wlan-vap-prof-vap2]security-profile security2
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-vap2]ssid-profile ssid2
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-vap2]service-vlan vlan-id 20
Info: This operation may take a few seconds, please wait.done.
[AC1-wlan-vap-prof-vap2]q
[AC1-wlan-view]wlan
[AC1-wlan-view]ap-group name apg1
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC1-wlan-ap-group-apg1]regulatory-domain-profile domain
Warning: Modifying the country code will clear channel, power and antenna gain c
onfigurations of the radio and reset the AP. Continue?[Y/N]:y
[AC1-wlan-ap-group-apg1]vap-profile vap1 wlan 1 radio 0
Info: This operation may take a few seconds, please wait...done.
[AC1-wlan-ap-group-apg1]vap-profile vap1 wlan 1 radio 1  
Info: This operation may take a few seconds, please wait...done.
[AC1-wlan-ap-group-apg1]ap-group name apg2
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC1-wlan-ap-group-apg2]regulatory-domain-profile domain
onfigurations of the radio and reset the AP. Continue?[Y/N]:y
[AC1-wlan-ap-group-apg2]vap-profile vap2 wlan 1 radio 0
Info: This operation may take a few seconds, please wait...done.
[AC1-wlan-ap-group-apg2]vap-profile vap2 wlan 1 radio 1
Info: This operation may take a few seconds, please wait...done.
[AC1-wlan-ap-group-apg2]ap-id 0 ap-mac 00e0-fc6c-1ad0
[AC1-wlan-ap-0]ap-name area1
[AC1-wlan-ap-0]ap-group apg1
Warning: This operation may cause AP reset. If the country code changes, it will
 clear channel, power and antenna gain configurations of the radio, Whether to c
ontinue? [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC1-wlan-ap-0]ap-id 2 ap-mac 00e0-fc17-6ae0
[AC1-wlan-ap-2]ap-name area2
[AC1-wlan-ap-2]ap-group apg2
Warning: This operation may cause AP reset. If the country code changes, it will
 clear channel, power and antenna gain configurations of the radio, Whether to c
ontinue? [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC1-wlan-ap-2]inter g0/0/1
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 10 20
[AC1-GigabitEthernet0/0/1]port trunk pvid vlan 100
[AC1-GigabitEthernet0/0/1]
<AC1>sa

                                                        //解释有空再写

 代码:

sy
sy AC1
un inf en
vlan batch 100 10 20
dhcp enable
inter vlan 100
ip add 100.100.100.1 24
dhcp select interface
q
int vlan 10
ip add 192.168.10.1 24
dhcp select interface
dhcp server dns-list 61.139.2.69 218.6.200.139
q
int vlan 20
ip add 192.168.20.1 24
dhcp select interface
dhcp server dns-list 61.139.2.69 218.6.200.139
q
capwap source int vlan 100
wlan
regulatory-domain-profile name domain
country-code cn
wlan
ssid-profile name ssid1
ssid scitc
ssid-profile name ssid2
ssid jiwang
security-profile name security1
security wpa-wpa2 psk pass-phrase 11111111 aes
y
security-profile name security2
security wpa-wpa2 psk pass-phrase 22222222 aes
y
q
vap-profile name vap1
forward-mode direct-forward
security-profile security1
ssid-profile ssid1
service-vlan vlan-id 10
vap-profile name vap2
forward-mode direct-forward
security-profile security2
ssid-profile ssid2
service-vlan vlan-id 20
q
wlan
ap-group name apg1
regulatory-domain-profile domain
y
vap-profile vap1 wlan 1 radio 0
vap-profile vap1 wlan 1 radio 1  
ap-group name apg2
regulatory-domain-profile domain
y
vap-profile vap2 wlan 1 radio 0
vap-profile vap2 wlan 1 radio 1

ap-id 0 ap-mac 00e0-fc6c-1ad0
ap-name area1
ap-group apg1
y
ap-id 2 ap-mac 00e0-fc17-6ae0
ap-name area2
ap-group apg2
y
inter g0/0/1
port link-type trunk
port trunk allow-pass vlan 100 10 20
port trunk pvid vlan 100

LSW1

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sy LSW1
[AC1]un inf en
Info: Information center is disabled.
[AC1]vlan batch 100 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[AC1]inter e0/0/1
[AC1-Ethernet0/0/1]port link-type trunk
[AC1-Ethernet0/0/1]port trunk allow-pass vlan 100 10 20
[AC1-Ethernet0/0/1]port trunk pvid vlan 100
[AC1-Ethernet0/0/1]inter e0/0/2
[AC1-Ethernet0/0/2]port link-type trunk
[AC1-Ethernet0/0/2]port trunk allow-pass vlan 100 10 20
[AC1-Ethernet0/0/2]port trunk pvid vlan 100
[AC1-Ethernet0/0/2]inter e0/0/3
[AC1-Ethernet0/0/3]port link-type trunk
[AC1-Ethernet0/0/3]port trunk allow-pass vlan 100 10 20
[AC1-Ethernet0/0/3]port trunk pvid vlan 100
[AC1-Ethernet0/0/3]
<AC1>sa 

 sy
sy LSW1
un inf en
vlan batch 100 10 20
inter e0/0/1
port link-type trunk
port trunk allow-pass vlan 100 10 20
port trunk pvid vlan 100
inter e0/0/2
port link-type trunk
port trunk allow-pass vlan 100 10 20
port trunk pvid vlan 100
inter e0/0/3
port link-type trunk
port trunk allow-pass vlan 100 10 20
port trunk pvid vlan 100

  • 15
    点赞
  • 27
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值