Huawei WLAN configuration-Layer 3 intercommunication uses direct forwarding

Huawei WLAN configuration-Layer 3 intercommunication uses direct forwarding
1.连通接入交换机
[sw-jr]vlan batch 10 to 13
[sw-jr-GigabitEthernet0/0/1]port link-type trunk
[sw-jr-GigabitEthernet0/0/1]port trunk pvid vlan 10
[sw-jr-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 to 12
[sw-jr-GigabitEthernet0/0/2]port link-type trunk
[sw-jr-GigabitEthernet0/0/2]port trunk pvid vlan 10
[sw-jr-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 to 12
[sw-jr-GigabitEthernet0/0/3]port link-type trunk
[sw-jr-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[sw-jr-GigabitEthernet0/0/4]port link-type access
[sw-jr-GigabitEthernet0/0/4]port default vlan 13
2.连通汇聚交换机
[sw-hj]vlan batch 10 to 13
[sw-hj-GigabitEthernet0/0/1]port link-type trunk
[sw-hj-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[sw-hj-GigabitEthernet0/0/2]port link-type trunk
[sw-hj-GigabitEthernet0/0/2]port trunk allow-pass vlan all
3. Connect to AC
[AC]vlan batch 10 to 13
[AC-GigabitEthernet0/0/1]port link-type trunk
[AC-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[AC-Vlanif13]ip add 10.1.13.13 24
[AC]ip route-static 0.0.0.0 0.0.0.0 10.1.13.1 //Configure the default route pointing to the gateway
4. Aggregation switch as the gateway
[sw-hj-Vlanif10]ip add 10.1.10.1 24
[ sw-hj-Vlanif11]ip add 10.1.11.1 24
[sw-hj-Vlanif12]ip add 10.1.12.1 24
[sw-hj-Vlanif13]ip add 10.1.13.1 24
5. The aggregation switch acts as a DHCP server
[sw-hj] dhcp enable
[sw-hj]ip pool ap-pool
[sw-hj-ip-pool-ap-pool]gateway-list 10.1.10.1
[sw-hj-ip-pool-ap-pool]network 10.1.10.0 mask 24
[sw-hj-ip-pool-ap-pool]dns-list 114.114.114.114
[sw-hj-ip-pool-ap-pool]option 43 sub-option 3 ascii 10.1.13.13 //指定AC的ip
[sw-hj]ip pool ssid-c-1
[sw-hj-ip-pool-ssid-c-1]network 10.1.10.0 mask 24
[sw-hj-ip-pool-ssid-c-1]gateway-list 10.1.11.1
[sw-hj-ip-pool-ssid-c-1]network 10.1.11.0 mask 24
[sw-hj-ip-pool-ssid-c-1]dns-list 114.114.114.114
[sw-hj-ip-pool-ssid-c-1]ip pool ssid-c-2
[sw-hj-ip-pool-ssid-c-2]gateway-list 10.1.12.1
[sw-hj-ip-pool-ssid-c-2]dns-list 114.114.114.114
[sw-hj-ip-pool-ssid-c-2]network 10.1.12.0 mask 24
[sw-hj]ip pool PC
[sw-hj-ip-pool-pc]gateway-list 10.1.13.1
[sw-hj-ip-pool-pc]network 10.1.13.0 mask 24
[sw-hj-ip-pool-pc]dns-list 114.114.114.114
[sw-hj-ip-pool-pc]excluded-ip-address 10.1.13.13
[sw-hj-Vlanif10]dhcp select global
[sw-hj-Vlanif11]dhcp select global
[sw-hj-Vlanif12]dhcp select global
[sw-hj-Vlanif13]dhcp select global
Huawei WLAN configuration-Layer 3 intercommunication uses direct forwarding
Huawei WLAN configuration-Layer 3 intercommunication uses direct forwarding
6.配置AP上线
[AC]wlan
[AC-wlan-view]ap-group name ap-group1 //创建AP组
[AC]capwap source interface Vlanif 13 //AC管理地址
[AC-wlan-view]regulatory-domain-profile name domain1
[AC-wlan-regulate-domain-domain1]country-code CN
[AC-wlan-view]ap-group name ap-group1
[AC-wlan-ap-group-ap-group1]regulatory-domain-profile domain1
[AC-wlan-view]ap-mac 00e0-fc6e-2bb0 ap-id 0
[AC-wlan-ap-0]ap-group ap-group1
[AC-wlan-view]ap-mac 00e0-fc3c-3f60 ap -id 1
[AC-wlan-ap-1]ap-group ap-group1
Huawei WLAN configuration-Layer 3 intercommunication uses direct forwarding
7. Configure WLAN service delivery
[AC-wlan-view] security-profile name security-c //Create a security profile
[AC-wlan-view ]ssid-profile name c-1 //Create SSID template
[AC-wlan-ssid-prof-c-1]ssid c-1 //Bind ssid
[AC-wlan-view]ssid-profile name c-2
[ AC-wlan-ssid-prof-c-2]ssid c-2
[AC-wlan-view]vap-profile name c-1-vap //Create a vap template
[AC-wlan-vap-prof-c-1- vap]forward-mode direct-forward //The forwarding mode is direct forwarding
[AC-wlan-vap-prof-c-1-vap]service-vlan vlan-id 11 //Bind service vlan
[AC-wlan-vap- prof-c-1-vap]security-profile security-c //Bind security profile
[AC-wlan-vap-prof-c-1-vap]ssid-profile c-1 //Bind ssid profile
[AC-wlan-view]vap-profile name c-2-vap
[AC-wlan-vap-prof-c-2-vap]forward-mode direct-forward
[AC-wlan-vap-prof-c-2- vap]service-vlan vlan-id 12
[AC-wlan-vap-prof-c-2-vap]security-profile security-c
[AC-wlan-vap-prof-c-2-vap]ssid-profile c- 2
[AC-wlan-view]ap-group name ap-group1 //Enter AP group
[AC-wlan-ap-group-ap-group1]vap-profile c-1-vap wlan 1 radio all
[AC-wlan- ap-group-ap-group1]vap-profile c-2-vap wlan 2 radio all
Huawei WLAN configuration-Layer 3 intercommunication uses direct forwarding
8. Verify that
STA1 connection channel 1 and STA2 connection channel 149
Huawei WLAN configuration-Layer 3 intercommunication uses direct forwarding
Huawei WLAN configuration-Layer 3 intercommunication uses direct forwarding
can ping each other and can be verified by capturing packets

Guess you like

Origin blog.51cto.com/13699905/2602624