核心交换机配置:
[HX]dis current-configuration
sysname HX
undo info-center enable
vlan batch 999
interface Vlanif999
ip address 10.0.0.1 255.255.255.0
interface MEth0/0/1
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/3
port link-type access
port default vlan 999
interface NULL0
ip route-static 192.168.0.0 255.255.0.0 10.0.0.2
user-interface con 0
user-interface vty 0 4
return
先把 AC控制器有线侧配好用命令行:
dhcp enable
http server enable
vlan batch 10 20 100 999
interface Vlanif10
ip address 192.168.10.1 255.255.255.0
dhcp select interface
dhcp server dns-list 8.8.8.8
interface Vlanif20
ip address 192.168.20.1 255.255.255.0
dhcp select interface
dhcp server dns-list 8.8.8.8
interface Vlanif100
ip address 192.168.100.1 255.255.255.0
dhcp select interface
interface Vlanif999
ip address 10.0.0.2 255.255.255.0
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/2
port link-type trunk
port trunk pvid vlan 100
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20 100
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 100
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20 100
ip route-static 0.0.0.0 0.0.0.0 10.0.0.1
AC无线侧采用web配置,命令行太复杂:
选择源IP,并且AP上线不认证:
AC上查看两个ap是否上线:
新建立ssid名称:
修改ap名称并加入到ssid