static
Redistribute from manually configured routes.
connected
Redistribute from locally connected networks.
rip
Redistribute from RIP routes.
route-map name
Optionally specify the name of a route-map to apply during redistribution.
The
no
form of the command disables redistribution for the specified route type.
Example
To enable redistribution of all supported external route types through a given ASBR, execute the following
commands.
switch(config)# router ospf redistribution connected
switch(config)# router ospf redistribution static
switch(config)# router ospf redistribution rip
Modifying the default metric for redistribution
Optional: The default metric is a global parameter that specifies the cost applied to all OSPF routes by default.
Syntax:
router ospf default-metric 0-16777215
Globally assigns the cost metric to apply to all external routes redistributed by the ASBR. By using different cost
metrics for different ASBRs, you can prioritize the ASBRs in your AS.
Default: 10
Example:
To assign a default metric of 4 to all routes imported into OSPF on an ASBR, enter the following commands:
switch()#
switch(config)# router ospf default-metric 4
Modifying the redistribution metric type
Optional: The redistribution metric type is used by default for all routes imported into OSPF. Type 1 metrics are
the same "units" as internal OSPF metrics and can be compared directly. Type 2 metrics are not directly
comparable, and are treated as larger than the largest internal OSPF metric.
Syntax:
router ospf metric-type [type1 | type2]
Globally reconfigures the redistribution metric type on an ASBR.
type1
Specifies the OSPF metric plus the external metric for an external route.
206
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08