Professional Documents
Culture Documents
Ccna 3 Enterprise Networking Security and Automation: Name: Badic Alexandru Theodor Date: 19.08.2021
Ccna 3 Enterprise Networking Security and Automation: Name: Badic Alexandru Theodor Date: 19.08.2021
Hello packet
Database description packet
Link-state request LSR packet
Link-state update LSU packet
Link-state acknowledgment packet LSAK
Adjacency database lists all the neighbor routers to which a router established comumnications
Show ip ospf
Link-state database list information about all routers in network command; show ip ospf command
Forwarding Database information about how the packets are forwarded; show ip route
Router ospf 1
Network ... wild card mask
An area of OSPF is when all the routers have the same information stored in their database
Routers initially exchange TYPE 2 dbd packets – a dbd packet is an abreviated LSDB
The receiving routers – uses a type 3 LSR packet to request more information about an entry in the DBD.
Type 4 – is used to reply an LSR packet
Type 5 – is used to ack the receipt of an type 4 packet.
1- Router LSA
2- Checks for database sync between routers
3- Summary LSA’s (or 4)
5- Autonomous System external system LSAs
6- Multicast OSPF
7- Defined for not so stubby areas
8- External attributes LSA for border Gateway Protocol
1.1.2 Algorithm
A router builds a topology table by using results of calculations based on Dijkstra’s algorithm. The
shortest-path first (SPF) algorithm is based on the cumulative cost to reach a destination. The SPF
algorithm creates an SPF tree by placing each router at the root of the tree and calculating the shortest
path to each node, as shown in Figure 1-2. The SPF tree is then used to calculate the best routes. OSPF
places the best routes into the forwarding database, which is used to make the routing table.
1.1.3 Database
Adjacency database
Lists all neighbor routers to which a router has established bidirectional communication. This table is
unique for each router. Can be viewed using the show ip ospf neighbor command.
Link-state Database
Lists information about all other routers in the network. This database represents the network topology.
All routers within an area have identical LSDBs. Can be viewed using the show ip ospf database
command.
Forwarding database
Lists routes generated when an algorithm is run on the link-state database. The routing table of each
router is unique and contains information on how and where to send packets to other routers. Can be
viewed using the show ip route command.
COMMANDS TIME:
Down
Init state
Two-way state
Exstartstate
Exchange state
Loading
Full