Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

mastership-priority

Syntax

mastership-priority number;

Hierarchy Level

[edit virtual-chassis member member-id]

Release Information

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Mastership priority option 0 introduced in Junos OS Release 11.1 for EX Series switches.

Statement introduced in Junos OS Release 13.2X50-D15 for the QFX Series.

Statement introduced in Junos OS Release 13.2X51-D20 for Virtual Chassis Fabric (VCF).

Description

The mastership priority value is the most important factor in determining the role of the member switch within a nonprovisioned Virtual Chassis or VCF configuration. Other factors (see Understanding How the Master in a Virtual Chassis Is Elected) also affect the election of the master.

The mastership priority value takes the highest precedence in the master election algorithm. The member switch with highest mastership priority assumes the master Routing Engine role of the Virtual Chassis or VCF. Toggling back and forth between master and backup status in failover conditions is undesirable, so we recommend that you assign the same mastership priority value to both the master and the backup. Secondary factors in the master election algorithm determine which of these two members (that is, the two members that are assigned the highest mastership priority value) functions as the master of the Virtual Chassis or VCF.

This statement is not used for the EX8200 Virtual Chassis, which determines mastership by external Routing Engine uptime. See Understanding Virtual Chassis Roles in an EX8200 Virtual Chassis.

A switch with a mastership priority of 0 never takes the master or backup role.

Default

128

Options

number—Mastership priority value.

Range: 0 through 255

Required Privilege Level

system—To view this statement in the configuration.
system-control—To add this statement to the configuration.

Published: 2014-04-29