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 (Open Shortest Path First) area.
vlan-name Specifies a VLAN (Virtual LAN) 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 Core license as described in the ExtremeXOS 22.6 Feature License Requirements document.