Command: default-cost

Home | Command modes | Alphabetical listing

default-cost

Configures the OSPF default cost metric.

Syntax

Default

None

Command mode

OSPF Router Configuration

Command parameters

ParameterDescription

<1-65535>

Specifies the default cost metric to assign to the specified port type. The metric value is an integer between 1 and 65535.

ethernet

Set default cost for ethernet interfaces

fast-ethernet

Set default cost for fast-ethernet interfaces

forty-gig-ethernet

Set default cost for forty-gigabit-ethernet interfaces

gig-ethernet

Set default cost for gigabit-ethernet interfaces

ten-gig-ethernet

Set default cost for ten-gigabit-ethernet interfaces