华为S3700交换机DHCP 配置

1、设置交换机名称
system-view
[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地址测试

posted @ 2015-05-27 15:59  优秀的男青年  阅读(1671)  评论(0编辑  收藏  举报