OSPF Commands 895
Syntax
redistribute {rip | static | connected} [metric
integer
] [metric-type {1 | 2}]
[tag
integer
] [subnets]
no redistribute {rip | static | connected} [metric
integer
] [metric-type {1 |
2}] [tag
integer
] [subnets]
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.
metric
— Specifies the metric to use when redistributing the route.
(Range: 0–16777214)
metric-type 1
— Type 1 external route.
metric-type 2
— Type 2 external route.
tag
— 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.
Default Configuration
0 is the tag integer default configuration.
Command Mode
Router OSPF Configuration mode.
User Guidelines
This command has no user guidelines.
Example
The following example configures OSPF protocol to allow redistribution of
routes from the specified source protocol/routers.
console(config-router)#redistribute rip metric 90
metric-type 1 tag 555 subnets