IPv6 Configuration Guide K/KA/KB.15.15

Syntax:
[no] router ospf3 redistribute [ connected | static ]
route-map map-name
Executed on an ASBR to permit or deny redistribution of static and/or connected
routes to the ASBR’s domain, as specified in the named route-map.
static
Redistribute from manually configured routes.
connected
Redistribute from locally connected networks.
The no form removes the redistribution configuration for the specified route-map.
Example 135 Enabling route redistribution
To implement redistribution for the connected and static routes configured in the route-map named
"mymap," you would execute the following commands on the applicable ASBR:
HP Switch(config)# router ospf3 redistribute connected route-map
mymap
HP Switch(config)# router ospf3 redistribute static route-map mymap
Modifying the default metric for redistribution
The default metric is a global parameter that specifies the cost applied to all external OSPFv3
routes by default.
Syntax:
router ospf3 default-metric 0 - 16777215
[no] router ospf3 default-metric
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 136 Modifying the default metric for redistribution
To assign a default metric of 4 to all routes imported into an OSPFv3 domain through an ASBR,
enter the following command in the ASBR:
HP Switch(config)# router ospf3 default-metric 4
Modifying the redistribution metric type
The redistribution metric type is used by default for all routes imported into OSPFv3. Type 1 metrics
are the same "units" as internal OSPFv3 metrics and can be compared directly. Type 2 metrics
are not directly comparable and are treated as larger than the largest internal OSPFv3 metric.
Syntax:
router ospf3 default-metric-type [ type1 | type2 ]
Globally reconfigures the redistribution metric type on an ASBR.
type1
Specifies the OSPFv3 metric plus the external metric for an external route.
216 OSPFv3 Routing