How to Configure OSPF on Cisco Router step by step

EXPERIMENT No-14

OBJECT: Simulation of OSPF Configuration in Cisco Router
REQUIRED SOFTWARE: Cisco Packet Tracer 8.1.1

Network Diagram

Configure this network:

How to Configure OSPF on Cisco Router step by step

Router0

Step-1

Router>ena
Router#config t
Router(config)#hostname R1
R1(config)#
R1(config)#int fa0/0
R1(config-if)#ip address 10.0.0.10 255.0.0.0
R1(config-if)#no shut
R1(config)#int se 2/0
R1(config-if)#ip address 20.0.0.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config-if)#do sho ip route
R1(config-if)#exit

Step-2

R1(config)#router ospf ?
<1-65535> Process ID
R1(config)#router ospf 1 (Process ID)
R1(config-router)#network ?
A.B.C.D Network number
R1(config-router)#network 
R1(config-router)#network 20.0.0.0 ?
A.B.C.D OSPF wild card bits
R1(config-router)#network 20.0.0.0 255.0.0.0 ?
area Set the OSPF area ID
R1(config-router)#network 20.0.0.0 255.0.0.0 area 0
R1(config-router)#network 10.0.0.0 255.0.0.0 area 1
R1(config-router)#exit
R1(config)#

Router1

Step-1

Router>ena 
Router#config t
Router(config)#hostname R2
R2(config)#int fa 0/0
R2(config-if)#ip address 30.0.0.10 255.0.0.0
R2(config-if)#no shut
R2(config-if)#int se 2/0
R2(config-if)#ip address 20.0.0.2 255.0.0.0
R2(config-if)#no shut

Step-2

R2(config)#router ospf 1
R2(config-router)#network 20.0.0.0 255.0.0.0 area 0
R2(config-router)#network 30.0.0.0 255.0.0.0 area 2
R2(config-router)#exit
R2(config)#


Download Cisco Packet Tracer 6.22
Download Cisco Packet Tracer 8.1.1

MCQ-SET 1

Dear Students, This Purpose of Preparation of Computer Network Online Test is in 30 Questions English. There is a collection of questions asked in the CCNA Exam. On answering each question one point will be given. And it is mandatory to bring 50% marks to pass. To start the test you have to click on Start Button. All the questions will have to be answered. Go to Last and click on Finish Button, after which your Result will appear on the screen. After clicking Finish, there will be three option shows below 1.Restart Quiz 2.View Question 3.Show Leader-board. After filling your name and e-mail id by clicking on the show leader-board, click on send, after which your result will be shown.

 

MCQ-SET 2

1. Which OSI Reference Layer is concerned with path determination?




Answer is A)
Network


2. What is the default LMI type for Cisco Routers that are using Frame-Relay?




Answer is C)
Cisco


3. The Internet Control Message Protocol occurs at what layer of the seven layer model?




Answer is B)
Network

4. Which protocol resolves an IP address to a MAC address?




Answer is C)
ARP

5. In regards to the ISDN BRI standard, which channel is used for control?




Answer is D)
B

6. On an ISDN BRI interface, the control channel is the ‘D’ channel. What is the rate of this channel?




Answer is B)
16 Kbps

7. What is the administrative distance for IGRP?




Answer is A)
100

8. The benefits to segmenting with Bridges are which of the following?




Answer is D)
Datagram filtering

9. Bridges work at what layer of the OSI model?




Answer is B)
Data link

10. What is the default switching method for the Cisco 5000 series?




Answer is C)
Store-and-forward

11. You have two Cisco routers setup back-to-back in a lab using DTE/DCE cables. To which router would you add the clockrate command?




Answer is D)
The serial port on the DCE router

12. What is the protocol number for UDP?




Answer is A)
17

13. Which layer is responsible for coordinating communication between systems?




Answer is A)
Session

14. Which protocol will send a message to routers if a network outage or congestion occurs?




Answer is B)
ICMP

15. When would you use ISDN?




Answer is B)
To support applications requiring voice, data, and video

16. Which layer defines bit synchronization?




Answer is D)
Physical

17. Which layer is responsible for synchronizing sending and receiving applications?




Answer is A)
Session

18. Which protocol is used for booting diskless workstations?




Answer is B)
RARP

19. What does a router do with a packet that it does not have a destination network for?




Answer is C)
Drops the packet

20. What is the default interval for SAP updates?




Answer is B)
60 seconds

21. Which command will display the CHAP authentication process as it occurs between two routers in the network?




Answer is A)
debug ppp authentication

22. Which command is required for connectivity in a Frame Relay network if Inverse ARP is not operational?




Answer is C)
frame-relay map

23. Suppose that you have a customer who has a central HQ and six branch offices. They anticipate adding six more branches in the near future. They wish to implement a WAN technology that will allow the branches to economically connect to HQ and you have no free ports on the HQ router. Which of the following would you recommend?




Answer is D)
Frame Relay

24. How should a router that is being used in a Frame Relay network be configured to keep split horizon issues from preventing routing updates?




Answer is B)
Configure a separate subinterface for each PVC with a unique DLCI and subnet assigned to the subinterface.

25. You need to configure a router for a Frame Relay connection to a non-Cisco router. Which of the following commands will prepare the WAN interface of the router for this connection?




Answer is D)
Router(config-if)#encapsulation frame-relay ietf

26. The Acme Corporation is implementing dial-up services to enable remote-office employees to connect to the local network. The company uses multiple routed protocols, needs authentication of users connecting to the network, and since some calls will be long distance, needs callback support. Which of the following protocols is the best choice for these remote services?




Answer is A)
PPP

27. Which WAN encapsulations can be configured on an asynchronous serial connection?




Answer is C)
ATM

28. Which of the following uses ATM as the Data Link layer protocol that’s terminated at what’s known as the DSLAM?




Answer is C)
DSL

29. What two statements about IPv4 and IPv6 addresses are true?




Answer is B)
An IPv4 address is 32 bits long, represented in decimal.

30. Which WAN encapsulations can be configured on an asynchronous serial connection?




Answer is C)
Router1(config-if)# ipv6 ospf 10 area 0.0.0.0

How to Configure EIGRP on Cisco Router step by step
About me