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 VLAN 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 32.2 Feature License Requirements document.