redistribute — router
protocol| static} [metric
weight] [subnets] no redistribute
Redistribution of routes between protocols
This command allows you to redistribute routes from one routing protocol to another. It also allows you to redistribute static routes into a routing protocol. Some protocols require you to specify a default metric that will be assigned to external routes. See the
command and Chapters 8 and 9 for more information.
This is the protocol from which routes are redistributed. If a process ID or local AS is required for the protocol, you must provide that as well. Possible values are
rip. You can also redistribute static routes.
Optional. This keyword sets the metric value for the redistributed route. If you don’t have a value defined here, the router uses the default metric as defined in the
default-metric command. For most redistribution, you must define a default metric. Exceptions to this rule are static routes and IGRP to EIGRP redistribution.
Optional. This keyword applies to OSPF and IS-IS only. For OSPF, this allows you to assign two possible metric type values:
1 (Type 1 external route) and
2 (Type 2 external route). The default type for OSPF is Type 2. For IS-IS, the options are
internal (the metric is less than 63) and
external (the metric is greater ...