-
. WIKIMERIONET
Merion Mertics , ,

CRM

OSPF

OSPF

4

, OSPF LSA. OSPF? , .

   OSPF

:


ASBR

ASBR . , .

1. OSPF

1 , . , ORL.

show ip route
show ip route

(E2) 192.168.10.0 192.168.20.0. 192.168.10.0 ASBR ATL.

ATL# configuration terminal
Enter configuration commands , one per line . End with CNTL/Z . 
ATL(config)#access-list 1 deny 192.168.10 .0 0.0.0.255
ATL(config)#access-list 1 permit any 
ATL(config)#router ospf 1
ATL(config-router)#distribute-list 1 out eigrp 100
ATL(config-router)#end 
ATL#

, . , , ORL:

show ip route
show ip route

, 192.168.10.0 ORL.

- summary-address ASBR not-advertise.

. , ATL :

ATL#conf t
Enter configuration commands, one per line. End with CNTL/Z . 
ATL(config)#router ospf 1
ATL(config-router)#summary-address  192 .168.10.0 not-advertise
ATL(config-router)#end
ATL#

ORL 192.168.10.0.

show ip route
show ip route

, route map ASBR. route map .

( ) route map:

ATL#conf t
Enter configuration commands, one per line . End with CNTL/Z . 
ATL(config)#access-list 1 deny 192.168.10.0 0.0.0.255 
ATL(config)#access-list 1 permit any
ATL(config)#route-map  permit 10
ATL(config-route-map)#match ip address 1
ATL(config-route-map)#router ospf 1
ATL(config-router)#redistribute eigrp 100 metric 1000 route-map  subnets
ATL(config-router)#end
ATL#

, ORL .

show ip route
show ip route

ABR

ABR. , :

ATL2#conf t
Enter configuration commands, one per line. End with CNTL/Z. 
ATL2 (config)#ip prefix-list 1 deny 192.168.10.0/24
ATL2 (config)#ip prefix-list 1 permit 0.0.0.0/0 
ATL2 (config)#router ospf 1
ATL2 (config-router )#area 1 filter-list prefix 1 out
ATL2 (config-router )#end
ATL2#
show ip route
show ip route

192.168.10.0, ABR, Type 3. 5 ( !) ASBR.


, OSPF . , .

192.168.10.0. ACL ACL .

, ORL:

ORL#conf t
Enter configuration commands , one per line . End with CNTL/Z .
ORL(config) #access-list 1 deny 192.168.10.0 0.0.0.255
ORL(config) #access-list 1 permit any
ORL(config)#router ospf 1
ORL(config-router)#distribute-list 1 in
ORL(config- router)#end
ORL#

:

show ip route
show ip route