OSPF Commands
ip ospf area default-metric
Creates or deletes a default metric for stub or Not So Stubby Area (NSSA) areas. The default metric
configures the type of cost metric that a default area border router (ABR) will advertise in the default
summary Link State Advertisement (LSA).
ip ospf area area_id default-metric tos [[cost cost] | [type {ospf | type 1 | type 2}]
no ip ospf area area_id default-metric tos
Syntax Definitions
area_id
tos
cost
ospf
type1
type2
Defaults
parameter
tos
ospf | type 1 | type 2
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
The no form deletes the default metric from the specified area.
•
The type command configures the type of cost metric for the specified ToS.To ensure that internal
routers receiving external route advertisements choose the correct route, all border routers advertising a
particular external network should be configured to advertise the route using the same metric type.
That is, they must all advertise the route using an OSPF, Type 1, or Type 2 metric.
Examples
-> ip ospf area 1.1.1.1 default-metric 0
-> no ip ospf area 1.1.1.1 default-metric 0
OmniSwitch CLI Reference Guide
A unique 32-bit value in IP address format.
Type of service. The valid range is 0–15. Only ToS value 0 is supported
at this time.
The numerical cost of this area and ToS. Only 0 is supported in the
current release.
Advertises external routes as OSPF autonomous system external (ASE)
routes.
Advertises external routes as a Type 1 (non-OSPF) metric.
Advertises external routes as a Type 2 (calculated weight value from
non-OSPF protocol) metric.
default
0
ospf
March 2011
ip ospf area default-metric
page 17-23