华为AC6005配置实例

更新时间:2024-05-22 22:26:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

华为无线控制器

AC6005 配置(直接转发)

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

Switch的配置文件

#

sysname Switch #

vlan batch 100 to 101 #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk pvid vlan 100

port trunk allow-pass vlan 100 to 101 port-isolate enable group 1 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 100 to 101 #

return

Router的配置文件

#

sysname Router #

vlan batch 101 #

interface Vlanif101

ip address 10.23.101.2 255.255.255.0 #

interface GigabitEthernet1/0/0 port link-type trunk

port trunk allow-pass vlan 101 #

return

AC的配置文件

#

sysname AC #

vlan batch 100 to 101 #

dhcp enable #

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

interface Vlanif100

ip address 10.23.100.1 255.255.255.0 dhcp select interface #

interface Vlanif101

ip address 10.23.101.1 255.255.255.0 dhcp select interface #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk allow-pass vlan 100 to 101 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 101 #

capwap source interface vlanif100 # wlan

security-profile name wlan-net security wpa-wpa2 psk pass-phrase %^%#m\~7.[`^6RWdzwCy16hJj/Mc!,}s`X*B]}A%^%# aes ssid-profile name wlan-net ssid wlan-net

vap-profile name wlan-net service-vlan vlan-id 101 ssid-profile wlan-net

security-profile wlan-net

regulatory-domain-profile name default rrm-profile name default

calibrate auto-channel-select disable calibrate auto-txpower-select disable ap-group name ap-group1 radio 0

vap-profile wlan-net wlan 1 radio 1

vap-profile wlan-net wlan 1

ap-id 0 type-id 35 ap-mac 60de-4476-e360 ap-sn 210235554710CB000042 ap-name area_1

ap-group ap-group1 radio 0

channel 20mhz 6 eirp 127 radio 1

channel 20mhz 149 eirp 127 #

return

华为无线控制器

AC6005 配置(隧道转发)

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

Switch的配置文件

#

sysname Switch #

vlan batch 100 #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk pvid vlan 100

port trunk allow-pass vlan 100 port-isolate enable group 1 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 100 #

return

Router的配置文件

#

sysname Router #

vlan batch 101 #

interface Vlanif101

ip address 10.23.101.2 255.255.255.0 #

interface GigabitEthernet1/0/0 port link-type trunk

port trunk allow-pass vlan 101 #

return

AC的配置文件

#

sysname AC #

vlan batch 100 to 101 #

dhcp enable #

interface Vlanif100

ip address 10.23.100.1 255.255.255.0

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

dhcp select interface #

interface Vlanif101

ip address 10.23.101.1 255.255.255.0 dhcp select interface #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk allow-pass vlan 100 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 101 #

capwap source interface vlanif100 # wlan

security-profile name wlan-net security wpa-wpa2 psk pass-phrase %^%#m\~7.[`^6RWdzwCy16hJj/Mc!,}s`X*B]}A%^%# aes ssid-profile name wlan-net ssid wlan-net

vap-profile name wlan-net forward-mode tunnel

service-vlan vlan-id 101 ssid-profile wlan-net

security-profile wlan-net

regulatory-domain-profile name default rrm-profile name default

calibrate auto-channel-select disable calibrate auto-txpower-select disable ap-group name ap-group1 radio 0

vap-profile wlan-net wlan 1 radio 1

vap-profile wlan-net wlan 1

ap-id 0 type-id 35 ap-mac 60de-4476-e360 ap-sn 210235554710CB000042 ap-name area_1

ap-group ap-group1 radio 0

channel 20mhz 6 eirp 127 radio 1

channel 20mhz 149 eirp 127 #

return

配置旁挂二层组网直接转发

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

SwitchA的配置文件

#

sysname SwitchA #

vlan batch 100 to 101 #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk pvid vlan 100

port trunk allow-pass vlan 100 to 101 port-isolate enable group 1 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 100 to 101 #

return

SwitchB的配置文件

#

sysname SwitchB #

vlan batch 100 to 101 #

dhcp enable #

interface Vlanif101

ip address 10.23.101.1 255.255.255.0 dhcp select interface

dhcp server gateway-list 10.23.101.2 #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk allow-pass vlan 100 to 101 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 100 #

interface GigabitEthernet0/0/3

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

port link-type trunk

port trunk allow-pass vlan 101 #

return

Router的配置文件

#

sysname Router #

vlan batch 101 #

interface Vlanif101

ip address 10.23.101.2 255.255.255.0 #

interface GigabitEthernet1/0/0 port link-type trunk

port trunk allow-pass vlan 101 #

return

AC的配置文件

#

sysname AC #

vlan batch 100 to 101 #

dhcp enable #

interface Vlanif100

ip address 10.23.100.1 255.255.255.0 dhcp select interface #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk allow-pass vlan 100 #

capwap source interface vlanif100 # wlan

security-profile name wlan-net security wpa-wpa2 psk pass-phrase %^%#m\~7.[`^6RWdzwCy16hJj/Mc!,}s`X*B]}A%^%# aes ssid-profile name wlan-net ssid wlan-net

vap-profile name wlan-net service-vlan vlan-id 101 ssid-profile wlan-net

security-profile wlan-net

regulatory-domain-profile name default

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

rrm-profile name default

calibrate auto-channel-select disable calibrate auto-txpower-select disable ap-group name ap-group1 radio 0

vap-profile wlan-net wlan 1 radio 1

vap-profile wlan-net wlan 1

ap-id 0 type-id 35 ap-mac 60de-4476-e360 ap-sn 210235554710CB000042 ap-name area_1

ap-group ap-group1 radio 0

channel 20mhz 6 eirp 127 radio 1

channel 20mhz 149 eirp 127 #

return

配置旁挂二层组网隧道转

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

SwitchA的配置文件

#

sysname SwitchA #

vlan batch 100 #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk pvid vlan 100

port trunk allow-pass vlan 100 port-isolate enable group 1 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 100 #

return

SwitchB的配置文件

#

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

sysname SwitchB #

vlan batch 100 to 101 #

dhcp enable #

interface Vlanif101

ip address 10.23.101.1 255.255.255.0 dhcp select interface

dhcp server gateway-list 10.23.101.2 #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk allow-pass vlan 100 #

interface GigabitEthernet0/0/2 port link-type trunk

port trunk allow-pass vlan 100 to 101 #

interface GigabitEthernet0/0/3 port link-type trunk

port trunk allow-pass vlan 101 #

return

Router的配置文件

#

sysname Router #

vlan batch 101 #

interface Vlanif101

ip address 10.23.101.2 255.255.255.0 #

interface GigabitEthernet1/0/0 port link-type trunk

port trunk allow-pass vlan 101 #

return

AC的配置文件

#

sysname AC #

vlan batch 100 to 101 #

dhcp enable #

interface Vlanif100

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

ip address 10.23.100.1 255.255.255.0 dhcp select interface #

interface GigabitEthernet0/0/1 port link-type trunk

port trunk allow-pass vlan 100 to 101 #

capwap source interface vlanif100 # wlan

calibrate enable schedule time 03:00:00 security-profile name wlan-net security wpa-wpa2 psk pass-phrase %^%#m\~7.[`^6RWdzwCy16hJj/Mc!,}s`X*B]}A%^%# aes ssid-profile name wlan-net ssid wlan-net

vap-profile name wlan-net forward-mode tunnel

service-vlan vlan-id 101 ssid-profile wlan-net

security-profile wlan-net

regulatory-domain-profile name default

dca-channel 5g channel-set 149,153,157,161 air-scan-profile name wlan-airscan scan-channel-set dca-channel rrm-profile name wlan-rrm

radio-2g-profile name wlan-radio2g rrm-profile wlan-rrm

air-scan-profile wlan-airscan radio-5g-profile name wlan-radio5g rrm-profile wlan-rrm

air-scan-profile wlan-airscan ap-group name ap-group1 radio 0

radio-2g-profile wlan-radio2g vap-profile wlan-net wlan 1 radio 1

radio-5g-profile wlan-radio5g vap-profile wlan-net wlan 1

ap-id 0 type-id 35 ap-mac 60de-4476-e360 ap-sn 210235554710CB000042 ap-name area_1

ap-group ap-group1 #

return

本文来源:https://www.bwwdw.com/article/p2t7.html

Top