The incorporation of mechanically interlocked structures into polymer backbones has been shown to confer remarkable functionalities to materials. In this work, a [c2]daisy chain unit based on dibenzo-24-crown-8 is covalently embedded into the backbone of a polymer network, resulting in a synthetic material possessing remarkable shape-memory properties under thermal control. By decoupling the molecular structure into three control groups, we demonstrate the essential role of the [c2]daisy chain crosslinks in driving the shape memory function. The mechanically interlocked topology is found to be an essential element for the increase of glass transition temperature and consequent gain of shape memory function. The supramolecular host-guest interactions within the [c2]daisy chain topology not only ensure robust mechanical strength and good network stability of the polymer, but also impart the shape memory polymer with remarkable shape recovery properties and fatigue resistance ability. The incorporation of the [c2]daisy chain unit as a building block has the potential to lay the groundwork for the development of a wide range of shape-memory polymer materials.