Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 172.2.2.0 255.255.255.0 192.168.1.2
Router(config)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#