Command Reference RIP Commands
Use this command to redistribute external routes in route configuration mode. Use the no form of this
command to restore the default setting.
redistribute { connected | ospf process-id | static } [match { internal | external [ 1|2 ] |
nssa-external [ 1|2 ] }] [ metric metric-value ] [ route-map route-map-name ]
no redistribute { connected | ospf process-id | static } [ match { internal | external [ 1|2 ] |
nssa-external [ 1|2 ] } ] [ metric metric-value ] [ route-map route-map-name ]
Is redistributed from a connected route.
Is redistributed from OSPF and specifies an OSPF instance through
process-id. The value is in the range from 1 to 65535.
Is redistributed from static routes.
Is used when OSPF route redistribution is configured and filters a
route with a specific level for redistribution.
Sets the metric value of the redistributed route and specifies the
metric value by using the metric-value parameter. The value is in the
range from 1 to 16.
Sets the redistribution filtering rule.
By default:
All the routes of the sub types of the instance are redistributed when you configure redistributing
OSPF.
All the routes of the protocol are redistributed for other routing protocols.
The metric of the redistributed routes is 1 by default.
The route-map is not associated.
Routing process configuration mode
This command is executed to redistribute external routes to RIP.
It is unnecessary to convert the metric of one routing protocol into that of another routing protocol for
route redistribution, since different routing protocols use different metric measurement methods. For
RIP, the metric value is calculated based on hop counts; for OSPF, the metric value is calculated
based on bandwidths. Therefore, their metrics are not comparable. However, a symbolic metric value
must be set for route redistribution. Otherwise, route redistribution will fail.
When you configure redistribution of OSPF routes without the match parameter, the OSPF routes of
all sub types are redistributed by default. Then the first configured match parameter is used as the
original one. Only the routes matching the specific type can be redistributed. The no form of this