Supported Platforms
Related Documentation
- EX Series, QFX Series standalone switches
- Autoprovisioning a Virtual Chassis Fabric
- Preprovisioning a Virtual Chassis Fabric
- EX Series
- Configuring an EX4300 Virtual Chassis (CLI Procedure)
- Example: Configuring an EX3300 Virtual Chassis with a Master and Backup
- Example: Configuring an EX4200 Virtual Chassis with a Master and Backup in a Single Wiring Closet
- Example: Configuring an EX4200 Virtual Chassis Interconnected Across Multiple Wiring Closets
- Configuring an EX4200, EX4500, or EX4550 Virtual Chassis (CLI Procedure)
- QFX Series standalone switches
- Configuring a QFX Series Virtual Chassis (CLI Procedure)
mastership-priority
Syntax
Hierarchy Level
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.
Related Documentation
- EX Series, QFX Series standalone switches
- Autoprovisioning a Virtual Chassis Fabric
- Preprovisioning a Virtual Chassis Fabric
- EX Series
- Configuring an EX4300 Virtual Chassis (CLI Procedure)
- Example: Configuring an EX3300 Virtual Chassis with a Master and Backup
- Example: Configuring an EX4200 Virtual Chassis with a Master and Backup in a Single Wiring Closet
- Example: Configuring an EX4200 Virtual Chassis Interconnected Across Multiple Wiring Closets
- Configuring an EX4200, EX4500, or EX4550 Virtual Chassis (CLI Procedure)
- QFX Series standalone switches
- Configuring a QFX Series Virtual Chassis (CLI Procedure)
Published: 2014-04-29
Supported Platforms
Related Documentation
- EX Series, QFX Series standalone switches
- Autoprovisioning a Virtual Chassis Fabric
- Preprovisioning a Virtual Chassis Fabric
- EX Series
- Configuring an EX4300 Virtual Chassis (CLI Procedure)
- Example: Configuring an EX3300 Virtual Chassis with a Master and Backup
- Example: Configuring an EX4200 Virtual Chassis with a Master and Backup in a Single Wiring Closet
- Example: Configuring an EX4200 Virtual Chassis Interconnected Across Multiple Wiring Closets
- Configuring an EX4200, EX4500, or EX4550 Virtual Chassis (CLI Procedure)
- QFX Series standalone switches
- Configuring a QFX Series Virtual Chassis (CLI Procedure)