华为交换机配置dhcp

全局模式:
[Huawei]dhcp enable
[Huawei]ip pool vlan10
[Huawei-ip-pool-vlan10]network 192.168.1.0 mask 255.255.255.0
[Huawei-ip-pool-vlan10]gateway-list 192.168.1.254
[Huawei-ip-pool-vlan10]dns-list 8.8.8.8
[Huawei-ip-pool-vlan10]lease day 3
[Huawei-ip-pool-vlan10]excluded-ip-address 192.168.1.253
[Huawei]interface Vlanif 10 //进入vlan10内
[Huawei]ip add 192.168.1.254 24
[Huawei-Vlanif10]dhcp select global

接口模式:
[Huawei]dhcp enable
[Huawei]interface Vlanif 10
[Huawei-Vlanif10]ip add 192.168.10.1 24
[Huawei-Vlanif10]dhcp select interface
[Huawei-Vlanif10]dhcp server lease day 8
[Huawei-Vlanif10]dhcp server dns-list 8.8.8.8
[Huawei-Vlanif10]dhcp server excluded-ip-address 192.168.10.200 192.168.10.254

华为交换机配置dhcp

上一篇:C# 窗体控件输入框大写


下一篇:【C#】妈妈再也不用担心自定义控件如何给特殊类型的属性添加默认值了,附自定义GroupBox一枚