
OSPF Commands 699
User Guidelines
This command has no user guidelines.
Example
The following example sets the number of paths at 2 that OSPF can report for a given
destination.
console(config-router)#maximum-paths 2
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.
Syntax
Use the no version of the command to disable redistribution from the selected source or to
reset options to their default values.
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.
Commentaires sur ces manuels