华为S3700交换机DHCP 配置
1、设置交换机名称
[Huawei]sysname dhcp01
[dhcp01]
2、配置管理IP
[dhcp01]interface Vlanif 1
[dhcp01-Vlanif1]ip address 1.1.1.2 255.255.255.0
[dhcp01-Vlanif1]quit
3、启动DHCP
[dhcp01]dhcp enable
4、进入VLAN接口
[dhcp01]interface Vlanif 1
[dhcp01-Vlanif1]dhcp select interface
[dhcp01-Vlanif1]dhcp server excluded-ip-address 1.1.1.9
[dhcp01-Vlanif1]dhcp server dns-list 1.1.1.2
[dhcp01-Vlanif1]quit
5、PC获取ip地址测试