role
Syntax
- role (routing-engine | line-card);
Hierarchy Level
- [edit virtual-chassis preprovisioned member member-id]
Release Information
Statement introduced in JUNOS Release 9.0 for EX-series switches.
Description
In a preprovisioned configuration of a virtual chassis, specify the role to be performed by each EX 4200 member switch. Associate the role permanently with the member’s serial number.
Options
-
routing-engine—Enables the member eligible to function as a master or backup of the virtual chassis. The master manages all the members of the virtual chassis and runs the chassis management processes and control protocols. The backup synchronizes with the master in terms of protocol states, forwarding tables, and so forth, so that it is prepared to preserve routing information and maintain network connectivity without disruption in case the master is unavailable.
-
Specify two and only two members as routing-engine. The software determines which of the two routing-engines functions as master, based on the master election algorithm. See Understanding How the Master in a Virtual Chassis Is Elected.
-
line-card—Enables the member to be eligible to function only in the linecard role. Any member of the virtual chassis other than the master or backup functions in the linecard role and runs only a subset of JUNOS for EX-series software. A member functioning in the linecard role does not run the chassis control protocols. A virtual chassis must have at least three members in order to include a member that functions in the linecard role.
-
When you use a preprovisioned configuration, you cannot modify the mastership priority or member ID of member switches through the user interfaces. The mastership-priority value is generated by the software, based on the assigned role:
- A member configured as routing-engine is assigned the mastership-priority 129.
- A member configured as line-card is assigned the mastership-priority 0.
- A member listed in the preprovisioned configuration without an explicitly specified role is assigned the mastership-priority 128.
-
The configured role specifications are permanent. If both routing-engine members should fail, a line-card member cannot take over as master of the virtual chassis. You must delete the preprovisioned configuration in order to change the specified roles.
-
It is possible to explicitly configure two members as routing-engine, and to configure additional switches as members of the preprovisioned virtual chassis by specifying only their serial numbers. If you do not explicitly configure the role of the additional members, they function in a linecard role by default. In that case, a member that is functioning in a linecard role can take over mastership if the members functioning as master and backup both fail.
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.




