ip routing
Turn on IPv4 routing on a multilayer switch, so its SVIs route between VLANs.
Example
SW-Core(config)# ip routingRouters route by default; a switch does not. Without this line the SVIs come up and answer pings inside their own VLAN, but nothing crosses between VLANs — and 'show ip route' on the switch prints only 'Default gateway is …'. 'no ip routing' turns it off again.
Don't just read it — type ip routing in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "ip routing" command do?
Turn on IPv4 routing on a multilayer switch, so its SVIs route between VLANs.
What's the common gotcha with "ip routing"?
Routers route by default; a switch does not. Without this line the SVIs come up and answer pings inside their own VLAN, but nothing crosses between VLANs — and 'show ip route' on the switch prints only 'Default gateway is …'. 'no ip routing' turns it off again.
Example of "ip routing"
SW-Core(config)# ip routing