Book Software Ex Series Software Installation
Book Software Ex Series Software Installation
Published: 2011-11-23
Revision 2
http://www.juniper.net/support/eula.html. By downloading, installing or using such software, you agree to the terms and conditions
of that EULA.
ii
Table of Contents
About This Topic Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
How to Use This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
List of EX Series Guides for Junos OS Release 11.4 . . . . . . . . . . . . . . . . . . . . . . . . . vii
Downloading Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Documentation Symbols Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Part 1
Software Installation
Chapter 1
iii
Chapter 2
Installing Junos OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Downloading Software Packages from Juniper Networks . . . . . . . . . . . . . . . . . . . . 17
Installing Software on an EX Series Switch with a Single Routing Engine (CLI
Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Installing Software on an EX Series Switch with Redundant Routing Engines
(CLI Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Preparing the Switch for the Software Installation . . . . . . . . . . . . . . . . . . . . . 20
Installing Software on the Backup Routing Engine . . . . . . . . . . . . . . . . . . . . . 21
Installing Software on the Default Master Routing Engine . . . . . . . . . . . . . . . 22
Returning Routing Control to the Default Master Routing Engine
(Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Installing Software on EX Series Switches (J-Web Procedure) . . . . . . . . . . . . . . . 24
Installing Software Upgrades from a Server . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Installing Software Upgrades by Uploading Files . . . . . . . . . . . . . . . . . . . . . . 25
Rebooting or Halting the EX Series Switch (J-Web Procedure) . . . . . . . . . . . . . . . 25
Chapter 3
iv
Table of Contents
Chapter 4
Chapter 5
Chapter 6
Chapter 7
vi
webpages and created a number of EX Series guides that collect related topics into a
book-like format so that the information is easy to print and easy to download to your
local computer.
Software features for EX Series switches are listed by platform and by Junos OS release
in a standalone document. See EX Series Switch Software Features Overview.
The release notes are at http://www.juniper.net/techpubs/en_US/junos11.4/
information-products/topic-collections/release-notes/11.4/junos-release-notes-11.4.pdf.
Description
vii
Title
Description
viii
Title
Description
Downloading Software
You can download Junos OS for EX Series switches from the Download Software area
at http://www.juniper.net/customers/support/ . To download the software, you must
ix
have a Juniper Networks user account. For information about obtaining an account, see
http://www.juniper.net/entitlement/setupAccountInfo.do.
Meaning
Description
Informational note
Caution
Warning
Laser warning
Description
Examples
[edit]
root@# set system domain-name
domain-name
Description
Examples
| (pipe symbol)
broadcast | multicast
# (pound sign)
[ ] (square brackets)
; (semicolon)
[edit]
routing-options {
static {
route default {
nexthop address;
retain;
}
}
}
Documentation Feedback
We encourage you to provide feedback, comments, and suggestions so that we can
improve the documentation. Send e-mail to [email protected] with the
following:
Software version
xi
JTAC hours of operationThe JTAC centers have resources available 24 hours a day,
7 days a week, 365 days a year.
Find solutions and answer questions using our Knowledge Base: http://kb.juniper.net/
To verify service entitlement by product serial number, use our Serial Number Entitlement
(SNE) Tool: https://tools.juniper.net/SerialNumberEntitlementSearch/
xii
PART 1
Software Installation
Registering the Switch, Booting the Switch, Upgrading Software, and Managing
Licenses on page 27
CHAPTER 1
Junos OSOverview
Creates the packet forwarding switch fabric for the switch, providing route lookup,
filtering, and switching on incoming data packets, then directing outbound packets
to the appropriate interface for transmission to the network
Maintains the routing tables used by the switch and controls the routing protocols
that run on the switch.
Provides control and monitoring functions for the switch, including controlling power
and monitoring system status.
Junos OS Processes
The Junos OS running on the Routing Engine and Packet Forwarding Engine consists of
multiple processes that are responsible for individual functions.
The separation of functions provides operational stability, because each process accesses
its own protected memory space. In addition, because each process is a separate software
package, you can selectively upgrade all or part of the Junos OS, for added flexibility.
Table 1 on page 4 describes the primary Junos OS processes.
Name
Description
Chassis process
chassisd
Ethernet
switching
process
eswd
Handles Layer 2 switching functionality such as MAC address learning, Spanning Tree
protocol and access port security. The process is also responsible for managing Ethernet
switching interfaces, VLANs, and VLAN interfaces.
Manages Ethernet switching interfaces, VLANs, and VLAN interfaces.
Forwarding
process
pfem
Defines how routing protocols operate on the switch. The overall performance of the
switch is largely determined by the effectiveness of the forwarding process.
Interface
process
dcd
Name
Description
Management
process
mgd
Routing protocol
process
rpd
Related
Documentation
Defines how routing protocols such as RIP, OSPF, and BGP operate on the device,
including selecting routes and maintaining forwarding tables.
For more information about processes, see Junos OS Network Operations Guide
For more information about basic system parameters, supported protocols, and software
processes, see Junos OS System Basics Configuration Guide
Installation Overview
NOTE: You can also use this procedure to load two versions of Junos OS in
separate partitions on the switch.
Related
Documentation
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
on page 18
where:
m.n is the software release, with m representing the major release number and n
Z indicates the type of software release, where R indicates released software and B
x.y represents the version of the major software release (x) and an internal tracking
domestic-signed is appended to all EX Series package names. For most Junos packages,
domestic is used for the United States and Canada and export for worldwide distribution.
However, for EX Series software, domestic is used for worldwide distribution as well.
A sample EX Series software package name is:
jinstall-ex-4200-9.5R1.6-domestic-signed.tgz
Related
Documentation
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
on page 18
system (Junos OS), the active configuration, and the rescue configurationand copies
all of these files into an alternate (internal, meaning internal flash, or an external, meaning
USB flash) memory source. You can then use this snapshot to boot the switch at the
next bootup or as a backup boot option.
You can only use snapshots to move files to external memory if the switch was booted
from internal memory, or to move files to internal memory if the switch was booted from
external memory. You cannot create a snapshot in the memory source that booted the
switch even if the snapshot is being created on a different partition in the same memory
source.
Snapshots are particularly useful for moving files onto USB flash drives. You cannot use
the copy command or any other file-moving technique to move files from an internal
memory source to USB memory on the switch.
System snapshots on EX Series switches have the following limitations:
Related
Documentation
You cannot use snapshots to move files to any destination outside of the switch other
than an installed external USB flash drive or to move files between switches that are
members of the same virtual chassis.
Snapshot commands, like other virtual chassis commands, are always executed on a
local switch. In cases where a different member switches of the same virtual chassis
requests the snapshot, the snapshot command is pushed to the VC member creating
the snapshot, executed, and the output is then returned to the switch that initiated the
process. For instance, if the command to create an external snapshot on virtual chassis
member 3 is entered from virtual chassis member 1, the snapshot of internal memory
on virtual chassis member 3 is taken on external memory on virtual chassis member
3. The output of the process is seen from virtual chassis member 1. No files move
between the switches.
Allows the switch to boot transparently from the second root partition if the system
fails to boot from the primary root partition.
Provides separation of the root Junos OS file system from the /var file system. If
corruption occurs in the /var file system (a higher probability than in the root file system
due to the greater frequency in /var of reads and writes), the root file system is insulated
from the corruption.
Resilient Dual-Root Partition Scheme (Junos OS Release 10.4R3 and Later) on page 10
Slice 2
Slice 3
s1a
s2a
s3e
s3d
s4d
/var
/var/tmp
/config
(root Junos OS )
(root Junos OS )
Slice 4
In the resilient dual-root partition scheme, the /var file system is contained in a separate
slice from the root file systems, the /config directory is contained in its own slice, and
switches ship from the factory with identical Junos OS images in slice 1 and slice 2. The
/var file system, which has a greater frequency of reads and writes than the root file
systems and is therefore more likely to have corruption issues, is isolated from the root
directories and the /config directory. If the switch fails to boot, the system automatically
boots from the alternate root partition. (If the switch fails to boot from the active root
partition and instead boots from the alternate root partition, an alarm is triggered.)
10
Slice 1
Slice 3
s1a
s1f
s2a
s2f
s3d
s3e
/var
(empty until
initial
software
upgrade)
(empty until
initial
software
upgrade)
/var/tmp
/config
(root Junos
OS)
This is the partitioning scheme for a switch shipped with Release 10.4R2 or earlier (or
after you reformat the disk during a downgrade from Release 10.4R3 or later to Release
10.4R2 or earlier). In this partitioning scheme, the switch comes from the factory with
only one Junos OS image installed in the root Junos OS partition of slice 1. The first time
that you perform a software upgrade, the new Junos OS image is installed in slice 2. If
the switch fails to boot, you must manually trigger it to boot from the alternate partition
(rebooting from the alternate partition does not occur automatically).
You must install a new loader software package in addition to installing the new Junos
OS image.
Rebooting after the upgrade reformats the disk from three partitions to four partitions.
You can perform all operations for this special software upgrade from the CLI.
CAUTION: Back up any important log files because the /var/log files are not
saved or restored during an upgrade from a nonresilient dual-root partition
release to a release that supports resilient dual-root partitions.
We recommend that you also save your /config files and any important log
files to an external medium because if there is a power interruption during
the upgrade process, they could be lost.
Related
Documentation
11
Licenses Overview
In an EX8200 Virtual Chassis, the devices in the master and backup roles are always
XRE200 External Routing Engines.
In all other Virtual Chassis, the devices in the master and backup roles are switches.
You do not need additional license keys for Virtual Chassis member switches that are in
the linecard role or for the redundant Routing Engine (RE) modules or the redundant
Switch Fabric and Routing Engine (SRE) modules in an EX8200 member switch.
This topic describes:
12
NOTE: You are required to provide a 12-digit serial number when purchasing
a license for an XRE200 External Routing Engine in an EX8200 Virtual Chassis.
The serial number listed on the XRE200 External Routing Engine serial ID
label is 16 digits long. Use the last 12 digits of the 16-digit serial number to
purchase the license.
You can use the show chassis hardware command output to display the 12-digit
serial number of the XRE200 External Routing Engine to use when you
purchase the license.
IGMP (Internet Group Management Protocol) version 1 (IGMPv1), IGMPv2, and IGMPv3
Protocol Independent Multicast (PIM) dense mode, PIM source-specific mode, PIM
sparse mode
Table 4 on page 13 lists the EFLs that you can purchase for EX2200 switch models. If
you have the license, you can run all the enhanced software features on your switch.
EX2200-C-12P-2G
EX2200-C-12T-2G
EX-12-EFL
EX2200-24T-4G
EX2200-24P-4G
EX-24-EFL
EX2200-48T-4G
EX2200-48P-4G
EX-48-EFL
13
Table 5 on page 14 lists the AFLs you can purchase for EX Series switch models. If you
have the license, you can run all the advanced software features on your switch.
EX3200-24P
EX3200-24T
EX4200-24F
EX4200-24P
EX4200-24T
EX-24-AFL
EX3200-48P
EX3200-48T
EX4200-48F
EX4200-48P
EX4200-48T
EX-48-AFL
EX4500-40F-BF
EX4500-40F-BF-C
EX4500-40F-FB
EX4500-40F-FB-C
EX-48-AFL
EX6200
EX6200-AFL
EX8208
EX8208-AFL
EX8216
EX8216-AFL
14
Table 6 on page 15 lists the EFLs that you can purchase for EX3300 switch models. If
you have the license, you can run all the above-mentioned enhanced software features
on your switch.
EX3300-24T
EX3300-24P
EX3300-24T-DC
EX-24-EFL
EX3300-48T/P
EX3300-48P
EX3300-48T-DC
EX-48-EFL
The system generates system log (syslog) alarm messages notifying you that the feature
requires a licensefor example:
Sep 3 05:59:11
craftd[806]: Minor alarm set, BGP Routing Protocol usage
requires a license
Sep 3 05:59:11
alarmd[805]: Alarm set: License color=YELLOW, class=CHASSIS,
reason=BGP Routing Protocol usage requires a license
Sep 3 05:59:11
alarmd[805]: LICENSE_EXPIRED: License for feature bgp(47) expired
Output of the show system alarms command displays the active alarms:
user@switch> show system alarms
1 alarm currently active
Alarm time
Class
2009-09-03 06:00:11 UTC Minor
Related
Documentation
Description
BGP Routing Protocol usage requires a license
15
License IDAlphanumeric string that uniquely identifies the license key. When a license
is generated, it is given a license ID.
License dataBlock of binary data that defines and stores all license key objects.
For example, in the following typical license key, the string Junos204558 is the license
ID, and the trailing block of data is the license data:
Junos204558 aeaqea qmijhd amrqha ztfmbu gqzama uqceds
ra32zr lsevik ftvjed o4jy5u fynzzj mgviyl
kgioyf ardb5g sj7wnt rsfked wbjf5a sg
The license data defines the device ID for which the license is valid and the version of the
license.
Related
Documentation
16
CHAPTER 2
Installing Junos OS
Using a Web browser, follow the links to the download URL on the Juniper Networks
webpage. For EX Series, there are not separate software packages for Canada the
U.S. and other locations. Therefore, select Canada and U.S. Version regardless of
your location:
https://www.juniper.net/support/csc/swdist-domestic/
2. Log in to the Juniper Networks authentication system using the username (generally
Related
Documentation
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
on page 18
17
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
You can use this procedure to upgrade Junos OS on an EX Series switch with a single
Routing Engine, including an individual member of an EX4200 Virtual Chassis or all
members of an EX4200 Virtual Chassis, or an EX8200 switch using a single Routing
Engine. To upgrade software on an EX8200 switch running two Routing Engines, see
Installing Software on an EX Series Switch with Redundant Routing Engines (CLI
Procedure) on page 19 or Upgrading Software on an EX8200 Standalone Switch Using
Nonstop Software Upgrade (CLI Procedure).
To install software upgrades on a switch with a single Routing Engine:
1.
See the Junos OS Installation and Upgrade Guide for instructions on performing this task.
3. (Optional) Copy the software package to the switch. We recommend that you use
ftp://hostname/pathname/package.tgz
http://hostname/pathname/package.tgz
Other members of the Virtual Chassis are not affected. To install the software on all
members of the Virtual Chassis, do not include the member option.
18
NOTE: To abort the installation, do not reboot your device; instead, finish
the installation and then issue the request system software delete
package.tgz command, where package.tgz is, for example,
jinstall-ex-8200-10.2R1.8-domestic-signed.tgz. This is your last chance to
stop the installation.
is properly installed:
user@switch> show version
Related
Documentation
NOTE: If your EX8200 switch is running Junos OS Release 10.4 or later, you
can upgrade the software packages on both Routing Engines with a single
command and with minimal network disruption by using nonstop software
upgrade (NSSU) instead of this procedure. See Upgrading Software on an
EX8200 Standalone Switch Using Nonstop Software Upgrade (CLI
Procedure).
19
To upgrade the software package on an EX6200 switch or an EX8200 switch with one
installed Routing Engine, see Installing Software on an EX Series Switch with a Single
Routing Engine (CLI Procedure) on page 18.
To upgrade redundant Routing Engines, you first install the new Junos OS release on the
backup Routing Engine while keeping the currently running software version on the master
Routing Engine. After making sure that the new software version is running correctly on
the backup Routing Engine, you switch device control to the backup Routing Engine.
Finally, you install the new software on the new backup Routing Engine.
To upgrade Junos OS on the switch, perform the following tasks:
1.
user@switch:RE% cli
user@switch> configure
{master}[edit]
user@switch# deactivate chassis redundancy graceful-switchover
20
{master}[edit]
user@switch# commit synchronize
[edit]
user@switch# exit
7. (Optional) Back up the current software configuration to a second storage option.
See the Junos OS Installation and Upgrade Guide for instructions on performing this task.
2. Copy the software package to the switch. We recommend that you use FTP to copy
NOTE: To abort the installation, do not reboot your device; instead, finish
the installation and then issue the request system software delete
package.tgz command, where package.tgz is, for example,
jinstall-ex-8200-10.2R1.8-domestic-signed.tgz. This is your last chance to
stop the installation.
NOTE: You must reboot the switch to load the new installation of the
Junos OS.
21
6. After the reboot has completed, log in and verify the new version of the software is
properly installed:
user@switch> show version
Backup
Master (default)
Master
Backup (default)
When the reboot completes, the prompt will reappear. Wait for this prompt to reappear
before proceeding to the next step.
6. Log in to the default backup Routing Engine (slot 1) through the console port.
7. Re-enable graceful Routing Engine switchover:
[edit]
user@switch# activate chassis redundancy graceful-switchover
Re-enabling graceful Routing Engine switchover allows any future Routing Engine
switchovers to occur without loss of any network traffic.
22
[edit]
user@switch# set routing-options nonstop-routing
[edit]
user@switch# commit synchronize
10. Log in and verify the version of the software installed.
If you want to return routing control to the Routing Engine that was the master Routing
Engine at the beginning of the procedure (the default master Routing Engine), perform
the next task.
2. Verify that the default master Routing Engine (slot 0) is indeed the master Routing
Engine:
user@switch> show chassis routing-engine
Related
Documentation
Master
Master (default)
Backup
Backup (default)
23
2. Log in to the Juniper Networks authentication system using the username (generally
page 24.
5. Click Fetch and Install Package. The software is activated after the switch has
rebooted.
Function
Your Action
Package Location
(required)
User
Password
Reboot If Required
24
on page 25.
4. Click Upload and Install Package. The software is activated after the switching
Function
Your Action
File to Upload
(required)
Reboot If Required
Related
Documentation
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
on page 18
2. Select one:
Reboot when the system time is hour:minute Reboots the switch at the absolute
time that you specify, on the current day. You must select a 2-digit hour in 24-hour
format and a 2-digit minute.
Halt Immediately Stops the switching platform software immediately. After the
switching platform software has stopped, you can access the switching platform
through the console port only.
25
3. (Optional) In the Message box, type a message to be displayed to any users on the
halt.
5. Click OK to confirm the operation.
Related
Documentation
26
If the reboot is scheduled to occur immediately, the switch reboots. You cannot
access the J-Web interface until the switch has restarted and the boot sequence
is complete. After the reboot is complete, refresh the browser window to display
the J-Web interface login page.
If the reboot is scheduled to occur in the future, the Reboot page displays the time
until reboot. You have the option to cancel the request by clicking Cancel Reboot
on the J-Web interface Reboot page.
If the switch is halted, all software processes stop and you can access the switching
platform through the console port only. Reboot the switch by pressing any key on
the keyboard.
CHAPTER 3
In the J-Web interface, select Maintain > Customer Support > Product Registration.
Note the serial number that is displayed.
2. Click Register. Enter the serial number in the page that is displayed.
Related
Documentation
27
Booting an EX Series Switch Using a Software Package Stored on a USB Flash Drive
There are two methods of getting Junos OS onto a USB flash drive before using the
software to boot the switch. You can pre-install the software onto the USB flash drive
before inserting the USB flash drive into the USB port, or you can use the system snapshot
feature to copy files from internal switch memory to the USB flash drive.
To move files into USB flash memory using a system snapshot and use those files to
boot the switch, see Creating a Snapshot and Using It to Boot an EX Series Switch on
page 29. We recommend that you use this method to boot the switch from a USB flash
drive if your switch is running properly.
If you need to pre-install the software onto the USB flash drive, you can use the method
described in this topic. Pre-installing the Junos OS onto a USB flash drive to boot the
switch can be done at any time and is particularly useful when the switch boots to the
loader prompt because the switch cannot locate the Junos OS in internal flash memory.
Ensure that you have the following tools and parts available to boot the switch from a
USB flash drive:
A USB flash drive that meets the EX Series switch USB port specifications. See USB
Port Specifications for an EX Series Switch.
A computer or other device that you can use to download the software package from
the Internet and copy it to the USB flash drive.
To download a Junos OS package onto a USB flash drive before inserting the USB flash
drive:
1.
Download the Junos OS package that you would like to place onto the EX Series
switch from the Internet onto the USB flash drive using your computer or other device.
See Downloading Software Packages from Juniper Networks on page 17.
2. Remove the USB flash drive from the computer or other device.
3. Insert the USB flash drive into the USB port on the switch.
4. This step can only be performed when the prompt for the loader script (loader>) is
displayed. The loader script starts when the Junos OS loads but the CLI is not working
for any reason or if the switch has no software installed.
Install the software package onto the switch:
loader> install source
where source represents the name and location of the Junos OS package on the USB
flash drive. The Junos OS package on a flash drive is commonly stored in the root drive
as the only filefor example, file:///jinstall-ex-4200-9.4R1.5-domestic-signed.tgz.
Related
Documentation
28
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
on page 18
Chapter 3: Registering the Switch, Booting the Switch, Upgrading Software, and Managing Licenses
See Switch Fabric and Routing Engine (SRE) Module in an EX8208 Switch for USB
port location.
See Routing Engine (RE) Module in an EX8216 Switch for USB port location.
Creating a Snapshot on a USB Flash Drive and Using It to Boot the Switch on page 29
Creating a Snapshot on a USB Flash Drive and Using It to Boot the Switch
A snapshot can be created on USB flash memory after a switch is booted using files
stored in internal memory.
Ensure that you have the following tools and parts available before creating a snapshot
on a USB Flash drive:
A USB flash drive that meets the EX Series switch USB port specifications. See USB
Port Specifications for an EX Series Switch.
To create a snapshot on USB flash memory and use it to boot the switch:
1.
NOTE: This example uses the partition option. If you have already created
a partition for the snapshot, you dont need to use the partition option.
2. (Optional) Perform this step if you want to boot the switch now using the snapshot
stored on the USB flash drive. If you created the snapshot as a backup, do not perform
this step.
29
To reboot the switch using a snapshot in a specific partition on the USB flash drive:
user@switch> request system reboot media external slice 1
Creating a Snapshot on an Internal Flash Drive and Using it to Boot the Switch
A snapshot can be created on internal memory after a switch is booted using files stored
in external memory.
To create a snapshot in internal memory and use it to boot the switch:
1.
NOTE: This example uses the partition option. If you have already created
a partition for the snapshot, you dont need to use the partition option.
2. (Optional) Perform this step if you want to boot the switch now using the newly
created snapshot. If you created the snapshot as a backup, do not perform this step.
Related
Documentation
Upgrading Software
30
Chapter 3: Registering the Switch, Booting the Switch, Upgrading Software, and Managing Licenses
EX Series switch downloads and installs the software package specified in the DHCP
server message.
Before you upgrade software using automatic software download, ensure that you have
configured DHCP services for the switch, including configuring a path to a boot server
and a boot file. See the Junos OS System Basics Configuration Guide for information about
using the CLI to configure DHCP services and settings. See Configuring DHCP Services
(J-Web Procedure) for information about using the J-Web interface to configure DHCP
services and settings.
To enable automatic software download on an EX Series switch acting as a DHCP client:
[edit chassis]
user@switch# set auto-image-upgrade
Once automatic software download is enabled on your DHCP client EX Series switch
and once DHCP services are enabled on your network, an automatic software download
can occur at any time as part of the DHCP message exchange process.
If an automatic software download occurs, you see the following message on the switch:
Auto-image upgrade started
On successful installation system will reboot automatically
Managing Licenses
Obtained the needed licenses. For information about how to purchase software licenses,
contact your Juniper Networks sales representative.
31
Understand what makes up a license key. For more information, see License Key
Components for the EX Series Switch on page 16.
To add one or more license keys from a file or URL, specify the filename of the file
or the URL where the key is located:
user@switch> request system license add filename | url
2. When prompted, enter the license key, separating multiple license keys with a blank
line.
If the license key you enter is invalid, an error appears in the CLI output when you press
Ctrl+d to exit the license entry mode.
Deleting Licenses
To delete one or more license keys from the switch with the CLI, specify the license ID:
user@switch> request system license delete license-id
For example, the following command saves the installed license keys to a file named
license.conf:
user@switch> request system license save ftp://user@switch/license.conf
Related
Documentation
32
Chapter 3: Registering the Switch, Booting the Switch, Upgrading Software, and Managing Licenses
Obtained the needed licenses. For information about how to purchase software licenses,
contact your Juniper Networks sales representative.
Understand what makes up a license key. For more information, see License Key
Components for the EX Series Switch on page 16.
2. Under Installed Licenses, click Add to add a new license key or keys.
3. Do one of the following, using a blank line to separate multiple license keys:
In the License File URL box, type the full URL to the destination file containing the
license key or keys to be added.
In the License Key Text box, paste the license key text, in plain-text format, for the
license to be added.
A list of features that use the license key is displayed. The table also lists the ID, state,
and version of the license key.
Deleting Licenses
To delete one or more license keys from a switch with the J-Web license manager:
1.
2. Select the check box of the license or licenses you want to delete.
3. Click Delete.
33
2. Under Installed Licenses, click Display Keys to display all the license keys installed
on the switch.
A screen displaying the license keys in text format appears. Multiple licenses are separated
by a blank line.
Downloading Licenses
To download the license keys installed on the switch with the J-Web license manager:
1.
2. Under Installed Licenses, click Download Keys to download all the license keys
34
CHAPTER 4
Routine Monitoring
Meaning
The output from this command shows the name and location of the software package
under DHCP options when automatic software download was last used to install a
software package. The sample output in DHCP options shows that the last DHCP server
35
message to arrive on the DHCP client had a boot server address of 192.168.1.165 and a
boot file named jinstall-ex-4200-9.6R1.5-domestic-signed.tgz. If automatic software
download was enabled on this client switch during the last DHCP message exchange,
these values were used by the switch to upgrade the software.
Related
Documentation
Verify that a system snapshot was created with the proper files on an EX Series switch.
View the snapshot:
user@switch> show system snapshot media external
Information for snapshot on external (da1s1)
Creation date: Oct 1320:23:23 2009
Junos version on snapshot:
jbase : 10.0I20090726_0011_user
jcrypto-ex: 10.0I20090726_0011_user
jdocs-ex: 10.0I20090726_0011_user
jkernel-ex: 10.0I20090726_0011_user
jroute-ex: 10.0I20090726_0011_user
jswitch-ex: 10.0I20090726_0011_user
jweb-ex: 10.0I20090726_0011_user
jpfe-ex42x: 10.0I20090726_0011_user
Meaning
The output shows the date and time when the snapshot was created and the packages
that are part of the snapshot. The date and time match the time when you created the
snapshot.
You can compare the output of this command to the output of the show system software
command to ensure that the snapshot contains the same packages as the software
currently running the switch.
Related
Documentation
36
Action
Between Junos OS Release 10.4R2 and Release 10.4R3, upgrades were made to further
increase resiliency of root partitions, which required reformatting the disk from three
partitions to four partitions. If your switch is running Release 10.4R2 or earlier, it has three
partitions, and if it is running Release 10.4R3 or later, it has four partitions.
Verify how many partitions the disk has, as well as where each file system is mounted,
by using the following command:
user@switch> show system storage
fpc0:
----------------------------------------------------------------------Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 184M 124M
45M
73%
/
devfs
1.0K 1.0K
0B
100% /dev
/dev/md0
37M
37M
0B
100% /packages/mnt/jbase
/dev/md1
18M
18M
0B
100%
/packages/mnt/jcrypto-ex-10.4I20110121_0509_hbRPSRLI15184421081
/dev/md2
6.1M 6.1M
0B
100%
/packages/mnt/jdocs-ex-10.4I20110121_0509_hbRPSRLI15184421081
/dev/md3
154M 154M
0B
100%
/packages/mnt/jkernel-ex-10.4I20110121_0509_hbRPSRLI15184421081
/dev/md4
23M
23M
0B
100%
/packages/mnt/jpfe-ex42x-10.4I20110121_0509_hbRPSRLI15184421081
/dev/md5
46M
46M
0B
100%
/packages/mnt/jroute-ex-10.4I20110121_0509_hbRPSRLI15184421081
/dev/md6
28M
28M
0B
100%
/packages/mnt/jswitch-ex-10.4I20110121_0509_hbRPSRLI15184421081
/dev/md7
22M
22M
0B
100%
/packages/mnt/jweb-ex-10.4I20110121_0509_hbRPSRLI15184421081
/dev/md8
126M 10.0K 116M
0% /tmp
/dev/da0s3e 123M
632K 112M
1% /var
/dev/da0s3d 369M
20K 339M
0% /var/tmp
/dev/da0s4d
62M
62K
57M
0% /config
/dev/md9
118M
12M
96M
11% /var/rundb
procfs
4.0K 4.0K
0B
100% /proc
/var/jail/etc 123M 632K 112M
1%
/packages/mnt/jweb-ex-10.4I20110121_0509_hbRPSRLI15184421081/jail/var/etc
/var/jail/run 123M
632K 112M
1%
/packages/mnt/jweb-ex-10.4I20110121_0509_hbRPSRLI15184421081/jail/var/run
/var/jail/tmp 123M
632K 112M
1%
/packages/mnt/jweb-ex-10.4I20110121_0509_hbRPSRLI15184421081/jail/var/tmp
/var/tmp
369M
20K 339M
0%
/packages/mnt/jweb-ex-10.4I20110121_0509_hbRPSRLI15184421081/jail/var/tmp/uploads
devfs
1.0K
1.0K
0B 100%
/packages/mnt/jweb-ex-10.4I20110121_0509_hbRPSRLI15184421081/jail/dev
Meaning
The presence of the partition name containing s4d indicates the fourth slice. If this were
a three-slice partition scheme, in place of s1a, s3e, s3d, and s4d, you would see s1a, s1f,
s2a, s2f, s3d, and s3e and you would not see s4d.
37
Action
For the special case of upgrading from Junos OS Release 10.4R2 or earlier to Release
10.4R3 or later, you must upgrade the loader software.
For EX Series switches, except EX8200 switches:
user@switch> show chassis firmware
Part
Type
FPC 0
uboot
loader
Version
U-Boot 1.1.6 (Jan
Meaning
Version
U-Boot 1.1.6 (Jan
For EX Series switches, other than EX8200 switches, with Junos OS Release 10.4R3 or
later installed:
If there is version information following the timestamp for U-Boot (1.0.0 in the preceding
example), then the loader software does not require upgrading.
If there is no version number following the timestamp for U-boot, then the loader
software requires upgrading.
For EX8200 switches, if the version number following the timestamp for U-Boot is earlier
than 3.5.0, you must upgrade the loader software when you upgrade the software version.
Switches running Release 10.4R3 or later have resilient dual-root partition functionality,
which includes the ability to boot transparently from the inactive partition if the system
fails to boot from the primary root partition.
You can verify which root partition is active using the following command:
Action
38
Action
Each switch contains two root partitions. We recommend that you copy the same Junos
OS version in each partition when you upgrade. In Junos OS Release 10.4R2 and earlier,
you might choose to have different Junos OS release versions in each partition. You might
have different versions during a software upgrade and before you have finished verifying
the new software installation. To enable a smooth reboot if corruption is found in the
primary root file system, ensure that the identical Junos OS images are in each root
partition. For Release 10.4R2 and earlier, you must manually reboot the switch from the
backup root partition. However, for Release 10.4R3 and later, the switch reboots
automatically from the backup root partition if it fails to reboot from the active partition.
Verify whether both root partitions contain the same image by using the following
commands:
user@switch> show system snapshot media internal slice 1
Information for snapshot on internal (da0s1)
Creation date: Jan 21 05:48:34 2011
JUNOS version on snapshot:
jbase : 10.4I20110121_0509_hbRPSRLI15184421081
jcrypto-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jdocs-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jkernel-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jroute-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jswitch-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jweb-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jpfe-ex42x: 10.4I20110121_0509_hbRPSRLI15184421081
user@switch# run show system snapshot media internal slice 2
Information for snapshot on internal (da0s2)
Creation date: Jan 21 05:47:54 2011
JUNOS version on snapshot:
jbase : 10.4I20110121_0509_hbRPSRLI15184421081
jcrypto-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jdocs-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jkernel-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jroute-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jswitch-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jweb-ex: 10.4I20110121_0509_hbRPSRLI15184421081
jpfe-ex42x: 10.4I20110121_0509_hbRPSRLI15184421081
Related
Documentation
39
Troubleshooting a Switch That Has Booted from the Backup Junos OS Image on
page 46
Monitoring Licenses
Verify that the expected license is installed and active on the switch and fully covers the
switch configuration.
Action
From the CLI, enter the show system license command. (To display only the License usage
list, enter the show system license usage command. To display only the Licenses installed
output, enter show system license installed.)
user@switch> show system license
License usage:
Licenses
Licenses
Licenses
used
installed
needed
bgp
permanent
isis
permanent
ospf3
permanent
ripng
permanent
mpls
permanent
Feature name
40
Expiry
Licenses installed:
License identifier: JUNOS204558
License version: 2
Valid for device: BN0208380000
Features:
exseries - Licensed routing protocols in ex-series
permanent
Meaning
The output shows the license or licenses (for Virtual Chassis deployments) installed on
the switch and license usage. Verify the following information:
The appropriate number of licenses is installed. Each switch requires one license. For
a Virtual Chassis deployment, two licenses are recommended for redundancy.
Verify that the expected license keys are installed on the switch.
From the CLI, enter the show system license keys command.
user@switch> show system license keys
JUNOS204558 aeaqea qmijhd amrqha ztfmbu gqzama uqceds
ra32zr lsevik ftvjed o4jy5u fynzzj mgviyl
kgioyf ardb5g sj7wnf rsdked wbjf5a sg
Meaning
Related
Documentation
The output shows the license key or keys (for Virtual Chassis deployments) installed on
the switch. Verify that each expected license key is present.
41
42
CHAPTER 5
Troubleshooting a Switch That Has Booted from the Backup Junos OS Image on page 46
Installation from the Boot Loader Generates cannot open package Error on page 45
If Junos OS loads but the CLI is not working, or if the switch has no software installed,
use this recovery installation procedure to install Junos OS.
Solution
If there is already a Junos OS image on the system, you can either install the new Junos
OS package in a separate partition and have both Junos OS images remain on the system,
or you can wipe the disk clean before the new installation proceeds.
If there is no Junos OS image on the system, follow the instructions in Booting an EX
Series Switch Using a Software Package Stored on a USB Flash Drive on page 28 to get
an image on the system and boot the switch.
To perform a recovery installation:
1.
2. Press the space bar to enter the manual loader. The loader> prompt displays.
3. Enter the following command:
43
where:
formatUse this option to wipe the installation media before installing the software
package. If you do not include this option, the system installs the new Junos OS
package in a different partition from the partition used by the most recently installed
Junos OS package.
Network address of the server and the path on the server; for example,
tftp://192.17.1.28/junos/jinstall-ex-4200-9.4R1.5-domestic-signed.tgz
The Junos OS package on a USB device is commonly stored in the root drive as
the only file; for example, file:///jinstall-ex-4200-9.4R1.5-domestic-signed.tgz
The boot process proceeds as normal and ends with a login prompt.
EX Series switches shipped with Junos OS Release 10.4R2 or earlier have Junos OS loaded
on the system disk in partition 1. The first time you upgrade, the new software package
is installed in partition 2. When you finish the installation and reboot, partition 2 becomes
the active partition. Similarly, subsequent software packages are installed in the inactive
partition, which becomes the active partition when you reboot at the end of the installation
process.
On switches shipped with Release 10.4R3 and later, the same Junos OS image is loaded
in each of the two root partitions, and you should copy the new software image to the
alternate partition each time you upgrade.
If you performed an upgrade and rebooted, the system resets the active partition. You
can use this procedure to manually boot from the inactive partition.
NOTE: If you have completed the installation of the software image but have
not yet rebooted, issue the request system software rollback command to
return to the original software installation package.
Solution
44
NOTE: If you cannot access the CLI, you can reboot from the inactive partition
using the following procedure from the loader script prompt:
1.
Unload and clear the interrupted boot from the active partition:
loader> unload
loader> unset vfs.root.mountfrom
loader> boot
The software installation process requires a certain amount of unused disk space. If there
is not enough space, you might receive an error message such as:
fetch: /var/tmp/incoming-package.tgz: No space left on device
Solution
Identify and delete unnecessary files by using the request system storage cleanup
command.
Installation from the Boot Loader Generates cannot open package Error
Problem
When installing a Junos OS software image from the loader prompt, a cannot open
package error is generated:
loader> install - -format
tftp://10.204.33.248/images/Flash_corr/official/jinstall-ex-4200-10.4I2011012-domestic-signed.tgz
Speed: 1000, full duplex
bootp: no reply
No response for RARP request
net_open: RARP failed
cannot open package (error 5)
Solution
This might be due to the IP address, gateway IP address, netmask address, or server IP
address not being properly set. You can set these values either from the shell or from the
u-boot prompt.
To set these values from the shell:
%
%
%
%
45
To set these values from the u-boot prompt, log in to a console connection, reboot, and
stop at the u-boot prompt (Cntrl+c):
=> setenv ipaddr 10.204.35.235
=> setenv gatewayip 10.204.47.254
=> setenv serverip 10.204.33.248
=> setenv netmask 255.255.240.0
=> saveenv
=> printenv Verify whether variables are set properly or not
=> boot
Related
Documentation
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
on page 18
show system storage partitions (EX Series Switches Only) on page 109
Troubleshooting a Switch That Has Booted from the Backup Junos OS Image
Problem
The switch boots from the backup root file partition. This event is flagged in two ways:
Upon login through the console or management port, the following warning message
is displayed:
WARNING: THIS DEVICE HAS BOOTED FROM THE BACKUP JUNOS IMAGE
It is possible that the primary copy of JUNOS failed to boot up
properly, and so this device has booted from the backup copy.
Please re-install JUNOS to recover the primary copy in case
it has been corrupted.
Solution
Description
Host 0 Boot from backup root
Install a new Junos OS image on the partition that had the corruption, or take a snapshot
(request system snapshot ) of the currently active partition and use it to replace the
image in the backup partition:
user@switch> request system snapshot media internal slice alternate
Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes)
The following filesystems were archived: /
46
Related
Documentation
show system storage partitions (EX Series Switches Only) on page 109
How Does Upgrading to Junos OS Release 10.4R3 and Later Differ from Normal
Upgrades? on page 47
What Happens If I Do Not Upgrade Both the Loader Software and Junos OS at the
Same Time? on page 48
Can I Upgrade to a Resilient Dual-Root Partition Release by Using the CLI? on page 49
What Happens to My Files If the System Detects a File System Corruption? on page 49
How Will I Be Informed If My Switch Boots from the Alternate Slice Due to Corruption
in the Root File System? on page 50
Why Is the Message "At least one package installed on this device has limited support"
Displayed When Users Log In to a Switch? on page 51
How Does Upgrading to Junos OS Release 10.4R3 and Later Differ from Normal Upgrades?
Upgrading from Junos OS Release 10.4R2 or earlier to Release 10.4R3 or later differs from
other upgrades in these ways:
You must upgrade the loader software in addition to installing the new Junos OS image.
Rebooting after the upgrade reformats the disk from three partitions to four partitions.
The upgrade process and the reboot take longer due to the additional time required
to upgrade the loader software and additional time for the first reboot after the Junos
OS installation (longer than normal because it reformats the disk from three partitions
to four). Also, EX8200 switches require an additional reboot per Routing Engine as
part of the loader software upgrade.
47
What Happens If I Do Not Upgrade Both the Loader Software and Junos OS at the Same Time?
You must install a new loader software package if you are upgrading to a release that
supports resilient dual-root partitions (Release 10.4R3 and later) from an earlier release
(Release 10.4R2 and earlier).
If you upgrade to Release 10.4R3 or later from Release 10.4R2 or earlier and do not upgrade
the loader software, the switch will come up and function normally. However, if the switch
encounters a problem and cannot boot from the active root partition, it cannot
transparently boot up from the alternate root partition and you will need to perform a
manual reboot.
Loader Software
Notes
Recommended
48
From a console connection, reboot and stop at the u-boot prompt (Ctrl+c):
=> setenv boot.btsq.disable 1
=> savenv
If you are downgrading from Release 10.4R4 or from Release 11.1R2 or later
to Release 10.4R2 or earlier, you do not need to disable the boot-sequencing
functionthe software does it automatically.
49
Slice 2
Slice 3
s1a
s2a
s3e
s3d
s4d
/var
/var/tmp
/config
Slice 4
How Will I Be Informed If My Switch Boots from the Alternate Slice Due to Corruption in the
Root File System?
If the switch detects corruption in the primary root file system, it boots from the alternate
root partition. When this occurs, you are notified in two ways:
If you are logged in through the console port or the management port:
WARNING: THIS DEVICE HAS BOOTED FROM THE BACKUP JUNOS IMAGE
It is possible that the primary copy of JUNOS failed to boot up
properly, and so this device has booted from the backup copy.
Please re-install JUNOS to recover the primary copy in case
it has been corrupted.
The following alarm message is displayed when you issue show chassis alarms:
user@switch> show chassis alarms
1 alarms currently active
Alarm time
Class
2011-02-17 05:48:49 PST Minor
Description
Host 0 Boot from backup root
Can I Use Automatic Software Update and Download to Upgrade to a Resilient Dual-Root
Partition Release?
Automatic software update and automatic software download are both supported with
upgrading to resilient dual-root partition releases. However, after an automatic installation,
you must take the extra step of upgrading the loader software.
Automatic software update is for new members added to a Virtual Chassis that do not
have the same software as the master. Once this feature is configured on the Virtual
Chassis, any new member added with a different software version will be upgraded
automatically.
50
Automatic software download uses the DHCP message exchange process to download
and install software packages.
Why Is the Message "At least one package installed on this device has limited support" Displayed
When Users Log In to a Switch?
The following message might be displayed when a user logs in:
Logging to master
..Password:
--- JUNOS 10.4R3.4 built 2011-03-19 22:06:32 UTC
At least one package installed on this device has limited support.
Run 'file show /etc/notices/unsupported.txt' for details.
This message can be safely ignored or you can permanently remove it. It appears because
the jloader package file has been detected, and it only appears when Junos OS is installed
before the loader software is upgraded (required only for EX8200 switches).
You can permanently remove this message by removing the jloader package and rebooting
the system:
user@switch> request system software delete jloader-ex-zzzz
user@switch> request system reboot
Where jloader-ex-zzzz represents the name of the jloader software package for your
platformjloader-ex2200 for an EX2200 switch, jloader-ex3242 for an EX3200 or EX4200
switch, or jloader-ex8200 for an EX8200 switch.
Troubleshooting a Switch That Has Booted from the Backup Junos OS Image on
page 46
51
52
CHAPTER 6
53
redundancy {
graceful-switchover;
}
}
Related
Documentation
Configuring Line-Card Upgrade Groups for Nonstop Software Upgrade (CLI Procedure)
auto-image-upgrade
Syntax
Hierarchy Level
Release Information
Description
auto-image-upgrade;
[edit chassis]
Default
Required Privilege
Level
Related
Documentation
54
CHAPTER 7
55
Description
Options
is located.
terminalLicense key from the terminal.
Required Privilege
Level
Related
Documentation
List of Sample Output
Output Fields
maintenance
Sample Output
request system license
add
56
Release Information
Description
Options
Delete a license key. You can delete only one license at a time.
license-idLicense ID that uniquely identifies a license key.
license-identification(QFX Series) License ID that uniquely identifies a license key.
Required Privilege
Level
Related
Documentation
List of Sample Output
Output Fields
maintenance
Deleting a License
Sample Output
request system license
delete
57
Description
Options
is located.
terminalLicense key from the terminal.
Required Privilege
Level
Related
Documentation
List of Sample Output
Output Fields
maintenance
Sample Output
request system license
save
58
Release Information
Description
59
Options
reboot all T640 routers (or line-card chassis) connected to the TX Matrix router. On
a TX Matrix Plus router, reboot all T1600 routers (or line-card chassis) connected
to the TX Matrix Plus router.
all-lcc(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router,
reboot all T640 routers (or line-card chassis) connected to the TX Matrix router. On
a TX Matrix Plus router, reboot all T1600 routers (or line-card chassis) connected
to the TX Matrix Plus router.
all-members(EX4200 switches and MX Series routers only) (Optional) Reboot the
ways:
hh:mmAbsolute time on the current day at which to stop the software, specified
in 24-hour time.
in minutes(Optional) Number of minutes from now to reboot the software. This option
the number of a T640 router that is connected to the TX Matrix router. On a TX Matrix
Plus router, the number of a T1600 router that is connected to the TX Matrix Plus
router. Replace number with a value from 0 through 3.
local(EX4200 switches and MX Series routers only) (Optional) Reboot the software
for next boot. (The options removable-compact-flash and usb pertain to the J Series
routers only.)
media (external | internal)(EX Series switches and MX Series routers only) (Optional)
the software on the specified member of the Virtual Chassis configuration. For
EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series
Virtual Chassis, replace member-id with a value of 0 or 1.
60
command is issued. For example, if you issue the command from the master Routing
Engine, the backup Routing Engine is rebooted. Similarly, if you issue the command
from the backup Routing Engine, the master Routing Engine is rebooted.
partition(TX Matrix Plus routers only) (Optional) Reboot using the specified partition
scc(TX Matrix routers only) (Optional) Reboot the Routing Engine on the TX Matrix
router (or switch-card chassis). If you issue the command from re0, re0 is rebooted.
If you issue the command from re1, re1 is rebooted.
sfc number(TX Matrix Plus routers only) (Optional) Reboot the Routing Engine on the
TX Matrix Plus router (or switch-fabric chassis). If you issue the command from re0,
re0 is rebooted. If you issue the command from re1, re1 is rebooted. Replace number
with 0.
slice slice(EX Series switches only) (Optional) Reboot a partition on the boot media.
Additional Information
Reboot requests are recorded in the system log files, which you can view with the show
log command (see show log). Also, the names of any running processes that are scheduled
to be shut down are changed. You can view the process names with the show system
processes command (see show system processes).
On a TX Matrix or TX Matrix Plus router, if you issue the request system reboot command
on the master Routing Engine, all the master Routing Engines connected to the routing
matrix are rebooted. If you issue this command on the backup Routing Engine, all the
backup Routing Engines connected to the routing matrix are rebooted.
NOTE: To reboot a router that has two Routing Engines, reboot the backup
Routing Engine (if you have upgraded it) first, and then reboot the master
Routing Engine.
61
Required Privilege
Level
Related
Documentation
Output Fields
maintenance
Sample Output
request system reboot
The following example, which assumes that the time is 5 PM (17:00), illustrates
three different ways to request the system to reboot in two hours:
user@host> request system reboot at +120
user@host> request system reboot in 120
user@host> request system reboot at 19:00
To reboot the system at 1:20 AM, enter the following command. Because 1:20 AM is
the next day, you must specify the absolute time.
user@host> request system reboot at 06060120
request system reboot at 120
Reboot the system at 120? [yes,no] (no) yes
62
Release Information
Description
Options
localReboots the local switch, meaning the switch you are logged into, only.
at time(Optional) Time at which to reboot the software, specified in one of the following
ways:
hh:mmAbsolute time on the current day at which to reboot the software, specified
in 24-hour time.
reboots the switch using a software package stored on an external boot source, such
as a USB flash drive. The internal option reboots the switch using a software package
stored in an internal memory source.
message text(Optional) Message to display to all system users before rebooting the
software.
63
slice (1 | 2 | alternate)(Optional) Reboot using the specified partition on the boot media.
alternateReboot from the alternate partition, which is the partition that did not
Required Privilege
Level
Related
Documentation
Output Fields
maintenance
When you enter this command, you are provided feedback on the status of your request.
Sample Output
request system reboot
The following example, which assumes that the time is 5 PM (17:00), illustrates three
different ways to request the system to reboot in two hours:
user@host> request system reboot at +120
user@host> request system reboot in 120
user@host> request system reboot at 19:00
To reboot the system at 1:20 AM, enter the following command. Because 1:20 AM is the
next day, you must specify the absolute time.
user@host> request system reboot at 06060120
request system reboot at 120
Reboot the system at 120? [yes,no] (no) yes
64
Syntax (J Series
Routers)
Release Information
Description
On the router, back up the currently running and active file system partitions to standby
partitions that are not running. Specifically, the root file system (/) is backed up to
/altroot, and /config is backed up to /altconfig. The root and /config file systems are
on the router's flash drive, and the /altroot and /altconfig file systems are on the router's
hard drive.
On the switch, take a snapshot of the files currently used to run the switchthe
complete contents of the root (/) , /config, and /var directories, which include the
running Junos OS, the active configuration, and log files.
65
CAUTION: 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.
Options
On the router, back up the currently running and active file system partitions to
standby partitions that are not running. Specifically, the root file system (/) is
backed up to /altroot, and /config is backed up to /altconfig. The root and /config
file systems are on the router's flash drive, and the /altroot and /altconfig file
systems are on the router's hard drive.
On the switch, take a snapshot of the files currently used to run the switchthe
complete contents of the root file system /, /config directory, and /var directory,
which include the running Junos OS, the active configuration, and log filesand
copy all these files onto an external drive. (If a USB flash drive is not connected,
an error message is displayed.)
all-chassis | all-lcc | lcc number (TX Matrix and TX Matrix Plus router only) (Optional)
all-chassisOn a TX Matrix router, archive data and executable areas for all Routing
Engines in the chassis. On a TX Matrix Plus router, archive data and executable
areas for all Routing Engines in the chassis.
all-lccOn a TX Matrix router, archive data and executable areas for all T640
lcc numberOn a TX Matrix router, archive data and executable areas for a specific
and MX Series routers only) (Optional) Specify where to place the snapshot (archive
data and executable areas) in a Virtual Chassis:
66
as-primary(J Series routers only) (Optional) Create a snapshot that can be used to
replace the medium in the primary compact flash drive. This option can be used on
the removable compact flash only. The option copies the default files that were
loaded on the primary compact flash drive when it was shipped from the factory,
plus the rescue configuration if one has been set. This option is useful if you have
multiple routers and want to use the same software and configuration on each router.
After a boot device is created as a primary compact flash drive, it can operate in only
a primary compact flash drive slot. This option causes the boot medium to be
partitioned.
config-size size(J Series routers only) (Optional) Specify the size of the config partition,
megabytes. The default value is 0 MB. The data partition is mounted on /data. This
space is not used by the router, and can be used for extra storage. This option causes
the boot medium to be partitioned.
factory(J Series routers only) (Optional) Copy only default files that were loaded on
the primary compact flash drive when it was shipped from the factory, plus the rescue
configuration if one has been set. After the boot medium is created with the factory
option, it can operate in only the primary compact flash drive.
media type(J Series routers and EX Series switches only)(Optional) Specify the boot
as a USB flash drive. If the media option is not specified, this is the default. If a USB
drive is not connected, the switch displays an error message.
usb(M320, T640, MX960, and J Series routers only) Copy software to the device
table on the flash drive is corrupted, the request system snapshot command fails
and reports errors. The partition option is only supported for restoring the software
image from the hard drive to the flash drive.
(Routers only) You cannot issue the request system snapshot command when you
enable flash disk mirroring. We recommend that you disable flash disk mirroring
when you upgrade or downgrade the software. For more information, see the Junos
OS System Basics Configuration Guide.
re0 | re1 | routing-engine routing-engine-id(EX8200 switch only) Specify where to place
67
Engine.
root-size size(J Series routers only) (Optional) Specify the size of the root partition, in
megabytes. The default value is one-third of the physical memory minus the config,
data, and swap partitions. The root partition is mounted on / and does not include
configuration files. This option causes the boot medium to be partitioned.
slice (1 | 2 |alternate)(EX Series switches only) (Optional) Take a snapshot of the active
root partition and copy it to the selected slice on the boot media.
scc(TX Matrix router only) (Optional) Archive data and executable areas for a TX Matrix
for a TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.
swap-size size(J Series router only) (Optional) Specify the size of the swap partition,
(Routers only) Before upgrading the software on the router, 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. After you have
upgraded the software on the router 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.
(Routers only) You cannot issue the request system snapshot command when you
enable flash disk mirroring. We recommend that you disable flash disk mirroring when
you upgrade or downgrade the software. For more information, see the Junos OS System
Basics Configuration Guide
Required Privilege
Level
68
(TX Matrix and TX Matric Plus router only) On a routing matrix, if you issue the request
system snapshot command on the master Routing Engine, all the master Routing
Engines connected to the routing matrix are backed up. If you issue this command on
the backup Routing Engine, all the backup Routing Engines connected to the routing
matrix are backed up.
maintenance
Related
Documentation
List of Sample Output
Output Fields
Sample Output
request system
snapshot (Routers)
request system
snapshot (EX Series
Switches)
request system
snapshot (When
Partition Flag Is On)
request system
snapshot (When
Mirroring Is Enabled)
request system
snapshot all-lcc
(Routing Matrix)
69
request system
snapshot all-members
(Virtual Chassis)
70
71
<no-copy>
<no-validate>
<re0 | re1>
<reboot>
<unlink>
<validate>
Release Information
Description
Options
For example:
72
NOTE:
The pathname in the protocol is the relative path to the users home
directory on the remote system and not the root directory.
Do not use the scp protocol in the request system software add
command to download and install a software package or bundle from
a remote location. The previous statement does not apply to the
QFabric switch. The software upgrade is handled by the MGD process
which does not support scp.
Use the file copy command to copy the software package or bundle
from the remote location to the /var/tmp directory on the hard disk:
file copy scp://source/package-name /var/tmp
Then install the software package or bundle using the request system
software add command:
request system software add /var/tmp/package-name
all (QFabric switches only) (Optional) Install the software package on all of the QFabric
components.
best-effort-load(Optional) Activate a partial load and treat parsing errors as warnings
instead of errors.
component (all | director-group | fabric | node-group-name)(QFabric switches only)
processes.
director-group (QFabric switches only) (Optional) Install software package on the
73
lcc number (TX Matrix and TX Matrix Plus routers only) (Optional) In a routing matrix
based on the TX Matrix router, install a software package or bundle on a T640 router
(or line-card chassis) that is connected to the TX Matrix router. In a routing matrix
based on the TX Matrix Plus router, install a software package or bundle on a T1600
router (or line-card chassis) that is connected to the TX Matrix Plus router. Replace
number with a value from 0 through 3.
member member-id(MX Series routers only) (Optional) Install a software package on
installation.
scc(TX Matrix routers only) (Optional) Install a software package or bundle on a Routing
software package or bundle on the Routing Engine in slot 0 (re0) or Routing Engine
in slot 1 (re1).
reboot(Optional) After adding the software package or bundle, reboot the system. On
a QFabric switch, the software installation is not complete until you reboot the
component for which you have installed the software.
set [package-name package-name](Mixed EX4200 and EX4500 Virtual Chassis only)
(Optional) Install two software packages-a package for an EX4200 switch and the
same release of the package for an EX4500 switch-to upgrade all member switches
in a mixed EX4200 and EX4500 Virtual Chassis.
unlink(Optional) On J Series Services Routers, this option ensures that the software
package is removed at the earliest opportunity in order to make room for the
installation to be completed. On M Series, T Series, and MX Series routers, use the
unlink option to remove the software package from this directory after a successful
upgrade is completed.
validate(Optional) Validate the software package or bundle against the current
74
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. After you have upgraded
the software on the router or switch and are satisfied that the new package or bundle is
successfully installed and running, issue the request system snapshot command again
to back up the new software to the /altroot and /altconfig file systems.
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.
If you are upgrading more than one package at the same time, delete the operating
system package, jkernel, last. Add the operating system package, jkernel, first and the
routing software package, jroute, last. If you are upgrading all packages at once, delete
and add them in the following order:
user@host> request system software add /var/tmp/jbase
user@host> request system software add /var/tmp/jkernel
user@host> request system software add /var/tmp/jpfe
user@host> request system software add /var/tmp/jdocs
user@host> request system software add /var/tmp/jroute
user@host> request system software add /var/tmp/jcrypto
By default, when you issue the request system software add package-name command on
a TX Matrix master Routing Engine, all the T640 master Routing Engines that are
connected to it are upgraded to the same version of software. If you issue the same
command on the TX Matrix backup Routing Engine, all the T640 backup Routing Engines
that are connected to it are upgraded to the same version of software.
Likewise, when you issue the request system software add package-name command on
a TX Matrix Plus master Routing Engine, all the T1600 master Routing Engines that are
connected to it are upgraded to the same version of software. If you issue the same
command on the TX Matrix Plus backup Routing Engine, all the T1600 backup Routing
Engines that are connected to it are upgraded to the same version of software.
Required Privilege
Level
Related
Documentation
maintenance
75
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
request system
software add validate
Sample Output
request system
software add (Mixed
76
...
77
Release Information
Description
Options
software-packageSoftware package or bundle name. You can delete any or all of the
remove an extension or upgrade package from a specific T640 router (or 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 T1600 router (or line-card chassis)
that is connected to the TX Matrix Plus router. Replace number with a value from 0
through 3.
78
scc(TX Matrix routers only) (Optional) Remove an extension or upgrade package from
package from the TX Matrix Plus router (or switch-fabric chassis). Replace number
with 0.
Additional Information
Required Privilege
Level
Related
Documentation
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. 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. 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.
maintenance
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]
79
Comment:
JUNOS Kernel Software Suite [7.2R1.7]
...
80
Release Information
Description
Options
back to the previous set of packages on all members of the Virtual Chassis
configuration.
lcc number(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router,
attempt to roll back to the previous set of packages on a T640 router (or line-card
chassis) connected to the TX Matrix router. On a TX Matrix Plus router, attempt to
roll back to the previous set of packages on a T1600 router (or line-card chassis)
connected to the TX Matrix Plus router. Replace number with a value from 0 through
3.
local(EX4200 switches and MX Series routers only) (Optional) Attempt to roll back
to roll back to the previous set of packages on the specified member of the Virtual
Chassis configuration. For EX4200 switches, replace member-id with a value from
0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0
or 1.
81
scc(TX Matrix routers only) (Optional) Attempt to roll back to the previous set of
set of packages on the TX Matrix Plus router (or switch-fabric chassis). Replace
number with 0.
Additional Information
On the J Series router, you can use this command to roll back to a previous software
package when the current upgrade has been successful or has failed. On M Series and
T Series routers, use this command only to recover from a failed software upgradeyou
cannot issue this command to return to the previously installed software after using a
jinstall package. To return to the previously installed software, use the corresponding
jinstall package.
A software rollback fails if any required package (or a jbundle package containing the
required package) cannot be found in /var/sw/pkg.
Required Privilege
Level
Related
Documentation
82
maintenance
Sample Output
request system
software rollback
83
Release Information
Description
Options
validate the software bundle or package on a specific T640 router (or line-card
chassis) that is connected to the TX Matrix router. On a TX Matrix Plus router, validate
the software bundle or package on a specific T1600 router (or line-card chassis)
that is connected to the TX Matrix Plus router. Replace number with a value from 0
through 3.
member member-id(EX4200 switches and MX Series routers only) (Optional) Validate
the software bundle or package on the specified member of the Virtual Chassis
configuration. For EX4200 switches, replace member-id with a value from 0 through
9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1.
package-nameName of the software bundle or package to test.
scc(TX Matrix routers only) (Optional) Validate the software bundle or package for
84
By default, when you issue the request system software validate command on a TX Matrix
master Routing Engine, all the T640 master Routing Engines that are connected to it are
validated. If you issue the same command on the TX Matrix backup Routing Engine, all
the T640 backup Routing Engines that are connected to it are upgraded to the same
version of software.
Likewise, if you issue the request system software validate command on a TX Matrix Plus
master Routing Engine, all the T1600 master Routing Engines that are connected to it
are validated. If you issue the same command on a TX Matrix Plus backup Routing Engine,
all the T1600 backup Routing Engines that are connected to it are upgraded to the same
version of software.
Required Privilege
Level
Related
Documentation
Output Fields
maintenance
85
Sample Output
request system
software validate
(Successful Case)
request system
software validate
(Failure Case)
86
Release Information
Description
Options
validate the software bundle or package on a specific T640 router (or line-card
chassis) that is connected to the TX Matrix router. On a TX Matrix Plus router, validate
the software bundle or package on a specific T1600 router (or line-card chassis)
that is connected to the TX Matrix Plus router. Replace number with a value from 0
through 3.
member member-id(EX4200 switches and MX Series routers only) (Optional) Validate
the software bundle or package on the specified member of the Virtual Chassis
configuration. For EX4200 switches, replace member-id with a value from 0 through
9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1.
package-nameName of the software bundle or package to test.
scc(TX Matrix routers only) (Optional) Validate the software bundle or package for
By default, when you issue the request system software validate command on a TX Matrix
master Routing Engine, all the T640 master Routing Engines that are connected to it are
validated. If you issue the same command on the TX Matrix backup Routing Engine, all
the T640 backup Routing Engines that are connected to it are upgraded to the same
version of software.
87
Likewise, if you issue the request system software validate command on a TX Matrix Plus
master Routing Engine, all the T1600 master Routing Engines that are connected to it
are validated. If you issue the same command on a TX Matrix Plus backup Routing Engine,
all the T1600 backup Routing Engines that are connected to it are upgraded to the same
version of software.
Required Privilege
Level
Related
Documentation
Output Fields
88
maintenance
Sample Output
request system
software validate
(Successful Case)
request system
software validate
(Failure Case)
89
Release Information
Description
CAUTION: Before issuing this command, use the request system snapshot
command to back up the files currently used to run the switch to a secondary
device.
This command reboots the switch and sets it to the factory default configuration. After
the reboot, you cannot access the switch through the management Ethernet interface.
Log in through the console as root and start the Junos OS command-line interface (CLI)
by typing cli at the prompt.
Options
media(Optional) Erase all user-created files from the system including all plain-text
passwords, secrets, and private keys for SSH, local encryption, local authentication,
IPsec, RADIUS, TACACS+, and Simple Network Management Protocol (SNMP).
Instead of simply removing the user-created files, the media option erases the files
completely from the system and replaces all user-created data with zeros. Because
it scrubs the system more thoroughly and reboots the switch twice instead of once,
the request system zeroize media operation is more time-consuming than request
system zeroize and might require 10 minutes, for example.
Required Privilege
Level
Related
Documentation
maintenance
Sample Output
request system zeroize
90
warning: System will be rebooted and may not boot without configuration
Erase all data, including configuration and log files? [yes,no] (no) yes
0 1 1 0 0 0 done
syncing disks... All buffers synced.
Uptime: 5d19h20m26s
recorded reboot as normal shutdown
Rebooting...
U-Boot 1.1.6 (Mar 11 2011 - 04:39:06)
Board:
EPLD:
DRAM:
FLASH:
EX4200-24T 2.11
Version 6.0 (0x85)
Initializing (1024 MB)
8 MB
91
{master:0}
root> Waiting (max 60 seconds) for system process `vnlru' to stop...done
. . .
Syncing disks, vnodes remaining...2 4 2 4 3 2 1 1 0 0 0 done
syncing disks... All buffers synced.
Uptime: 14m50s
recorded reboot as normal shutdown
Rebooting...
U-Boot 1.1.6 (Apr 21 2011 - 13:58:42)
Board:
EPLD:
DRAM:
FLASH:
NAND:
0 MiB
EX4200-48PX 1.1
Version 8.0 (0x82)
Initializing (512 MB)
8 MB
No NAND device found!!!
92
. . .
zeroizing
. . .
zeroizing
. . .
zeroizing
. . .
zeroizing
. . .
/dev/da0s3d ...
/dev/da0s3e ...
/dev/da0s4d ...
/dev/da0s4e ...
EX4200-48PX 1.1
Version 8.0 (0x82)
Initializing (512 MB)
8 MB
No NAND device found!!!
93
** /dev/da0s1a
FILE SYSTEM CLEAN; SKIPPING CHECKS
clean, 20064 free (48 frags, 2502 blocks, 0.1% fragmentation)
zeroizing /dev/da0s2a ...
. . .
Creating initial configuration...mgd: error: Cannot open configuration file:
/config/juniper.conf
mgd: warning: activating factory configuration
mgd: commit complete
mgd: ---------------------------------------------------------mgd: Please login as 'root'. No password is required.
mgd: To start Initial Setup, type 'ezsetup' at the JUNOS prompt.
mgd: To start JUNOS CLI, type 'cli' at the JUNOS prompt.
mgd: ---------------------------------------------------------Setting initial options: debugger_on_panic=NO debugger_on_break=NO.
Starting optional daemons: .
Doing initial network setup:
. . .
Amnesiac (ttyu0)
94
Release Information
Description
(J Series routers and EX Series switches only) Display autoinstallation status information.
Options
Required Privilege
Level
view
Output Fields
Table 11 on page 95 describes the output fields for the show system autoinstallation status
command. Output fields are listed in the approximate order in which they appear.
Field Description
Autoinstallation status
Configuration server of last committed fileIP address or URL of server configured to retrieve
NameName of interface.
StateInterface state.
Address acquisitionDisplay IP address acquired and protocol used for acquisition upon bootup.
Sample Output
show system
autoinstallation status
95
Release Information
Description
Options
Display initial messages generated by the system kernel upon startup. These messages
are the contents of /var/run/dmesg.boot.
noneDisplay all boot time messages.
all-chassis(TX Matrix and TX Matrix Plus routers only) (Optional) Display boot time
display boot time messages for all T640 routers (or line-card chassis) connected
to a TX Matrix router. On a TX Matrix Plus router, display boot time messages for all
T1600 routers (or line-card chassis) connected to a TX Matrix Plus router.
all-members(EX4200 switches and MX Series routers only) (Optional) Display boot
display boot time messages for a specific T640 router connected to a TX Matrix
96
router. On a TX Matrix Plus router, display boot time messages for a specific T1600
router connected to a TX Matrix Plus router. Replace number with a value from 0
through 3.
local(EX4200 switches and MX Series routers only) (Optional) Display boot time
boot time messages on the specified member of the Virtual Chassis configuration.
For EX4200 switches, replace member-id with a value from 0 through 9. For an MX
Series Virtual Chassis, replace member-id with a value of 0 or 1.
node-group name(QFabric switches only) (Optional) Display boot time messages on
Required Privilege
Level
List of Sample Output
By default, when you issue the show system boot-messages command on a TX Matrix
or TX Matrix Plus master Routing Engine, the command is broadcast to all the T640 (in
a routing matrix based on a TX Matrix router) master Routing Engines or T1600 (in a
routing matrix based on a TX Matrix Plus router) master Routing Engines connected to
it. Likewise, if you issue the same command on the TX Matrix or TX Matrix Plus backup
Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on
a TX Matrix router) backup Routing Engines or T1600 (routing matrix based on a TX
Matrix Plus router) backup Routing Engines that are connected to it.
view
Sample Output
show system
boot-messages (TX
Matrix Router)
97
98
show system
boot-messages lcc (TX
Matrix Router)
show system
boot-messages (TX
Matrix Plus Router)
99
show system
boot-messages
(QFX3500 Switch)
Id = 0x1067a
Stepping = 10
100
101
102
Release Information
Description
Options
Required Privilege
Level
List of Sample Output
Output Fields
maintenance
Field Description
Feature name
Name assigned to the configured feature. You use this information to verify that all the features for
which you installed licenses are present.
Licenses used
Number of licenses used by a router or switch. You use this information to verify that the number of
licenses used matches the number configured. If a licensed feature is configured, the feature is
considered used.
NOTE: In Junos OS Release 10.1 and later, the Licenses used column displays the actual usage count
based on the number of active sessions or connections as reported by the corresponding feature
daemons. This is applicable for scalable license-based features such as Subscriber Access
(scale-subscriber), L2TP (scale-l2tp), Mobile IP (scale-mobile-ip), and so on.
103
Field Description
Licenses installed
StateState of the license key:valid or invalid. An invalid state indicates that the key was entered
License versionVersion of a license. The version indicates how the license is validated, the type
Licenses needed
Number of licenses required for features being used but not yet properly licensed.
Expiry
Amount of time left within the grace period before a license is required for a feature being used.
Sample Output
show system license
Licenses
used
2
1
2
2
0
2
4
1
Licenses
installed
2
2
2
2
2
3
5
2
Licenses
needed
0
0
0
0
0
0
0
0
Expiry
permanent
permanent
permanent
permanent
permanent
permanent
permanent
permanent
Licenses installed:
License identifier: XXXXXXXXXX
License version: 2
Features:
subscriber-accounting - Per Subscriber Radius Accounting
permanent
subscriber-authentication - Per Subscriber Radius Authentication
permanent
subscriber-address-assignment - Radius/SRC Address Pool Assignment
permanent
subscriber-vlan - Dynamic Auto-sensed Vlan
permanent
subscriber-ip
- Dynamic and Static IP
permanent
104
permanent
subscriber-address-assignment - Radius/SRC Address Pool Assignment
permanent
subscriber-vlan - Dynamic Auto-sensed Vlan
permanent
subscriber-ip
- Dynamic and Static IP
permanent
Licenses
installed
2
2
2
2
2
3
5
2
Licenses
needed
0
0
0
0
0
0
0
0
Expiry
permanent
permanent
permanent
permanent
permanent
permanent
permanent
permanent
105
Release Information
Description
On the routers, display information about the backup software, which is located in the
/altroot, and /altconfig file systems or on the alternate media.
On the switches, display information about the backup of the root fie system /, /config
directory, and /var directory, which are located either on an external USB flash drive
or in internal flash memory.
Options
EX8200 Virtual Chassis only) (Optional) Display the snapshot in a Virtual Chassis:
localDisplay the snapshot on the member of the Virtual Chassis that you are
member member-idDisplay the snapshot for the specified member of the Virtual
Chassis.
media (external | internal)(EX Series switch only) (Optional) Display the destination
media location for the snapshot. The external option specifies the snapshot on an
external mass storage device, such as a USB flash drive. The internal option specifies
the snapshot on an internal memory source, such as internal flash memory. If no
additional options are specified, the command displays the snapshot stored in both
slices.
slice (1 | 2 | alternate)(EX Series switch only) Display the snapshot in a specific partition:
106
Required Privilege
Level
Related
Documentation
List of Sample Output
Output Fields
view
Field Description
Creation date
Sample Output
show system snapshot
(Router)
107
jkernel-ex: 11.1R1.9
jroute-ex: 11.1R1.9
jswitch-ex: 11.1R1.9
jweb-ex: 11.1R1.9
jpfe-ex42x: 11.1R1.9
Information for snapshot on internal (/dev/da0s2a) (primary)
Creation date: Mar 30 08:46:27 2011
JUNOS version on snapshot:
jbase : 11.2-20110330.0
jcrypto-ex: 11.2-20110330.0
jdocs-ex: 11.2-20110330.0
jkernel-ex: 11.2-20110330.0
jroute-ex: 11.2-20110330.0
jswitch-ex: 11.2-20110330.0
jweb-ex: 11.2-20110330.0
jpfe-ex42x: 11.2-20110330.0
108
Release Information
Description
Options
view
Field Description
Boot Media
Active Partition
Backup Partition
Partitions information
PartitionPartition identifier.
SizeSize of partition.
109
Sample Output
show system storage
partitions
110