Configuring Automatic Software Update on EX2200, EX3300, EX4200, EX4500, or EX4550 Virtual Chassis Member Switches (CLI Procedure)
The automatic software update feature allows you to automatically update the software version on prospective member switches as they are added so that they can join the Virtual Chassis immediately; you do not have to update the software on the switches before you add them to the Virtual Chassis.
This topic includes:
Configuring Automatic Software Update on an EX2200, EX3300, EX4200, EX4500, or EX4550 Virtual Chassis, or a Mixed EX4500 and EX4550 Virtual Chassis
Before you begin, ensure that you know the name or the URL of the software package to be used by the automatic software update feature.
![]() | Note: The Junos OS version running on the Virtual Chassis must be compatible with the software running on the prospective member switch for an automatic software update to occur. For information on Junos OS compatibility and other automatic software update restrictions, see Understanding Automatic Software Update on EX2200, EX3300, EX4200, EX4500, and EX4550 Virtual Chassis Member Switches. |
To configure the automatic software update feature :
[edit]
user@switch# set virtual-chassis
auto-sw-update package-name package-name![]() | Note: EX4500 and EX4550 switches are upgraded using the same Junos OS package. You only need to specify the path to the package-name once to enable automatic software update for both types of switches in any mixed Virtual Chassis that contains EX4500 and EX4550 member switches. |
If the software package is located on a local directory on the switch, use the following format for package-name:
/pathname/package-name
If the software package is to be downloaded and installed from a remote location, use one of the following formats:
ftp://hostname/pathname/package-name
ftp://username:prompt@ftp.hostname.net/package-name
http://hostname/pathname/package-name
Configuring Automatic Software Update on a Mixed EX4200 and EX4500, Mixed EX4200 and EX4550, or Mixed EX4200, EX4500, and EX4550 Virtual Chassis:
Before you begin, ensure that you know the names or the URLs of the software packages to be used by the automatic software update feature.
To configure the automatic software update feature on a mixed EX4200 and EX4500, mixed EX4200 and EX4550, or mixed EX4200, EX4500, and EX4550 Virtual Chassis:
- Specify a path to a Junos OS image for an EX4200 switch.
[edit]
user@switch# set virtual-chassis auto-sw-update ex-4200 package-name package-nameIf the software package is located on a local directory on the switch, use the following format for package-name:
/pathname/package-name
If the software package is to be downloaded and installed from a remote location, use one of the following formats:
ftp://hostname/pathname/package-name
ftp://username:prompt@ftp.hostname.net/package-name
http://hostname/pathname/package-name
- Specify a path to a Junos OS image of the same version
for an EX4500 switch.

Note: All switches, regardless of switch type, must run the same version of Junos OS software in a mixed Virtual Chassis. If automatic software update is used to update a new member switch to a different Junos OS software version, the new member switch will not join the Virtual Chassis and the existing member switches might be unstable until the software version mismatch is addressed.

Note: EX4500 and EX4550 switches run the same Junos OS software package. You only have to specify a path to one Junos OS software image that supports the EX4500 switch to enable automatic software update for EX4500 and EX4550 switches in the same mixed Virtual Chassis.
[edit]
user@switch# set virtual-chassis auto-sw-update ex-4500 package-name package-name