default-cost

Configures the default OSPF metrics.

Syntax

Command Parameters

ethernet <1-65535>
Configures the OSPF default metrics for 10 Mb/s Ethernet. The default is 100.
fast-ethernet <1-65535>
Configures the OSPF default metrics for 100 Mb/s (Fast) Ethernet. The default is 10.
forty-gig-ethernet <1-65535>
Configures the OSPF default metrics for 40 Gigabit Ethernet. The default is 1.
gig-ethernet <1-65535>
Configures the OSPF default metrics for Gigabit Ethernet. The default is 1.
hundred-gig-ethernet <1-65535>
Configures the OSPF default metrics for 100 Gigabit Ethernet. The default is 1.
ten-gig-ethernet <1-65535>
Configures the OSPF default metrics for 10 Gigabit Ethernet. The default is 1.
twentyfive-gig-ethernet <1-65535>
Configures the OSPF default metrics for 25 Gigabit Ethernet. On a channelized 100 Gbps port, the default-cost for each 25 Gbps channel is 1

Default

None

Command Mode

OSPF Router Configuration