PG1X WIKI

My Knowledge Base

User Tools

Site Tools


tech:network:cisco:routing:redistribution:redistribution

Cisco: Route Redistribution

My Learning topics result may not be accurate because of my misunderstanding!!!!

I STRONGLY RECOMMENDED to read the Official Documents(cisco.com a.k.a. CCO) and RFCs, any other books, sites.

And learn foundation, create lab yourself, configure, and verify any topics.

TODO

  1. EIGRP <-> OSPF redistribution
  2. RIPv2 <-> OSPF redistribution
  3. Redstribute connected, static route to EIGRP, OSPF networks
  4. OSPF match redistribution
  5. IBGP to IGP redistribution

Base Lab 1: Route Redistribution Lab 03959dad-c1e6-4fe4-92e2-455870d6e318

Topology

Base Configuration

Common Configuration Snippet

R1

R2

R3

Configuring redistribution 8abe981a-6736-447f-ad39-97c8ab5062e5

  • R2
configure terminal
!
router eigrp 1
 ! redistribute from ospf to eigrp
 ! bandwidth[kbps], delay[10us], reliability 100%, load 1, MTU 1500 
 redistribute ospf 1 metric 1000000 1 255 1 1500
 ! or
 !default-metric 1000000 1 255 1 1500
exit
!
router ospf 1
 ! redistribute from eigrp to ospf
 redistribute eigrp 1 subnets metric 1
 ! or
 !default-metric 1
exit
!
end

Verification

Lab 2: Route Redistribution Lab RIPv2 <-> OSPF b0bb0d37-4325-499f-85a7-cd48c477fce4

Topology

Base Configuration

Common Configuration Snippet

R1 Console Log

R2 Console Log

R3

Coifiguring RIPv2 <-> OSPF Route Redistribution bea93dc8-3e81-4f9f-85a1-b69d111a32d2

  • R2
configure terminal
!
router rip
 ! redistribute from ospf to eigrp
 redistribute ospf 1
 default-metric 3
exit
!
router ospf 1
 ! redistribute from eigrp to ospf
 redistribute rip subnets
 default-metric 1
exit
!
end

Verification

R1 Console Log

R2 Console Log

R3 Console Log

show ip route rip
show ip route ospf
ping 172.16.1.3 source 172.16.0.2
ping 172.16.1.3 source 10.0.0.2
ping 10.0.1.3 source 172.16.0.2
ping 10.0.1.3 source 10.0.0.2

Base Lab 3: Route Redistribution Lab 28ac572e-de9b-4b5b-a35f-c6676cd3b6fc

  1. Lab ID: 28ac572e-de9b-4b5b-a35f-c6676cd3b6fc
redistribute static
redistribute connected
redistribute <protocol> match
redistribute <protocol> metric-type

Topology

Base Configuration

Common Configuration Snippet

R1

R2

R3

R4

R5

R6

R7

R8

R9

R10

R11

Configure Route Redistribution connected, static 4c562ecd-3843-4743-b140-0cfb0fd854a7

  • R1
configure terminal
!
router eigrp 2
 redistribute connected
 redistribute static
exit
!
router ospf 1
 redistribute connected subnets
 redistribute static subnets
exit
!
end

Verification

Configure OSPF match route redistribution b3bb2459-3748-4aae-ab09-f296c120e261

change to redistribute E2 or E1

  • R1
configure terminal
!
router ospf 1
 redistribute static subnets
 ! or
 !redistribute static subnets metric-type 1
exit
!
end

redistribute N2 or N1

  • R3
configure terminal
!
router ospf 1
 ! redistribute from eigrp to ospf
 redistribute eigrp 1 subnets
 ! or
 !redistribute eigrp 1 subnets metric-type 1
exit
!
router eigrp 1
 ! redistribute from ospf to eigrp
 redistribute ospf 1
 ! bandwidth[kbps], delay[10us], reliability 100%, load 1, MTU 1500 
 ! IMPORTANT!!!!!!!
 default-metric 1000000 1 255 1 1500
!
end

R1 redistribute internal or E2 route only.

  • R1
configure terminal
!
router eigrp 2
 ! redistribute from ospf to eigrp
 redistribute ospf 1 match internal
 ! or
 !redistribute ospf 1 match external 2
 ! IMPORTANT!!!!!!!
 ! bandwidth[kbps], delay[10us], reliability 100%, load 1, MTU 1500 
 default-metric 1000000 1 255 1 1500
exit
!
router ospf 1
 ! redistribute from eigrp to ospf
 redistribute eigrp 2 subnets
exit
!
end

R2 redistribute internal, E1 or E2 or N1 or N2 route only.

  • R2
configure terminal
!
router rip
 ! redistribute from ospf to rip
 redistribute ospf 1
 ! or
 redistribute ospf 1 match internal
 ! or
 !redistribute ospf 1 match nssa-external 2
 ! or
 !redistribute ospf 1 match nssa-external 1
 ! or
 !redistribute ospf 1 match external 2
 ! or
 !redistribute ospf 1 match external 1
 ! IMPORTANT!!!!!!!
 default-metric 1
exit
!
router ospf 1
 ! redistribute from rip to ospf
 redistribute rip subnets
exit
!
end

Verification

Optional: Configure IBGP to IGP redistribution b4bf028e-3e0d-4d50-9c6f-90c86d631def

  • R2
configure terminal
!
router ospf 1
 ! redistribute from bgp to ospf
 redistribute bgp 65001
exit
!
router rip
 ! redistribute from bgp to rip
 redistribute bgp 65001
exit
!
router bgp 65001
 bgp redistribute-internal
 redistribute ospf 1
 redistribute rip
!
end
clear ip bgp *

External route seems not redistributed…

I can't understand…

Verification

References

tech/network/cisco/routing/redistribution/redistribution.txt · Last modified: 2020/05/02 17:46 by wnoguchi