1.配置Cloud
2.配置VLAN、Trunk和IP地址
[SW1]
<Huawei>system-view
[Huawei]sysname SW1
[SW1]vlan batch 10 20 101
[SW1]int g 0/0/2
[SW1-GigabitEthernet0/0/2]port link-type access
[SW1-GigabitEthernet0/0/2]port default vlan 10
[SW1-GigabitEthernet0/0/2]int g 0/0/3
[SW1-GigabitEthernet0/0/3]port link-type access
[SW1-GigabitEthernet0/0/3]port default vlan 20
[SW1-GigabitEthernet0/0/3]int g 0/0/1
[SW1-GigabitEthernet0/0/1]port link-type trunk
[SW1-GigabitEthernet0/0/1]port trunk pvid vlan 101
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[SW1-GigabitEthernet0/0/1]int vlanif 10
[SW-Vlanif10]ip address 192.168.10.254 24
[SW-Vlanif10]int vlanif 20
[SW-Vlanif20]ip address 192.168.20.254 24
[SW-Vlanif20]int vlanif 101
[SW-Vlanif101]ip address 10.10.12.2 30
[SW-Vlanif101]q
[SW1]ip route-static 192.168.100.0 24 10.10.12.1
[SW1]ip route-static 10.10.11.0 30 10.10.12.1
[AC]
<AC6605>system-view
[AC6605]sysname AC
[AC]vlan batch 88 99 100 101
[AC]int g 0/0/2
[AC-GigabitEthernet0/0/2]port link-type trunk
[AC-GigabitEthernet0/0/2]port trunk pvid vlan 101
[AC-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[AC-GigabitEthernet0/0/2]int g 0/0/3
[AC-GigabitEthernet0/0/3]port link-type access
[AC-GigabitEthernet0/0/3]port default vlan 99
[AC-GigabitEthernet0/0/3]int g 0/0/1
[AC-GigabitEthernet0/0/1]port link-type trunk
[AC-GigabitEthernet0/0/1]port trunk pvid vlan 88
[AC-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[AC-GigabitEthernet0/0/1]int g 0/0/4
[AC-GigabitEthernet0/0/4]port link-type trunk
[AC-GigabitEthernet0/0/4]port trunk pvid vlan 100
[AC-GigabitEthernet0/0/4]port trunk allow-pass vlan all
[AC-GigabitEthernet0/0/4]int vlanif 88
[AC-Vlanif88]ip address 10.10.11.2 30
[AC-Vlanif88]int vlanif 99
[AC-Vlanif99]ip address 192.168.223.100 24
[AC-Vlanif99]int vlanif 100
[AC-Vlanif100]ip address 192.168.100.1 24
[AC-Vlanif100]int vlanif 101
[AC-Vlanif101]ip address 10.10.12.1 30
[AC-Vlanif101]q
[AC]ip route-static 192.168.0.0 16 10.10.12.2
[R1]
<Huawei>system-view
[Huawei]sysname R1
[R1]int g 0/0/0
[R1-GigabitEthernet0/0/0]ip address 10.10.11.1 30
[R1]ip route-static 10.10.12.0 30 10.10.11.2
[R1]ip route-static 192.168.0.0 16 10.10.11.2
[R1]ip route-static 192.168.100.0 24 10.10.11.2
3.启动HTTP
[AC]http server enable
4.登录AC的Web界面
密码默认为admin@huawei.com