ip ospf default-cost
Configures the default OSPF metrics.
Note
Not all parameters appear on all hardware platforms.
Syntax
-
default ip ospf
default-cost ethernet
-
default ip ospf
default-cost fast-ethernet
-
default ip ospf
default-cost forty-gig-ethernet
-
default ip ospf
default-cost gig-ethernet
-
default ip ospf
default-cost ten-gig-ethernet
-
default ip ospf
default-cost twentyfive-gig-ethernet
-
ip ospf default-cost
ethernet <1-65535>
-
ip ospf default-cost
fast-ethernet <1-65535>
-
ip ospf default-cost
forty-gig-ethernet <1-65535>
-
ip ospf default-cost
gig-ethernet <1-65535>
-
ip ospf default-cost
ten-gig-ethernet <1-65535>
-
ip ospf default-cost
twentyfive-gig-ethernet <1-65535>
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. The default is 1.
- vlan
- Configures the OSPF default
metrics for a VLAN. The default is 1.
Command Mode
VRF Router Configuration