Reference Guide 702 Document #: LTRT-17939
Mediant MSBR
75.2.2.79.2.22 redistribute connected
This command redistributes routes of the specified protocol or kind into OSPF.
Syntax
redistribute connected
redistribute connected route-map
redistribute connected metric-type {1|2}
redistribute connected metric-type {1|2} route-map word
redistribute connected metric <0-16777214>
redistribute connected metric-type {1|2} metric <0-16777214>
metric <0-16777214> route-map word
no redistribute connected
Command Description
metric Defines the metric for redistributed routes.
metric-type Defines the OSPF exterior metric type for registered
routes.
1|2 Sets the OSPF exterior type - 1- metric, 2-metrics.
word Describes the pointer to route-map entries.
Default
NA
Command Mode
Privileged User
Example
This example redistributes routes of the specified protocol or kind into OSPF.
(config-data)# router ospf
(conf-router)# redistribute connected
75.2.2.79.2.23 redistribute static
This command redistributes routes of the specified protocol or kind into OSPF.
Syntax
redistribute static
redistribute static route-map
redistribute static metric-type {1|2}
redistribute static metric-type {1|2} route-map word
redistribute static metric <0-16777214>
redistribute static metric-type {1|2} metric <0-16777214> metric
<0-16777214> route-map word
no redistribute static