865redistributeThe redistribute command configures RIP protocol to redistribute routes from the specifiedsource protocol/routers. If the source protocol is OSPF, there are five possible match options.Syntaxredistribute ospf [metricinteger] [match [internal] [external 1] [external 2][nssa-external 1] [nssa-external 2]]no redistribute ospfredistribute { static | connected} [metricinteger]• metricinteger — Specifies the metric to use when redistributing the route. Range: 0-15.• match internal — Adds internal matches to any match types presently being redistributed.• match external 1 — Adds routes imported into OSPF as Type-1 external routes into anymatch types presently being redistributed.• match external 2 — Adds routes imported into OSPF as Type-2 external routes into anymatch types presently being redistributed.• match nssa-external 1 — Adds routes imported into OSPF as NSSA Type-1 external routesinto any match types presently being redistributed.• match nssa-external 2 — Adds routes imported into OSPF as NSSA Type-2 external routesinto any match types presently being redistributed.• static — Redistributes static routes.• connected — Redistributes directly-connected routes.Default Configurationmetricinteger — not configuredmatch — internalCommand ModeRouter RIP Configuration mode.User GuidelinesThis command has no user guidelines.Exampleconsole(config-router)#redistribute ospf metric 10 match nssa-external 1console(config-router)#redistribute connected metric 1