configure ospf cost

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


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 VLAN name.
all Specifies all VLANs.
automatic Determine the advertised cost from the OSPF metric table.
cost Specifies the cost metric.


The default cost is automatic.

Usage Guidelines

The range is 1 through 65535.


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

configure ospf vlan accounting cost 10


This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on platforms with Base license, or higher, as described in the Switch Engine 32.2 Feature License Requirements document.