Robot Vacuum virtual walls

How do you go about setting up virtual walls?