Configuring Metric and Metric Type for Route Maps
Configure route maps to associate a redistribute metric and metric-type for OSPF and OSPFv3 and you cannot configure metrics using the current OSPF commands. Use route maps method to configure metric and metric-type on routers. Configuration of metrics and metric-type for OSPFv3 requires route maps.
CLI (network-admin@switch) > vrouter-route-map-add
metric none |
Specify a metric for the route map. |
metric-type none|1|2 |
Specify the metric type. |
The new parameters also apply to the vrouter-route-map-modify and vrouter-route-map-show commands.
You can also specify metrics and route maps for vRouters configured as OSPF and BGP vRouters.
CLI (network-admin@switch) > vrouter-modify
bgp-redist-static-route-map vrouter route-map name |
Specify the route map for BGP redistribution of static routes. |
bgp-redist-connected-route-map vrouter route-map name |
Specify the route map for BGP redistribution of connected routes. |
bgp-redist-ospf-route-map vrouter route-map name |
Specify the route map for BGP redistribution of OSPF routes. |
ospf-redist-static-route-map vrouter route-map name |
Specify the route map for OSPF redistribution of static routes. |
ospf-redist-connected-route-map vrouter route-map name |
Specify the route map for OSPF redistribution of connected routes. |
ospf-redist-bgp-route-map vrouter route-map name |
Specify the route map for OSPF redistribution of BGP routes. |