Configure cisco ospf IPv4

Configure cisco ospf on a cisco router with IPv4

For this example I used the following setup

cisco_schema
R1

1. enable
* User Privilege Mode*

2. conf t
*Configuration Mode*

3. interface serial0/1/0
*Interface Serial0/1/0 configuration mode*
4. ip address 10.0.5.2 255.255.255.0
5. no shutdown
6. exit

*Back in Configuration Mode*

7. interface serial0/1/1
*Interface Serial0/1/1 configuration mode*
8. ip address 10.0.7.2 255.255.255.0
9. no shutdown
10. exit

*Back in Configuration Mode*

11. router ospf 1
*Router OSPF Configuration Mode*
12. network 10.0.5.0 0.0.0.255 area 0
13. network 10.0.7.0 0.0.0.255 area 0
14. exit

*Back in Configuration Mode*

R2

1. enable
* User Privilege Mode*

2. conf t
*Configuration Mode*

3. interface serial0/1/0
*Interface Serial0/1/0 configuration mode*
4. ip address 10.0.5.1 255.255.255.0
5. no shutdown
6. exit

*Back in Configuration Mode*

7. interface serial0/1/1
*Interface Serial0/1/1 configuration mode*
8. ip address 10.0.6.2 255.255.255.0
9. no shutdown
10. exit

*Back in Configuration Mode*

11. router ospf 1
*Router OSPF Configuration Mode*
12. network 10.0.5.0 0.0.0.255 area 0
13. network 10.0.6.0 0.0.0.255 area 0
14. exit

*Back in Configuration Mode*

R3

1. enable
* User Privilege Mode*

2. conf t
*Configuration Mode*

3. interface serial0/1/0
*Interface Serial0/1/0 configuration mode*
4. ip address 10.0.7.1 255.255.255.0
5. no shutdown
6. exit

*Back in Configuration Mode*

7. interface serial0/1/1
*Interface Serial0/1/1 configuration mode*
8. ip address 10.0.6.1 255.255.255.0
9. no shutdown
10. exit

*Back in Configuration Mode*

11. router ospf 1
*Router OSPF Configuration Mode*
12. network 10.0.6.0 0.0.0.255 area 0
13. network 10.0.7.0 0.0.0.255 area 0
14. exit

*Back in Configuration Mode*

1 comment

  1. sooraj k p August 22, 2014 at 06:17 Reply

    good one….!

Leave a Reply

Your email address will not be published. Required fields are marked *

-->