Step 1: Given data.
Diameter = 4 cm → Radius = 2 cm, \; Length = 20 cm.
Step 2: Formula for volume of cylinder.
Volume $V = \pi r^2 h$
\[
V = \pi (2)^2 (20) = \pi \times 4 \times 20 = 80\pi \, \text{cm}^3
\]
Step 3: Conclusion.
Hence, the volume of the solid pipe = $80\pi \, \text{cm}^3$.