1. 三层交换机
    Switch(config)#ip dhcp pool xingzheng   #建立dhcp地址池并命名#
    Switch(dhcp-config)#network 202.197.193.0 255.255.255.0 #定义该地址池的地址段#
    Switch(dhcp-config)#default-router 202.197.193.254  #定义该地址池的默认网关#
    Switch(dhcp-config)#dns-server 202.197.192.10    #定义该地址池的dns服务器#
    

     

  2. 服务器