R1# conf t
R1(config)# int g0/0
R1(config-if)#ip addr 10.1.2.3 255.255.255.0
R1(config-if)#no shutdown
show interfaces g0/0
^Displays details about g0/0
show interfaces description
Int Status Protocol Description
G0/0 up up WJ3B
G0/1 up up WJ4B
G0/2 up up WJ5C
G0/3 down admin-down WJ6B
show ip route
^View routing table
R1(config)#do show ip route
^From config mode
ip route dest-addr mask next-hop
ip route 192.168.4.0 255.255.255.0 192.168.13.3
ip route dest-addr mask exit-int
ip route 192.168.1.0 255.255.255.0 g0/0
ip route 0.0.0.0 0.0.0.0 203.0.113.2
^Sets default gateway to 203.0.113.2
[These are my notes from Jeremy's excellent CCNA course which can be viewed here.]