Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Route Redistribution OSPF

Seed Metrics

Administrative DistanceSource ProtocolMetricRoute Type
110BGP1E2
110Anything Else20E2

Redistribution

The subnets keyword is required, or OSPF will work in a classful way.

redistribute source-protocol [subnets] [metric metric] [metric-type {1 | 2}] [tag 0-4294967295] [route-map route-map-name]

Distance

Modify the AD for different kinds of LSAs.

distance ospf {external | inter-area | intra-area} ad

Modify the AD for specific routes.

distance ad source-ip source-ip-wildcard [acl-number | acl-name]

References

Redistribute OSPF Among Different OSPF Processes - Cisco

B. Edgeworth and R. Lacoste, CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide, 2nd ed. Indianapolis, IN: Cisco Press, 2023.

Last Modified • Monday, June 8, 2026. 4:54 pm UTC+00:00 • Commit: 2fdbb8d