User Tools

Site Tools


tech:network:cisco:ospf:lsa:lsa

Cisco: OSPF LSA Types

  • 224.0.0.5 All OSPF Router
  • 224.0.0.6 All OSPF DR/BDR Router

Lab 1: Type 1, 2, 3 9ed25db5-1a2c-4c13-8118-1eddcc352009

Topology

Base Configuration

Common Configuration Snippet

R1

R2

R3

R4

R5

Lab 1-1

Verification

  • show routing table
show ip route ospf

R1 Console Log

R2 Console Log

R3 Console Log

R4 Console Log

R5 Console Log

Type 1 Router LSA
  • show LSA detail
show ip ospf database router
  • Wireshark Display Filter Expression
ospf.lsa.router

R1 Console Log

R2 Console Log

R3 Console Log

R4 Console Log

R5 Console Log

Type 2 Network LSA
  • show LSA detail
show ip ospf database network
  • Wireshark Display Filter Expression
ospf.lsa.network

R1 Console Log

R2 Console Log

R3 Console Log

R4 Console Log

R5 Console Log

Type 3 Summary LSA
  • show LSA detail
show ip ospf database summary
  • Wireshark Display Filter Expression
ospf.lsa.summary

R1 Console Log

R2 Console Log

R3 Console Log

R4 Console Log

R5 Console Log

Lab 2: Type 4, 5 401398c7-6ff3-4061-bced-fe6312935e1f

Topology

Base Configuration

Common Configuration Snippet

R1

R2

R3

R4

Lab 2-1 Type 4, 5 LSA

  • Type 4 ASBR Summary LSA
  • Type 5 ASBR External LSA
Configuration
Verification: Type 4 ASBR Summary LSA
  • show LSA detail
show ip ospf database asbr-summary
  • Wireshark Display Filter Expression
ospf.lsa.asbr
ospf.lsa.asbr || ospf.lsa.router

R1 Console Log

R2 Console Log

R3 Console Log

R4 Console Log

Verification: Type 5 AS External LSA
  • show LSA detail
show ip ospf database external
  • Wireshark Display Filter Expression
ospf.lsa.asext

R1 Console Log

R2 Console Log

R3 Console Log

R4 Console Log

change metric type to E1.

  1. ospf-lsa-lab-2-type5-e1-r2-ge0-2.pcapng
  2. ospf-lsa-lab-2-type5-e1-r3-ge0-2.pcapng
  • R2
configure terminal
!
router ospf 1
 ! redistribute from eigrp to ospf
 redistribute eigrp 1 metric-type 1
exit
!
end

R2 Console Log

R3 Console Log

R4 Console Log

Lab 3: Type 7 c39c45fd-bb64-496a-a807-7268308df097

Topology

Base Configuration

Common Configuration Snippet

R1

R2

R3

R4

Configuration: NSSA Route Redistribution fddcac7e-9062-43d5-9171-98f46d7e3ff3

  1. fddcac7e-ospf-lsa-lab-3-type7-n2-r2-ge0-2.pcapng
  2. fddcac7e-ospf-lsa-lab-3-type7-n2-r3-ge0-2.pcapng
  • R2
configure terminal
!
router ospf 1
 ! redistribute from eigrp to ospf
 ! N2
 redistribute eigrp 1
 ! N1
 !redistribute eigrp 1 metric-type 1
exit
!
end

Verification: Type 7 NSSA AS External LSA

  • Verifying NSSA configuration
show ip protocols | section ospf
  • show LSA detail
! Type 7
show ip ospf database nssa-external
! Type 5
show ip ospf database external
  • Wireshark Display Filter Expression
# Type 7
ospf.lsa.nssa
# Type 5
ospf.lsa.asext
ospf.lsa.nssa || ospf.lsa.asext

this LSA is converted to

on R3.

R1 Console Log

R2 Console Log

R3 Console Log

R4 Console Log

show ip ospf database

Labs

  1. 9ed25db5
  2. 401398c7
  3. c39c45fd

Lab 9ed25db5

  • show LSA brief
show ip ospf database

R1 Console Log

R2 Console Log

R3 Console Log

R4 Console Log

R5 Console Log

Lab 401398c7

  • show LSA brief
show ip ospf database

R2 Console Log

R3 Console Log

R4 Console Log

Lab c39c45fd

  • show LSA brief
show ip ospf database

R2 Console Log

R3 Console Log

R4 Console Log

References

tech/network/cisco/ospf/lsa/lsa.txt · Last modified: 2020/01/13 12:56 by wnoguchi