Vous êtes sur la page 1sur 4

CCNA # OSPF #

Open Shortest Path First


OSPF
CCNA OSPF
1- OSPF is an open standard link state routing protocol
router Link State
EIGRP Cisco
2- Classless support
routing update subnet mask
3- Has Unlimited hop count
) ( RIP- IGRP EIGRP Router
4- Administrative Distance = 110
110 Router
OSPF Router EIGRP
)5- Metric : Coast = 10^8 / band width (bits
bandwidth fast Ethernet port
100 mg bit / sec
metric
Metric = 10^8 / 100.000.000 = 1
6- Router ID
Router IP Address
Loopback IP Address Router ID Cisco
interface IP address loopback interface


) 7- Designated router ( DR
OSPF Router
:
40 ospf ospf router 1-

priority 40 router 2-
show ip ospf interface
1
priority = 0 router
Router ID priority routers 3-
routers routing update Designated Router

routing update network traffic

looping
) 8- Backup designated router ( BDR


9- Every time a router sends an update, it sends it to the DR and BDR on the
multicast address 224.0.0.6
routers routing update

routing update 224.0.0.6
routers
10- The DR will then send the update out to all other routers in the area, to the
multicast address 224.0.0.5

routers 224.0.0.5 routing update

Area routers
Area
11- OSPF divide the Network to Areas to reduce traffic on the network and CPU
usage
CCNA Area OSPF
backbone Area Area 0
Area 0
routing information Backbone Area
non-backbone Area
processor network traffic
Routers
Area routers Router
Area Area

12- The OSPF Protocol can operate securely between routers, optionally using a
clear-text password or using MD5 to authenticate
routers OSPF
MD5 router
password routing update
password
13- Support Load Balancing: 4 paths by default & 6 paths max
4
4
14- sends periodic updates every 30 minutes
Link state 30 full routing table
) Link state DataBase ( LSDB

15- doesn't support IPX and AppleTalk Like EIGRP


IPX&AppleTalk EIGRP
16- Hello & Dead intervals
OSPF Hello packets Link Network
Router

broadcast non-broadcast multi-access
router router
down

Show ip ospf interface

OSPF Lab

After gives routers ip address for each interface


Configure R1 :
R1>enable
R1#config t
R1(config)# router ospf 1
R1(config-router)# network 10.1.1.0 0.0.0.255 area 0
R1(config-router)# network 10.1.2.0 0.0.0.255 area 0
R1(config-router)#^z
R1#
Configure R2 :
R2>enable
R2#config t
R2(config)# router ospf 1
R2(config-router)# network 10.1.1.0 0.0.0.255 area 0
R2(config-router)# network 10.1.3.0 0.0.0.255 area 0
R2(config-router)#^z
R2#
Configure R3 :

R3>enable
R3#config t
R3(config)# router ospf 1
R3(config-router)# network 10.1.2.0 0.0.0.255 area 0
R3(config-router)# network 10.1.3.0 0.0.0.255 area 0
R3(config-router)#^z
R3#
After enable OSPF at each router we will use some of commands to detect ospf operation
Router # show ip ospf database
routers Router ID
Router # show ip ospf interface


1- Interface IP address
2- Area assignment
3- Process ID
4- Router ID
5 Network type
6- Cost
7- Priority
8- DR / BDR election information ( if applicable )
9- Hello and Dead timer intervals
10- Adjacent neighbor information

Vous aimerez peut-être aussi