Answer:
On a Cisco router, the command to enable IP routing (for IPv4) is:

ip routing

To disable it:

no ip routing
First answer by Hilmarz. Last edit by Hilmarz. Contributor trust: 802 [recommend contributor recommended]. Question popularity: 2 [recommend question].