configure ospf priority

configure ospf [area area-identifier | vlan [vlan-name | all]] priority priority

Description

Configures the priority used in the designated router and backup designated router election algorithm for one or all OSPF interface(s) or for all the interfaces within the 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.
priority Specifies a priority range. The range is 0 through 255.

Default

The default setting is 1.

Usage Guidelines

The range is 0 through 255, and the default setting is 1. Setting the value to 0 ensures that the router is never selected as the designated router or backup designated router.

Example

The following command sets all the interfaces in area 1.2.3.4 to not be selected as the designated router:

configure ospf area 1.2.3.4 priority 0

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.