Software installation tasks include:
SR Linux can be installed on either the 7250 IXR or 7220 IXR-D series systems.
Installations can be completed using the CLI. To perform either an initial imaging, reinstallation, or an upgrade or downgrade of a system, the operation requires pushing the new image to the device, changing the boot configuration, and rebooting.
In the installation procedure examples, commands preceded by $ require root privilege. Commands preceded by # should be executed from a bash shell.
The basic installation actions performed on the system do not change, regardless of the method used to install the SR Linux (either using the CLI or manually), but the CLI method is dependent on having a working system whereas the manual method is not.
On a 7250 IXR system, SR Linux boots from an internal SD card. No other boot device may be used with the system. The SD card contains:
Installations can be performed manually without using the CLI. The process may also require partitioning an SD card external to the system, installing Grub into the MBR of the card, and copying the SR Linux image to the device. Use of the manual method requires advanced knowledge of Linux commands, including disk formatting, copying files, unpacking compressed images, and editing of text files. Basic knowledge of editing text files in Linux is mandatory. The manual method requires a Linux server, with an empty SD card mounted (or use of a USB-SD card adapter).
On a 7220 IXR-D system, SR Linux boots from a the internal SSD. No other boot device may be used with the system. The internal SSD contains:
SR Linux can boot from a USB device in recovery scenarios.
The software image is a set of files provided as part of an SR Linux distribution. The files contained in an image are:
To perform an installation, you must have an SR Linux image, which is a gzipped tarball containing these files, along with some other files used for operations and maintenance (for example, YANG models and SNMP MIBs).
Installing the software manually requires a working Linux system, with access to an SD card (preferably 16 GB in size). A USB adapter may be used, as most servers do not have SD card slots. The SD card should be unformatted, or at least no important data should be present on it. Any data on the card is wiped during the procedure. Installing the software manually requires a download of a script. In the following examples, /dev/sdb is used as the SD card device in examples, and all steps should be completed as a user with root privileges.
![]() | Warning: If used incorrectly, this procedure could be destructive and may render the system creating the SD card inoperable. Verify the correct drive is being used before completing the installation. |
Installing the software manually on a 7220 IXR-D system requires a working Linux system and a USB device. Installation also requires the ONIE boot loader install environment.
If you do not host the SR Linux images from a ZTP server, you must perform a manual bootstrap procedure to complete the installation.
![]() | Warning: Installing the ONIE from the USB wipes out all SSD partitions. |
![]() | Note: If you do not host the SR Linux images from a ZTP server, you must perform a manual bootstrap procedure to complete the installation. See the Manual bootstrapping procedure to continue. |
If you do not host the SR Linux images from a ZTP server, you must perform a manual bootstrapping to retrieve the image. Perform this procedure in addition to the steps in Installing the software manually on a 7220 IXR-D to complete the installation.
This procedure upgrades the software using the CLI. It requires a working system, with SR Linux operational and the CLI available. If the system is not operational and CLI is not available, see either Installing the software manually on a 7250 IXR or Installing the software manually on a 7220 IXR-D to perform an initial installation.