Assembly 2 parts

I've created 2 parts - a base with a simple hole and a short pole (just a circle with boss extrude) which will be as a button.

I want the button to be in the hole so it could go up and down. down - untill the pole/button will face the end of the hole. up - untill x cm from the end of the hole.

So, I chose the circels (the circle of the hole and the circle of the pole) to be concernic and now the pole can moves in the axis but can't stop it when it comes to the end of the hole.

How can I do that?

Thanks

SolidworksAssemblies