CCNA LABS OSPF ROUTING

OSPF ROUTING

OSPF ROUTING

R1

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
Router(config)#ROuter Ospf 10
Router(config-router)#NETwork 192.168.10.0 0.0.0.255 ARea 0
Router(config-router)#NETwork 192.168.20.0 0.0.0.255 ARea 0
00:09:48: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.30.1 on GigabitEthernet0/0 from LOADING to FULL, Loading Done
Router(config-router)#NETwork 192.168.30.0 0.0.0.255 ARea 0
Router(config-router)#NETwork 192.168.20.0 0.0.0.255 ARea 0
00:12:00: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.40.1 on GigabitEthernet0/1 from LOADING to FULL, Loading Done

R2
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.10.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.30.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
Router(config)#ROuter Ospf 10
Router(config-router)#NETwork 192.168.10.0 0.0.0.255 ARea 0
Router(config-router)#NETwork 192.168.20.0 0.0.0.255 ARea 1
00:09:46: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.20.1 on GigabitEthernet0/0 from LOADING to FULL, Loading Done
Router(config-router)#NETwork 192.168.30.0 0.0.0.255 ARea 1
00:14:07: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.30.2 on GigabitEthernet0/1 from LOADING to FULL, Loading Done


R3
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.30.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
Router(config-if)#EX
Router(config)#ROuter Ospf 10
Router(config-router)#NETwork 192.168.30.0 0.0.0.255 ARea 1
00:13:58: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.30.1 on GigabitEthernet0/1 from LOADING to FULL, Loading Done


R4
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.20.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

Router(config-if)#exit
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.40.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Router(config)#ROuter Ospf 10
Router(config-router)#NETwork 192.168.20.0 0.0.0.255 ARea 0
00:11:51: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.20.1 on GigabitEthernet0/
Router(config-router)#NETwork 192.168.40.0 0.0.0.255 ARea 2
00:12:59: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.40.2 on GigabitEthernet0/0 from LOADING to FULL, Loading Done


R5
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.40.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config)#ROuter Ospf 10
Router(config-router)#NETwork 192.168.40.0 0.0.0.255 ARea 2
00:12:50: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.40.1 on GigabitEthernet0/0 from LOADING to FULL, Loading Done

Router(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console

Router#PING 192.168.30.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/2/10 ms

OUTPUT OF OSPF ROUTING

 


Comments

Popular Posts