Defensive embankment or wall around a fort or city (7)
I believe the answer is:
rampart
(Other definitions for rampart that I've seen before include "Pain-relieving drug" , "Bulwark, wall" , "Defensive earthwork" , "Fortified wall" , "barricade" .)