enable configure terminal ! interface e0/0 ip address 1.1.1.1 255.255.255.0 no shutdown ! ip route 0.0.0.0 0.0.0.0 1.1.1.2 ! end write memory