The elephant walks near a gate made of metal poles.
An elephant walking around in a closure. 
A large elephant is walking by some bars.
The elephant is walking all alone behind the fence

An elephant walks around on the inside of an enclosure.