I am a bit confused about some details in this post. You tell us that the provider has given you a /30 subnet. That would have only 2 routable addresses. If you really have addresses 2 through 126 then it would need to be a /25.
You asked about configuring the switch to provide DHCP and here is the basic parts of what you need. You would need to make appropriate adjustments, especially in term of the address space being used.
! reserve addresses 1 through 10
ip dhcp excluded-address 10.1.1.1 10.1.1.10
! configure the dhcp pool
ip dhcp pool pool1
network 10.1.1.0 255.255.255.0
default-router 10.1.1.1
dns-server 10.1.1.51
HTH
Rick
HTH
Rick