Routing
ip route <network> <mask> <next-hop>
Add a static route. Supports next-hop IP or exit-interface, optional AD.
Works on: RouterMode: config
Example
R1(config)# ip route 10.0.0.0 255.255.255.0 192.168.1.2Run this command live
Don't just read it — type ip route <network> <mask> <next-hop> 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 route <network> <mask> <next-hop>" command do?
Add a static route. Supports next-hop IP or exit-interface, optional AD.
Example of "ip route <network> <mask> <next-hop>"
R1(config)# ip route 10.0.0.0 255.255.255.0 192.168.1.2