Router Name: Cork
Router >enable
Router #configure terminal
Router (config) #hostname Cork
Cork (config) #enable password cisco
Cork (config) #enable secret class
Cork (config) #line console 0
Cork (config-line) #password cisco
Cork (config-line) #login
Cork (config-line) #line vty 0 4
Cork (config-line) #password cisco
Cork (config-line) #login
Cork (config-line) #exit
Cork (config) #
Cork (config) #interface serial 0
Cork (config-if) #ip address 172.16.12.9 255.255.255.252
Cork (config-if) #clock rate 64000
Cork (config-if) #no shutdown
Cork (config-if) #exit
Cork (config) #
Cork (config) #interface serial 1
Cork (config-if) #ip address 172.16.12.6 255.255.255.252
Cork (config-if) #clock rate 64000
Cork (config-if) #no shutdown
Cork (config-if) #exit
Cork (config) #
Cork (config) #interface ethernet 0
Cork (config-if) #ip address 172.16.12.13 255.255.255.252
Cork (config-if) #no shutdown
Cork (config-if) #exit
Cork (config) #interface ethernet 0/0.1
Cork (config-subif) #encapsulation 802.1q 1
Cork (config-subif) #ip address 192.168.1.1 255.255.255.0
Cork (config-subif) #exit
Cork (config) #interface ethernet 0/0.2
Cork (config-subif) #encapsulation 802.1q 2
Cork (config-subif) #ip address 192.168.2.1 255.255.255.0
Cork (config-subif) #exit
Cork (config) #interface ethernet 0/0.3
Cork (config-subif) #encapsulation 802.1q 3
Cork (config-subif) #ip address 192.168.3.1 255.255.255.0
Cork (config-subif) #exit
Cork (config) #
Cork (config) #router ospf 1
Cork (config-router) #network 172.16.12.9 0.0.0.3 area 0
Cork (config-router) #network 172.16.12.4 0.0.0.3 area 0
Cork (config-router) #network 172.16.8.0 0.0.3.255 area 0
Cork (config-router) #exit
Cork (config) #
Cork (config) #interface serial 0
Cork (config-if) #encapsulation frame-relay IETF
Cork (config-if) #frame-relay lmi-type ansi
Cork (config-if) #exit
Cork (config) #exit
Cork #
Cork #copy running-config startup-config