vlan 20
dhcp enable
interface Vlanif 20
#vlanif接口配置地址
ip address 192.168.20.1 255.255.255.0
#选择基于接口的dhcp类型
dhcp select interface
#配置DNS
dhcp server dns-list 114.114.114.114
huawei配置DHCP
最新推荐文章于 2024-06-24 17:52:23 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
vlan 20
dhcp enable
interface Vlanif 20
#vlanif接口配置地址
ip address 192.168.20.1 255.255.255.0
#选择基于接口的dhcp类型
dhcp select interface
#配置DNS
dhcp server dns-list 114.114.114.114