Getting close is usually enough. Walk up to a trap and it activates. Failing that, a tail swipe will set one off, or you can jump onto it.
Any of the three works, so use whichever suits your position. The tail swipe is the safest at range, and jumping is fine when you are already moving past.
For context, this comes from someone who picked up an Xbox 360 and the game a couple of days before writing, so it is fresh experience rather than a memorised guide. The short version is that the traps are not fussy about how you set them off.
If your goal is the opposite, and you want them out of the way, that is a different process involving spoons and avoiding the dog. Triggering and disabling are not the same task.