配置3750作为DHCP服务器   
  /*VLAN 2可用地址池和相应参数的配置,有几个VLAN要设几个地址池*/
  Switch(Config)Ip Dhcp Pool Test01
  /*设置可分配的子网*/
  Switch(Config-pool)Network 192.168.2.0 255.255.255.0
  /*设置DNS服务器*/
  Switch(Config-pool)Dns-server 192.168.2.10
  /*设置该子网的网关*/
  Switch(Config-pool)Default-router 192.168.2.1
  
  /*配置VLAN 3所用的地址池和相应参数*/
  Switch(Config)Ip Dhcp Pool Test02
  Switch(Config-pool)Network 192.168.3.0 255.255.255.0
  Switch(Config-pool)Dns-server 192.168.2.10
  Switch(Config-pool)Default-router 192.168.3.1
  
  /*配置VLAN 4所用的地址池和相应参数*/
  Switch(Config)Ip Dhcp Pool Test03
  Switch(Config-pool)Network 192.168.4.0 255.255.255.0
  Switch(Config-pool)Dns-server 192.168.2.10
  Switch(Config-pool)Default-router 192.168.4.1
  
  第六步:设置DHCP保留不分配的地址
  Switch(Config)Ip Dhcp Excluded-address 192.168.2.2 192.168.2.10
  Switch(Config)Ip Dhcp Excluded-address 192.168.3.2 192.168.3.10
  Switch(Config)Ip Dhcp Excluded-address 192.168.4.2 192.168.4.10