华为Quidway S5700之VLAN从地址池获取DHCP地址

设VLAN
vlan 80
description vlan_80

设地址池
ip pool 80
这里的80就是VLAN号
gateway-list 200.0.80.1
network 200.0.80.0 mask 255.255.255.0
dns-list 200.0.0.6
lease day 10 hour 0 minute 0

VLAN中选取全局地址
interface Vlanif80
ip address 200.0.80.254 255.255.255.0
dhcp select global

点赞