Supported Platforms
Related Documentation
- EX, J, M, MX, QFX, SRX, T Series
- request system software add
- EX, J, M, MX, PTX, QFX, T Series
- request system software rollback
- J, M, MX, PTX, QFX, SRX, T Series
- request system software validate
- Additional Information
- Routing Matrix with a TX Matrix Plus Router Solutions Page
request system software delete
Syntax
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Option sfc introduced for the TX Matrix Plus router in Junos OS Release 9.6.
Command introduced in Junos OS Release 11.1 for the QFX Series.
Option set [package-name package-name] added in Junos OS Release 12.2 for M Series, MX Series, T Series routers, and Branch SRX Services Gateways.
Option reboot introduced in Junos OS Release 12.3.
Description
Remove a software package or bundle from the router or switch.
![]() | Caution: Before removing a software package or bundle, make sure that you have already placed the new software package or bundle that you intend to load onto the router or switch. |
Options
software-package | — | Software package or bundle name. You can delete any or all of the following software bundles or packages:
|
force | — | (Optional) Ignore warnings and force removal of the software. |
lcc number | — | (TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, remove an extension or upgrade package from a specific T640 router (line-card chassis) that is connected to the TX Matrix router. On a TX Matrix Plus router, remove an extension or upgrade package from a specific router that is connected to the TX Matrix Plus router. Replace number with the following values depending on the LCC configuration:
|
reboot | — | As of Junos OS 12.3 and greater, automatically reboot upon completing the request system software delete command. |
scc | — | (TX Matrix routers only) (Optional) Remove an extension or upgrade package from the TX Matrix router (or switch-card chassis). |
set [package-name package-name] | — | (M Series, MX Series, T Series routers, and Branch SRX Series Services Gateways only) (Optional) Install multiple software packages or software add-on packages at the same time. |
sfc number | — | (TX Matrix Plus routers only) (Optional) Remove an extension or upgrade package from the TX Matrix Plus router. Replace number with 0. |
Additional Information
Before upgrading the software on the router or switch, when you have a known stable system, issue the request system snapshot command to back up the software, including the configuration, to the /altroot and /altconfig file systems (on routers) or the /, /altroot, /config, /var, and /var/tmp file systems (on switches). After you have upgraded the software on the router or switch and are satisfied that the new packages are successfully installed and running, issue the request system snapshot command again to back up the new software to the /altroot and /altconfig file systems (on routers) or the /, /altroot, /config, /var, and /var/tmp file systems (on switches). After you run the request system snapshot command, you cannot return to the previous version of the software, because the running and backup copies of the software are identical.
Required Privilege Level
maintenance
Related Documentation
- EX, J, M, MX, QFX, SRX, T Series
- request system software add
- EX, J, M, MX, PTX, QFX, T Series
- request system software rollback
- J, M, MX, PTX, QFX, SRX, T Series
- request system software validate
- Additional Information
- Routing Matrix with a TX Matrix Plus Router Solutions Page
List of Sample Output
request system software delete jdocsOutput Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
request system software delete jdocs
The following example displays the system software packages before and after the jdocs package is deleted through the request system software delete command:
user@host> show system software
Information for jbase: Comment: JUNOS Base OS Software Suite [7.2R1.7] Information for jcrypto: Comment: JUNOS Crypto Software Suite [7.2R1.7] Information for jdocs: Comment: JUNOS Online Documentation [7.2R1.7] Information for jkernel: Comment: JUNOS Kernel Software Suite [7.2R1.7] ...
user@host> request system software delete jdocs
Removing package 'jdocs' ...
user@host> show system software
Information for jbase: Comment: JUNOS Base OS Software Suite [7.2R1.7] Information for jcrypto: Comment: JUNOS Crypto Software Suite [7.2R1.7] Information for jkernel: Comment: JUNOS Kernel Software Suite [7.2R1.7] ...
Published: 2013-08-15
Supported Platforms
Related Documentation
- EX, J, M, MX, QFX, SRX, T Series
- request system software add
- EX, J, M, MX, PTX, QFX, T Series
- request system software rollback
- J, M, MX, PTX, QFX, SRX, T Series
- request system software validate
- Additional Information
- Routing Matrix with a TX Matrix Plus Router Solutions Page