If it is possible to configure a routing protocol in layer3 switch. If it is possible, could any one share me the document containing configuration details for layer3 switch.
It is possible, but it's going to depend on what protocol you'll want to use and the IOS version supporting that protocol. For example, BGP isn't supported in all ios versions so you'd need one that supported it if you wanted bgp support.
What model switch do you have?
We planed for migration and now we have a plan to buy layer 3 switch which can handle 100 hosts(or even low, we can use older switches too for extra hosts) so could you suggest which layer3 switch model can best for us and we are using OSPF as a routing protocol.
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
For about 100 hosts on the "same" device, something like a dual stack of 3750-X with 48 ports might work for you with the IP Services feature set.
If you already have some L2 switches, you might use a single 3560-X, with 24 ports that has connections to the L2 switches.
Yes you can use OSPF on layer 3 switch. But you need to assign IP address first to an interface.
(config)# ip routing
(config)# int f0/1 (or whichever port you're using)
(config-if)# no switchport
(config-if)# ip address x.x.x.x y.y.y.y
(config-if)# no shut
Here is the link for OSPF configuration
please rate if this helps.