AP1:
<Huawei>undo terminal monitor
<Huawei>system-view
[Huawei]display system-information
MAC Address : 00:e0:fc:d0:67:70 改成00e0-fcd0-6770
DHCP:
<Huawei>undo terminal monitor
<Huawei>system-view
[Huawei]sysname DHCP
[DHCP]dhcp enable
ip pool vlan100
gateway-list 192.168.100.254
network 192.168.100.0 mask 255.255.255.0
dns-list 114.114.114.114
option 43 sub-option 1 ip-address 192.168.200.1
interface GigabitEthernet0/0/0
ip address 192.168.100.1 255.255.255.0
dhcp select global
[DHCP]ip route-static 192.168.200.0 24 192.168.100.254
SW1:
<Huawei>undo terminal monitor
<Huawei>system-view
[Huawei]sysname SW1
[SW1]vlan batch 100 200
interface GigabitEthernet0/0/2
port link-type access
port default vlan 100
interface