![](/images/new-backgrounds/1202185/202185549x1.webp)
xStack
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 add route redistribution settings:
Command: create route redistribute dst ospf src rip
| Success. | |
| ||
|
|
|
| ||
create route redistribute dst rip src | ||
|
| |
Purpose | Used to add route redistribution settings for the exchange of OSPF | |
| routes to RIP routes on the Switch. | |
Syntax | create route redistribute dst rip src {all internal external | |
| type_1 type_2 inter+e1 inter+e2}] {metric <value | |
Description | This command will 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 xStack | |
| redistributed | |
Parameters | src {all internal external type_1 type_2 inter+e1 inter+e2} − | |
| Allows the selection of the protocol of the source device. The user | |
| may choose between: | |
| • all – Specifies both internal an external. | |
| • internal – Specifies the internal protocol of the source device. | |
| • external - Specifies the external protocol of the source device. | |
| • type_1 - Calculates the metric (for RIP to OSPF) by adding the | |
| destination’s interface cost to the metric entered in the Metric | |
| field. | |
| • type_2 - Uses the metric entered in the Metric field without | |
| change. This field applies only when the destination field is | |
| OSPF. | |
| • inter+e1 – Specifies the internal protocol AND type 1 of the | |
| external protocol. | |
| • inter+e2 – Specifies the internal protocol AND type 2 of the | |
| external protocol. | |
| metric <value | |
| This is analogous to a HOP Count in the RIP routing protocol. | |
Restrictions | Only | |
|
|
|
272