configure ospf cost

configure ospf [area area-identifier | vlan [vlan-name | all]] cost [automatic | cost]

Description

Configures the cost metric of one or all interface(s) or an area.

Syntax Description

area-identifier Specifies an OSPF area.
vlan-name Specifies a This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches. name.
all Specifies all VLANs.
automatic Determine the advertised cost from the OSPF metric table.
cost Specifies the cost metric.

Default

The default cost is automatic.

Usage Guidelines

The range is 1 through 65535.

Example

The following command configures the cost metric of the VLAN accounting:

configure ospf vlan accounting cost 10

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on platforms with an Advanced Edge or Base license, or higher, as described in the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.