Supported Platforms
Configuring Preprovisioned Member Information for a Virtual Chassis
To configure a Virtual Chassis for MX Series routers, you must create a preprovisioned configuration on the master router by including the virtual-chassis stanza at the [edit virtual-chassis] hierarchy level. The preprovisioned configuration specifies the chassis serial number, member ID, and role for both member routers in the Virtual Chassis.
When a new member router joins the Virtual Chassis, the software compares its serial number against the values specified in the preprovisioned configuration. If the serial number of a joining router does not match any of the configured serial numbers, the software prevents that router from becoming a member of the Virtual Chassis.
To configure the preprovisioned member information for an MX Series Virtual Chassis:
- Specify that you want to create a preprovisioned Virtual
Chassis configuration.[edit virtual-chassis]user@host# set preprovisioned
- Configure the member ID (0 or 1), role
(routing-engine), and chassis serial number for each member
router in the Virtual Chassis.[edit virtual-chassis]user@host# set member member-number role routing-engine serial-number serial-numberuser@host# set member member-number role routing-engine serial-number serial-number
Note: In a two-member MX Series Virtual Chassis configuration, you must assign the routing-engine role to each router. The routing-engine role enables the router to function either as the master router or backup router of the Virtual Chassis.
- Disable detection of a split in the Virtual Chassis configuration.
(By default, split detection in an MX Series Virtual Chassis is enabled.)[edit virtual-chassis]user@host# set no-split-detection
Best Practice: We recommend that you disable split detection for a two-member MX Series Virtual Chassis configuration if you think the backup router is more likely to fail than the Virtual Chassis port links to the backup router. Configuring redundant Virtual Chassis ports on different line cards in each member router reduces the likelihood that all Virtual Chassis port links to the backup router will fail.
- (Optional) Enable tracing of Virtual Chassis operations.
For example:
[edit virtual-chassis]user@gladius# set traceoptions file filenameuser@gladius# set traceoptions file size maximum-file-sizeuser@gladius# set traceoptions flag flag - Commit the configuration.
Best Practice: We recommend that you use the commit synchronize command to save any configuration changes to the Virtual Chassis.
For an MX Series Virtual Chassis, the force option is the default and only behavior when you issue the commit synchronize command. Issuing the commit synchronize command for an MX Series Virtual Chassis configuration has the same effect as issuing the commit synchronize force command.
The following example shows an MX Series Virtual Chassis preprovisioned configuration for two member routers.