xStack
config route redistribute dst ospf src
•
•
| metric <value |
| cost. This is analogous to a Hop Count in the RIP routing protocol. |
Restrictions | Only |
Routing information source − RIP: the Static Route table, and the Local interface routing information. Routing information will be redistributed to OSPF. The following table lists the allowed values for the routing metrics and the types (or forms) of the routing information that will be redistributed.
Route Source | Metric | Metric Type |
RIP | 0 to 16777214 | mettype 1 |
|
| mettype 2 |
Static | 0 to 16777214 | mettype 1 |
|
| mettype 2 |
Local | 0 to 16777214 | mettype 1 |
|
| mettype 2 |
Allowed Metric Type combinations are mettype 1 or mettype 2. The metric value 0 above will be redistributed in OSPF as the metric 20.
Example Usage:
To configure route redistributions:
Command: config route redistribute dst ospf src all metric 2
| Success. |
|
|
|
|
| |
|
|
| |
| |||
config route redistribute dst rip src | |||
|
| ||
Purpose | Used configure route redistribution settings for the exchange of | ||
|
| RIP routes to OSPF routes on the Switch. | |
Syntax | config route redistribute dst rip src [local static ospf [all | ||
|
| internal external type_1 type_2 inter+e1 inter+e2]] | |
|
| {metric <value | |
Description | Route redistribution allows routers on the network that are running | ||
|
| different routing protocols to exchange routing information. This is |
accomplished by comparing the routes stored in the various router’s routing tables and assigning appropriate metrics. This information is then exchanged among the various routers according to the individual routers current routing protocol. The Switch can redistribute routing information between the OSPF and RIP routing protocols to all routers on the network that are running OSPF or RIP. Routing information entered into the Static Routing Table on the local switch is also redistributed.
274