Supported Platforms
Related Documentation
- EX Series
- 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)
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.
Description
The mastership priority value is the most important factor in determining the role of the member switch within the Virtual Chassis configuration. Other factors (see Understanding How the Master in an EX Series 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 becomes the master of the Virtual Chassis configuration. 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 configuration.
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
- 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)
Published: 2012-12-07
Supported Platforms
Related Documentation
- EX Series
- 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)