华为路由交换 AC AP 三层关联

 

[core]port-group 1
[core-port-group-1]group-member g0/0/2 to g0/0/4
[core-port-group-1]port link-type trunk
[core-port-group-1]port trunk allow-pass vlan all

[core]int g0/0/1
[core-GigabitEthernet0/0/1]port link-type access
[core-GigabitEthernet0/0/1]port default vlan 100
[core]int g0/0/5
[core-GigabitEthernet0/0/5]port link-type access 
[core-GigabitEthernet0/0/5]port default vlan 500

[core]int vlan 500
[core-Vlanif500]ip add 192.168.254.1 30
[core-Vlanif500]description toAR1

[core]ospf 1 router-id 1.1.1.1
[core-ospf-1]area 0
[core-ospf-1-area-0.0.0.0]network 0.0.0.0 255.255.255.255

 

[AC6605]vlan 100
[AC6605-vlan100]int g0/0/1
[AC6605-GigabitEthernet0/0/1]port link-type trunk 
[AC6605-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[AC6605]ip route-static 0.0.0.0 0 10.10.10.254
[Huawei]sysname LSW2
[LSW2]vlan batch 100 101 102 200 210
[LSW2]int g0/0/1
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[LSW2-GigabitEthernet0/0/1]int g0/0/2
[LSW2-GigabitEthernet0/0/2]port link-type trunk
[LSW2-GigabitEthernet0/0/2]port trunk pvid vlan 101
[LSW2-GigabitEthernet0/0/2]port trunk allow-pass vlan all

[Huawei]sysname LSW3
[LSW3]vlan batch 100 101 102 200 210
[LSW3]int g0/0/1
[LSW3-GigabitEthernet0/0/1]port link-type trunk
[LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[LSW3-GigabitEthernet0/0/1]int g0/0/2
[LSW3-GigabitEthernet0/0/2]port link-type trunk
[LSW3-GigabitEthernet0/0/2]port trunk pvid vlan 102
[LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan all

AR1
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.254.2 30
[Huawei-GigabitEthernet0/0/0]int loo 0
[Huawei-LoopBack0]ip add 2.2.2.2 32
[Huawei-LoopBack0]ospf
[Huawei-ospf-1]area 0
[Huawei-ospf-1-area-0.0.0.0]network 0.0.0.0 255.255.255.255

[core]dhcp enable

AC 100

[core]int vlan 100
[core-Vlanif100]ip address 10.10.10.254 24

AP 101 102

[core-Vlanif100]int vlan 101
[core-Vlanif101]ip address 172.16.101.254 24
[core-Vlanif101]dhcp select interface
[core-Vlanif101]dhcp server option 43 sub-option 3 ascii 10.10.10.250

[core-Vlanif101]int vlan 102
[core-Vlanif102]ip address 172.16.102.254 24
[core-Vlanif102]dhcp select interface
[core-Vlanif102]dhcp server option 43 sub-option 3 ascii 10.10.10.250

业务 200 210

[core-Vlanif102]int vlan 200
[core-Vlanif200]ip address 192.168.200.254 24
[core-Vlanif200]dhcp select interface
[core-Vlanif200]dhcp server dns-list 8.8.8.8

[core-Vlanif200]int vlan 210
[core-Vlanif210]ip address 192.168.210.254 24
[core-Vlanif210]dhcp select interface
[core-Vlanif210]dhcp server dns-list 8.8.8.8

[core-Vlanif210]int vlan 500
[core-Vlanif500]ip address 192.168.254.1 30
[core-Vlanif500]description toAR1

登录AC Web界面 https://10.10.10.250

跟随快速配置AC对AP的MAC地址进行绑定

完成之后就会看见两个AP会发出信号了,然后用设备进行连接测试。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值