Switch(config)#ip dhcp excluded-address 192.168.10.1 192.168.10.10
Switch(config)#ip dhcp pool name
Switch(dhcp-config)#network 192.168.10.0 255.255.255.0
Switch(dhcp-config)#default-router 192.168.10.1
Switch(dhcp-config)#dns-server 1.1.1.1
Switch(dhcp-config)#lease 3 12 15
更多【编程技术-DHCP配置命令】相关视频教程:www.yxfzedu.com