User Tools

Site Tools


tech:network:cisco:ospf:default-route:default-route

Cisco: OSPF Default Route

Lab 1: 33735d25-86ec-43c7-9f85-592a20f9ad46 Standard Area, Backbone Area

Topology

Base Configuration

Common Configuration Snippet

R1

R2

R3

Configuration

  • R2
configure terminal
!
ip route 0.0.0.0 0.0.0.0 10.2.3.3
!
router ospf 1
 default-information originate
!
end
  • R2
configure terminal
!
router ospf 1
 default-information originate always
!
end

Verification

Lab 2: a0918911-8c57-4e53-a370-03f6f1a332f3 Stub Area, Totally Stub Area

Topology

Base Configuration

Common Configuration Snippet

R1

R2

R3

R4

Configuration Stub Area 674062ad-462d-468d-bdac-9296b903af56

  • R3, R4
configure terminal
!
router ospf 1
 area 10 stub
exit
!
end

Verification

Configuration Totally Stub 338ed2de-cdff-4fee-b0c1-6e7d3ecd4a1a

  • R3
configure terminal
!
router ospf 1
 area 10 stub no-summary
exit
!
end
  • R4
configure terminal
!
router ospf 1
 area 10 stub
exit
!
end

Verification

Lab 3: 639be0cf-910e-4c8d-a4d5-02965847d699 NSSA, Totally NSSA

Topology

Base Configuration

Common Configuration Snippet

R1

R2

R3

R4

R5

R6

Configuration NSSA 95df8cec-1ea6-43a8-a562-2af62e0bc32e

  • R3(ABR)
configure terminal
!
router ospf 1
 area 10 nssa default-information-originate
exit
!
end
  • R4, R5
configure terminal
!
router ospf 1
 area 10 nssa
exit
!
end

Verification

Configuration Totally NSSA 0c5cae00-64b7-4820-ba80-88c3a397470f

  • R3(ABR)
configure terminal
!
router ospf 1
 area 10 nssa no-summary
exit
!
end
  • R4, R5
configure terminal
!
router ospf 1
 area 10 nssa
exit
!
end

Verification

Verification Commands Sumamry

show running-config | section router ospf 1
show ip route ospf
show ip route rip
show ip route eigrp
show ip ospf database
show ip ospf database summary
show ip ospf database summary 0.0.0.0
show ip ospf database external
show ip ospf database nssa-external
ospf.lsa in {3 5 7} && ospf.lsa.id == 0.0.0.0

References

tech/network/cisco/ospf/default-route/default-route.txt · Last modified: 2020/02/17 14:34 by wnoguchi