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 (Open Shortest Path First) interface(s) or for all the interfaces within the area.

Syntax Description

area-identifier Specifies an OSPF area.
vlan-name Specifies a VLAN (Virtual LAN) 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 Core license as described in the ExtremeXOS 22.7 Feature License Requirements document.