交换机配置
vlan 20
vlan 30
interface Vlan-interface20
ip address 192.168.20.1 255.255.255.0
interface Vlan-interface30
ip address 192.168.30.1 255.255.255.0
dhcp enable
dhcp server ip-pool 2
gateway-list 192.168.20.1
network 192.168.20.0 mask 255.255.255.0
dhcp server ip-pool 3
gateway-list 192.168.30.1
network 192.168.30.0 mask 255.255.255.0
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 20 30
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 20 30
port trunk pvid vlan 20
interface GigabitEthernet1/0/3
port link-type trunk
port trunk permit vlan 20 30
port trunk pvid vlan 20
ac配置
重新配置一个vlan 10 进行本地web页面的正常操作
vlan 10
vlan 20
vlan 30
int vlan 10
ip address 192.168.10.254 255.255.255.0
interface Vlan-interface20
ip address 192.168.20.2 255.255.255.0
interface Vlan-interface30
ip address 192.168.30.2 255.255.255.0
interface GigabitEthernet1/0/1
port link-type access
port access vlan 10
interface GigabitEthernet1/0/0
port link-type trunk
port trunk permit vlan 20 30
wlan service-template 1
ssid h3c
service-template enable
wlan auto-ap enable 自动发现ap
wlan auto-persistent enable 自动固化配置
根据自己的sn号来配置
wlan ap 06e6-b40c-0200 model WA6320-HCL
serial-id H3C_06-E6-B4-0C-02-00 #H3C_06-E6-B4-0C-02-00 为模拟器默认的sn号
vlan 1
radio 1
radio enable
service-template 1 vlan 30
radio 2
radio enable
service-template 1 vlan 30
gigabitethernet 1
#
wlan ap 06e6-b692-0300 model WA6320-HCL
serial-id H3C_06-E6-B6-92-03-00
vlan 1
radio 1
radio enable
service-template 1 vlan 30
radio 2
radio enable
service-template 1 vlan 30
gigabitethernet 1
ac web 页面的配置操作
local-user admin class manage
password simple h3c@123456
service-type telnet terminal http https ssh
authorization-attribute user-role network-admin
quitIP https enable
ip http enable
密码可以配置但是模拟器不支持手机输入密码