Assigning the Virtual Chassis ID to Determine Precedence During a Virtual Chassis Merge
Every Virtual Chassis has a unique ID that is automatically assigned when the Virtual Chassis configuration is formed. You can also explicitly assign a Virtual Chassis ID using the set virtual-chassis id command. When two Virtual Chassis configurations attempt to merge, the Virtual Chassis ID that you assigned takes precedence over the automatically assigned Virtual Chassis IDs and becomes the ID for the newly merged Virtual Chassis configuration.
To configure the Virtual Chassis ID:
[edit] user@switch# set virtual-chassis id id