Document No. 10-300090, Issue 1 19-17
OSPF
ip ospf ext-route-metric
Command Mode Global Configuration.
Description Sets the metric type used for external routes to type1 or type2. Use the no
form of this command to restore default values. The default values are:
■ local (type1)
■ rip (type2)
■ static-hp (type2)
■ static-lp (type-2)
Syntax
Sample Output The following command sets the metric type for RIP used for external
routes to Type 2
(configure)# ip ospf ext-route-metric rip type2
Systems P550R, P580, P880, and P882.
To Configure: ip ospf ext-route-metric {local | rip | static-hp | static-lp}
{type1 | type2}
To Restore
Default:
[no] ip ospf ext-route-metric {local | rip | static-hp | static-
lp}
Table 19-12. Parameters, Keywords, Arguments
Name Definition
local Specifies whether imported local routes are advertised in OSPF with
type 1 (internal) or type 2 (external) metrics.
rip Specifies whether imported RIP routes are advertised in OSPF with
type 1 (internal) or type 2 (external) metrics.
static-hp Specify whether imported high preference static routes are advertised
in OSPF with type 1 (internal) or type 2 (external) metrics.
static-lp Specify whether imported low preference static routes are advertised in
OSPF with type 1 (internal) or type 2 (external) metrics.