From Teknologisk videncenter
OSPF notes
LSA Types
LSA Types
| Type |
ABR |
Meaning
|
| 1 |
O |
Router Link: Indeholder alle Routerens Links. Floodes til Area
|
| 2 |
O |
Network Link: Floodes fra DR til Area. Indeholder alle Naboer på MA-medie
|
| 3 |
O IA |
Summary Link: Sendes fra Area til Area gennem ABR. Indeholder IA Summaries.
|
| 4 |
O IA |
ASBR summary Link: Sendes fra ASBR’s. Indeholder externe router.
|
| 5 |
O E1/2 |
Externe Router fra ASBR. E1 intern + extern cost. E2 kun extern cost.
|
| 7 |
O E1/2 |
Externe Routes fra ASBR i NSSA
|
Single Area configuration
Example 1
hostname R1
!
interface fastethernet 0/0
ip address 192.168.0.1 255.255.255.0
!
interface fastethernet 0/1
ip address 10.0.1.1 255.255.255.0
!
router ospf 88
network 192.168.0.0 0.0.0.255 area 0
network 10.0.1.0 0.0.0.255 area 0
|
hostname R2
!
interface fastethernet 0/0
ip address 192.168.0.2 255.255.255.0
!
interface fastethernet 0/1
ip address 10.0.2.1 255.255.255.0
!
router ospf 77
network 192.168.0.0 0.0.0.255 area 0
network 10.0.2.0 0.0.0.255 area 0
|
hostname R3
!
interface fastethernet 0/0
ip address 192.168.0.3 255.255.255.0
!
interface fastethernet 0/1
ip address 10.0.3.1 255.255.255.0
!
interface serial 0/0
ip address 172.16.0.1 255.255.255.252
!
router ospf 66
network 192.168.0.0 0.0.0.255 area 0
network 10.0.3.0 0.0.0.255 area 0
network 172.16.0.0 0.0.0.3 area 0
|
hostname R4
!
interface fastethernet 0/1
ip address 10.0.4.1 255.255.255.0
!
interface serial 0/0
ip address 172.16.0.2 255.255.255.252
router ospf 66
network 172.16.0.0 0.0.0.3 area 0
network 10.0.4.0 0.0.0.255 area 0
|
Default administrative Distance
Cisco implementation
Valid for IPv4 and IPv6
Default Administrative Distance (metric)
| Route Source |
Distance
|
| Connected Interface |
0
|
| Static Route out an Interface |
0
|
| Static Route to a next hop |
1
|
| EIGRP summary route |
5
|
| External BGP |
20
|
| Internal EIGRP |
90
|
| IGRP |
100
|
| OSPF |
110
|
| IS-IS |
115
|
| RIP (Version 1 og 2) |
120
|
| EGP |
140
|
| ODR (On Denmand Routing) |
160
|
| External EIGRP |
170
|
| Internal BGP |
200
|
| Ukendt source |
255
|