An unbalanced load, broken suspension spring or worn snubber ring can cause the washer tub to bang against the sides of the laundry center washer cabinet.
Stop the washer and redistribute the load if all items inside the washer have worked their way to one side of the spin basket.
If the washer bangs loudly when the load is balanced, unplug the laundry center and check the suspension springs and replace any broken springs.
If the suspension springs are okay, check the snubber ring for damage and replace the snubber ring if it's cracked or worn.