Alcatel-Lucent 6850-48 参照ガイド

ページ / 3444
OSPF Commands
page 41-22
OmniSwitch CLI Reference Guide
September 2009
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
A unique 32-bit value in IP address format.
tos
Type of service. The valid range is 0–15. Only ToS value 0 is supported 
at this time.
cost
The numerical cost of this area and ToS. Only 0 is supported in the 
current release.
ospf
Advertises external routes as OSPF autonomous system external (ASE) 
routes.
type1
Advertises external routes as a Type 1 (non-OSPF) metric.
type2
Advertises external routes as a Type 2 (calculated weight value from 
non-OSPF protocol) metric.
Defaults
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
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
parameter
default
tos
0
ospf | type 1 | type 2
ospf