-
. WIKIMERIONET
Merion Mertics , ,

CRM

5

Open Shortest Path First. OSPF. , , .

  OSPF:

OSPF LSA Types

(Areas) - OSPF. , , .

( 0), , . , . , . , .


(Backbone Non-Backbone Areas)

OSPF. 1 . , , ip ospf. 1 .

1: (Backbone Non-Backbone Areas)

1:

ATL Router:

ATL#conf t
Enter configuration commands, one per line. End with CNTL/Z. 
ATL(config)#interface fa0/0
ATL(config-if)#ip ospf 1 area 0
ATL(config-if)#interface  lo0
ATL(config-if)#ip ospf 1 area 0 
ATL(config-if)#end
ATL#

ATL2 Router:

ATL2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
ATL2 (config)#interface fa0/0
ATL2 (config-if)#ip ospf 1 area 0
ATL2 (config-if)#interface
*Mar 27 22 :03 :27.815 : %0SPF-5-ADJCHG : Process 1, Nbr 1 .1.1 .1 on
FastEthernet0/0 from LOADING to FULL, Loading Done 
ATL2 (config-if)#interface fa1/0
ATL2 (config-if)#ip ospf 1 area 1
ATL2 (config-if)#end
ATL2#

ORL Router: 

ORL# conf t
Enter configuration commands, one per line. End with CNTL/Z.
ORL( config )#interface fa1/0
ORL(config-if)#ip ospf 1	area 1 
ORL(config-if)#end
ORL#
*Mar 27 22 :04:21.515: %0SPF-5-ADJCHG: Process 1, Nbr 10.23.23.2
on FastEthernet1/0 from LOADING to FULL , Loading Done

, . Area Border Router (ABR) ATL2 .

, . , , OSPF- . :

ATL2# show ip ospf neighbor
show ip ospf neighbor

1.1.1.0/24 ATL ( ATL ATL2). ORL, OSPF. , LSA , , OSPF.

show ip route ospf
show ip route ospf

, OSPF, LSA.

show ip ospf database
show ip ospf database

Type 1 LSA. 1. net link- Type 2 LSA. (DR). , Type 3 LSA. , ABR . , loopback (1.1.1.0) (10.12.12.0).

: (loopback interface) - 32- . , ip ospf network point-to-point loopback. loopback OSPF , .

. OSPF. loopback interfaces. ATL, EIGRP , OSPF.

ATL#conf t
Enter configuration commands, one per line. End with CNTL/Z . 
ATL (config)#interface lo10
ATL (config-if)#ip address 192.168.10.1 255.255.255.0
ATL (config-if)#interface loopback 20
ATL (config-if)#ip address 192.168.20.1 255.255.255.0
ATL (config if)#router eigrp 100
ATL (config-router)#network 192 .168.10.1 0.0.0.0
ATL (config-router)#network 192.168.20.1 0.0.0.0
ATL (config-router)#router ospf 1
ATL (config-router)#redistribute eigrp 100 subnets metric 1000
ATL (config-router)#end
ATL#

ORL. -, :

show ip route ospf
show ip route ospf

, E2. OSPF 2. , , ASBR ( ) OSPF. Type 1, , . , OSPF:

show ip ospf database
show ip ospf database

, Type 4 LSA (summary ASB link state), (1.1.1.1) ASBR (ATL). Type 5 LSA, .

OSPF. stubby areas, totally stubby areas, not so stubby areas (NSSA), totally NSSA.