interface Vlanif10
ip address 10.1.10.2 255.255.255.0
dhcp select interface
dhcp server gateway-list 10.1.10.1
dhcp server excluded-ip-address 10.1.10.2
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
ip route-static 0.0.0.0 0.0.0.0 10.1.10.1
# capwap source interface vlanif10
#
wlan
security-profile name home
ssid-profile name home
ssid home vap-profile name home
service-vlan vlan-id 20
ssid-profile home
security-profile home
regulatory-domain-profile name china
ap auth-mode no-auth
ap-group name home
regulatory-domain-profile china
radio 0
vap-profile home wlan 1
radio 1
vap-profile home wlan 1
radio 2
vap-profile home wlan 1
ap-id 0 type-id 56 ap-mac 00e0-fc03-23b0 ap-sn 210235448310BE61073C
ap-name AP1
ap-group home
ap-id 1 type-id 56 ap-mac 00e0-fc56-1c50 ap-sn 210235448310AE275B2D
ap-name AP2
ap-group home
#
#
dhcp enable
#
interface Vlanif10
ip address 10.1.10.1 255.255.255.0
#
interface Vlanif20
ip address 10.1.20.1 255.255.255.0
dhcp select interface
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 10 20
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 10 20
#