DHCP配置步骤:
R1(config)#ip dhcp pool vlan10 #DHCP地址池名称
R1(dhcp-config)#network 192.168.1.0 255.255.255.0 #网段
R1(dhcp-config)#dns-server 202.96.134.33 202.96.134.133 #DNS
R1(dhcp-config)#default-router 192.168.1.1 #默认网关
R1(config)#ip dhcp excluded-address 192.168.1.10 192.168.1.20 #预留地址
转载于:https://blog.51cto.com/zengwj1949/1922227