Command Line Interface Guide

OSPF Commands 1259
redistribute
Use the redistribute command in Router OSPF Configuration mode to
configure OSPF protocol to allow redistribution of routes from the specified
source protocol/routers. Use the no version of the command to disable
redistribution from the selected source or to reset options to their default
values.
Syntax
redistribute protocol [metric metric-value] [metric-type type-value] [tag
tag-value] [subnets]
no redistribute protocol [metric] [metric-type] [tag] [subnets]
Parameter Description
Default Configuration
0 is the tag-value default configuration.
Parameter Description
protocol rip - Specifies RIP as the source protocol.
static - Specifies that the source is a static route.
connected - Specifies that the source is a directly connected
route.
static Specifies that the source is a static route.
connected Specifies that the source is a directly connected route.
metric-value Specifies the metric to use when redistributing the route.
(Range: 0–16777214)
type-value Type 1 external route.
Type 2 external route.
tag-value Value attached to each external route, which might be used to
communicate information between ASBRs. (Range:
0–4294967295)
subnets Specifies whether to redistribute the routes to subnets.
2CSPC4.X8100-SWUM100.book Page 1259 Wednesday, August 29, 2012 6:23 PM