
xStack 
33
ROUTE REDISTRIBUTION COMMANDS
The route redistribution commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
| Command | Parameters | 
| create route redistribute | [static  rip  local] {mettype [1  2]  metric <value  | 
| dst ospf src | 
 | 
| create route redistribute | [local static ospf {all internal external type_1 type_2 | 
| dst rip src | inter+e1  inter+e2}] {metric <value  | 
| 
 | 
 | 
| config route redistribute | [static  rip  local] {mettype [1  2]  metric <value  | 
| dst ospf src | 
 | 
| 
 | 
 | 
| config route redistribute | [local static ospf {all internal external type_1 type_2 | 
| dst rip src | inter+e1  inter+e2}] {metric <value  | 
| delete route redistribute | {dst [rip ospf] src [rip local static ospf]} | 
| 
 | 
 | 
| show route redistribute | {dst [rip ospf] src [rip static local ospf] | 
| 
 | 
 | 
Each command is listed, in detail, in the following sections.
create route redistribute dst ospf src
| Purpose | Used to add route redistribution settings for the exchange of RIP | 
| 
 | routes to OSPF routes on the Switch. | 
| Syntax | create route redistribute dst ospf src [static rip local] | 
| 
 | {mettype [1  2]  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  | 
| 
 | redistributed. | 
| Parameters | src [static rip local] − Allows for the selection of the protocol for | 
| 
 | the source device. | 
| 
 | mettype [1 2] − Allows for the selection of one of two methods of | 
| 
 | calculating the metric value. | 
| 
 | •  | 
| 
 | destination’s interface cost to the metric entered in the Metric | 
| 
 | field. | 
| 
 | •  | 
| 
 | change. This field applies only when the destination field is | 
| 
 | OSPF. | 
| 
 | 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.
271
