(Route redistribution)

1. Route redistribution

11

, , , . , OSPF, EIGRP, . - ( - ), , OSPF, , EIGRP, .

Route redistribution, . , Route redistribution, : ; BGP, , , .

.

, , , OSPF EIGRP , . . CENTR OSPF (AS) EIGRP AS, Route redistribution.


Seed Metrics

, Route redistribution , , . , OSPF cost-, bandwidth, EIGRP , bandwidth delay, () ( Maximum Transmission Unit (MTU) ). , ?

, , , , AS, AS. , Route redistribution, seed metric. seed metrics, .

seed metrics

, , , , OSPF 20, , OSPF BGP, 1. , RIP, EIGRP seed metrics . , , , . BGP, , , (IGP), .


, , , , , , , . . , Route redistribution ( ). , :

CENTR OFF1 OSPF OFF2 EIGRP. show ip route, CENTR:

show ip rout

OFF1, OFF2 , CENTR Route redistribution. show ip route, OFF1 OFF2:

show ip route,   OFF1  OFF2

Route redistribution CENTR. , seed metric , EIGRP, , - seed metric .

CENTR# conf term
Enter configuration commands, one per line. End with CNTL/ Z
CENTR(config)#router ospf 1
CENTR(config-router)#redistribute eigrp 1
CENTR(config-router)#exit
CENTR(config)#router eigrp 1
CENTR(config-router)# redistribute ospf 1
CENTR(config-router)#end
CENTR#

redistribute , . , , redistribute eigrp 1 , subnets , , OSPF. , , subnets :

  subnets

subnets Cisco IOS. , Cisco IOS, subnets, redistribute. IP- OFF1 OFF2, , ( ).

 IP-   OFF1  OFF2  IP-   OFF1  OFF2

, CENTR , EIGRP OSPF, OFF1. , , OFF1, 20, seed metrics OSPF. OFF2 , , CENTR EIGRP, seed metrics EIGRP ( ). OFF2.

, , EIGRP. , ..

  1. , .
  2. redistribute.
  3. route-map

, , EIGRP.

CENTR#configuration terminal
Enter configuration commands, one per line. End with CNTL/Z.
CENTR (config)#router eigrp 1
CENTR (config-router)#default-metric ?
1-4294967295 Bandwidth in Kbits per second
CENTR (config-router)#default-metric 1000000 ?
0-4294967295 delay metric in 10 microsecond units
CENTR(config-router)#default-metric 1000000 1 ?
0-255 Reliability metric where 255 is 100% reliable
CENTR (config-router)#default-metric 1000000 1 255 ?
1-255 Effective bandwidth metric (Loading) where 255 is 100% loaded
CENTR (config-router)#default-metric 1000000 1 255 1 ?
1-65535 Maximum Transmission Unit metric of thenpath
CENTR (config-router)#default-metric 1000000 1 255 1 1500
CENTR (config-router)#end 
CENTR#

- , , EIGRP. default-metric 1000000 1 255 1 1500. default-metric OSPF, , default-metric 30, 30 OSPF , OSPF. default-metric EIGRP. IP- OFF2, , OSPF EIGRP.

  IP-   OFF

! OFF2 , OSPF AS. , - EIGRP, - EX, .

Route Redistribution , redistribute, , . , default-metric redistribute CENTR redistribute, , .

CENTR#configuration terminal
Enter configuration commands, one per line. End with CNTL/Z.
CENTR(config)#router eigrp 1
CENTR(config-router)#no default-metric 1000000 1 255 1 1500
CENTR(config-router)#no redistribute ospf 1
CENTR(config-router)#redistribute ospf 1 ?
Match Redistribution of OSPF routes
metric Metric for redistributed routes
route-map Route map reference
cr
CENTR(config-router)#redistribute ospf 1 metric 1000000 1 255 1 1500
CENTR(config-router)#end
CENTR#

OFF2, , :

   OFF2

Route Redistribution (route-map). . , (, IP- ) . route-map , redistribute. , redistribute CENTR, route-map, redistribute, (route-map):

CENTR#configuration terminal
Enter configuration commands, one per line. End with CNTL/Z.
CENTR(config)#router eigrp 1
CENTR(config-router)#no redistribute ospf 1 metric 1000000 1 255 1 1500
CENTR(config-router)#exit
CENTR(config)#route-map SET-ETRIC-DEMO
CENTR(config-route-map)#set metric 1000000 1 255 1 1500
CENTR(config-route-map)#exit
CENTR(config)#router eigrp 1
CENTR(config-router)#redistribute ospf 1 route-map SET-ETRIC-DEMO
CENTR(config-router)#end
CENTR#

, redistribute, SET-METRIC-DEMO. route-map, . . , route-map , . redistribute. , IP- OFF2:

 IP-  OFF

OSPF E1 E2 Routes

Route redistribution, IP- OFF1:

OSPF E1  E2 Routes

, , OSPF, IP- OFF1 E2. E1, , - OSPF AS . , ?

E2 , , , , (ASBR). , , OSPF , ASBR, , , ASBR . OSPF, , , External Type 2 (E2).

E1 , , ASBR, , ASBR. , 1, , , . E1 , , OFF1 ASBR (. . CENTR), EIGRP OSPF AS (. . CENTR).

E1 OSPF E2, redistribute. redistribute OSPF CENTR, redistribute, , , External Type 1 (E1) .

CENTR#configuration terminal
Enter configuration commands, one per line. End with CNTL/Z.
CENTR(config)#router ospf 1
CENTR(config-router)#no redistribute eigrp 1 subnets
CENTR(config-router)#redistribute eigrp 1 metric-type ?
1 Set OSPF External  1 metrics
2 Set OSPF External  2 metrics
CENTR(config-router)#redistribute eigrp 1 metric-type 1
CENTR(config-router)#end
CENTR#show

IP- OFF1, , redistribute, CENTR.

IP-   OFF1 , , OSPF, E1, E2. , , , . , CENTR EIGRP- OSPF, OSPF 20.

OSPF 1, OFF1 CENTR. , E1, OFF1 , OFF1, 20, OFF1, CENTR, 1, 21.

, , . , .


50% Merion Academy