Software Installation - Juniper Networks
Transcript of Software Installation - Juniper Networks
Junos® OS for EX Series Ethernet Switches,Release 10.4: Software Installation
Published: 2010-12-08
Revision 1
Copyright © 2010, Juniper Networks, Inc.
Juniper Networks, Inc.1194 North Mathilda AvenueSunnyvale, California 94089USA408-745-2000www.juniper.net
This product includes the Envoy SNMPEngine, developed by Epilogue Technology, an IntegratedSystemsCompany. Copyright© 1986-1997,Epilogue Technology Corporation. All rights reserved. This program and its documentation were developed at private expense, and no partof them is in the public domain.
This product includes memory allocation software developed by Mark Moraes, copyright © 1988, 1989, 1993, University of Toronto.
This product includes FreeBSD software developed by the University of California, Berkeley, and its contributors. All of the documentationand software included in the 4.4BSD and 4.4BSD-Lite Releases is copyrighted by the Regents of the University of California. Copyright ©1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994. The Regents of the University of California. All rights reserved.
GateD software copyright © 1995, the Regents of the University. All rights reserved. Gate Daemon was originated and developed throughrelease 3.0 by Cornell University and its collaborators. Gated is based on Kirton’s EGP, UC Berkeley’s routing daemon (routed), and DCN’sHELLO routing protocol. Development of Gated has been supported in part by the National Science Foundation. Portions of the GateDsoftware copyright © 1988, Regents of the University of California. All rights reserved. Portions of the GateD software copyright © 1991, D.L. S. Associates.
This product includes software developed by Maker Communications, Inc., copyright © 1996, 1997, Maker Communications, Inc.
Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the UnitedStates and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks of Juniper Networks, Inc. All othertrademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify,transfer, or otherwise revise this publication without notice.
Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that areowned by or licensed to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440, 6,192,051, 6,333,650, 6,359,479, 6,406,312,6,429,706, 6,459,579, 6,493,347, 6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785.
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Copyright © 2010, Juniper Networks, Inc.All rights reserved. Printed in USA.
Writing:Editing:Illustration:Cover Design:
Revision HistoryDecember 2010—Revision 1
The information in this document is current as of the date listed in the revision history.
Copyright © 2010, Juniper Networks, Inc.ii
ENDUSER LICENSE AGREEMENT
READ THIS ENDUSER LICENSE AGREEMENT (“AGREEMENT”) BEFORE DOWNLOADING, INSTALLING, ORUSING THE SOFTWARE.BY DOWNLOADING, INSTALLING, OR USING THE SOFTWARE OROTHERWISE EXPRESSING YOUR AGREEMENT TO THE TERMSCONTAINED HEREIN, YOU (AS CUSTOMER OR IF YOU ARE NOT THE CUSTOMER, AS A REPRESENTATIVE/AGENT AUTHORIZED TOBINDTHECUSTOMER)CONSENTTOBEBOUNDBYTHISAGREEMENT. IF YOUDONOTORCANNOTAGREETOTHETERMSCONTAINEDHEREIN, THEN (A) DO NOT DOWNLOAD, INSTALL, OR USE THE SOFTWARE, AND (B) YOUMAY CONTACT JUNIPER NETWORKSREGARDING LICENSE TERMS.
1. The Parties. The parties to this Agreement are (i) Juniper Networks, Inc. (if the Customer’s principal office is located in the Americas) orJuniperNetworks (Cayman)Limited (if theCustomer’sprincipal office is locatedoutside theAmericas) (suchapplicableentitybeing referredtohereinas “Juniper”), and (ii) thepersonororganization thatoriginally purchased fromJuniper or anauthorized Juniper reseller theapplicablelicense(s) for use of the Software (“Customer”) (collectively, the “Parties”).
2. The Software. In this Agreement, “Software” means the programmodules and features of the Juniper or Juniper-supplied software, forwhich Customer has paid the applicable license or support fees to Juniper or an authorized Juniper reseller, or which was embedded byJuniper in equipment which Customer purchased from Juniper or an authorized Juniper reseller. “Software” also includes updates, upgradesand new releases of such software. “Embedded Software” means Software which Juniper has embedded in or loaded onto the Juniperequipment and any updates, upgrades, additions or replacements which are subsequently embedded in or loaded onto the equipment.
3. LicenseGrant.Subject to payment of the applicable fees and the limitations and restrictions set forth herein, Juniper grants to Customera non-exclusive and non-transferable license, without right to sublicense, to use the Software, in executable form only, subject to thefollowing use restrictions:
a. Customer shall use Embedded Software solely as embedded in, and for execution on, Juniper equipment originally purchased byCustomer from Juniper or an authorized Juniper reseller.
b. Customer shall use the Software on a single hardware chassis having a single processing unit, or as many chassis or processing unitsfor which Customer has paid the applicable license fees; provided, however, with respect to the Steel-Belted Radius or Odyssey AccessClient software only, Customer shall use such Software on a single computer containing a single physical random access memory spaceand containing any number of processors. Use of the Steel-Belted Radius or IMS AAA software onmultiple computers or virtual machines(e.g., Solaris zones) requires multiple licenses, regardless of whether such computers or virtualizations are physically contained on a singlechassis.
c. Product purchase documents, paper or electronic user documentation, and/or the particular licenses purchased by Customer mayspecify limits toCustomer’s useof theSoftware. Such limitsmay restrict use toamaximumnumberof seats, registeredendpoints, concurrentusers, sessions, calls, connections, subscribers, clusters, nodes, realms, devices, links, ports or transactions, or require the purchase ofseparate licenses to use particular features, functionalities, services, applications, operations, or capabilities, or provide throughput,performance, configuration, bandwidth, interface, processing, temporal, or geographical limits. In addition, such limits may restrict the useof the Software to managing certain kinds of networks or require the Software to be used only in conjunction with other specific Software.Customer’s use of the Software shall be subject to all such limitations and purchase of all applicable licenses.
d. For any trial copy of the Software, Customer’s right to use the Software expires 30 days after download, installation or use of theSoftware. Customer may operate the Software after the 30-day trial period only if Customer pays for a license to do so. Customer may notextend or create an additional trial period by re-installing the Software after the 30-day trial period.
e. The Global Enterprise Edition of the Steel-Belted Radius software may be used by Customer only to manage access to Customer’senterprise network. Specifically, service provider customers are expressly prohibited from using the Global Enterprise Edition of theSteel-Belted Radius software to support any commercial network access services.
The foregoing license is not transferable or assignable by Customer. No license is granted herein to any user who did not originally purchasethe applicable license(s) for the Software from Juniper or an authorized Juniper reseller.
4. Use Prohibitions. Notwithstanding the foregoing, the license provided herein does not permit the Customer to, and Customer agreesnot to and shall not: (a) modify, unbundle, reverse engineer, or create derivative works based on the Software; (b) make unauthorizedcopies of the Software (except as necessary for backup purposes); (c) rent, sell, transfer, or grant any rights in and to any copy of theSoftware, in any form, to any third party; (d) remove any proprietary notices, labels, ormarks on or in any copy of theSoftware or any productin which the Software is embedded; (e) distribute any copy of the Software to any third party, including as may be embedded in Juniperequipment sold in thesecondhandmarket; (f) useany ‘locked’ or key-restricted feature, function, service, application, operation, or capabilitywithout first purchasing the applicable license(s) and obtaining a valid key from Juniper, even if such feature, function, service, application,operation, or capability is enabled without a key; (g) distribute any key for the Software provided by Juniper to any third party; (h) use the
iiiCopyright © 2010, Juniper Networks, Inc.
Software in any manner that extends or is broader than the uses purchased by Customer from Juniper or an authorized Juniper reseller; (i)use Embedded Software on non-Juniper equipment; (j) use Embedded Software (or make it available for use) on Juniper equipment thatthe Customer did not originally purchase from Juniper or an authorized Juniper reseller; (k) disclose the results of testing or benchmarkingof the Software to any third party without the prior written consent of Juniper; or (l) use the Software in anymanner other than as expresslyprovided herein.
5. Audit. Customer shall maintain accurate records as necessary to verify compliance with this Agreement. Upon request by Juniper,Customer shall furnish such records to Juniper and certify its compliance with this Agreement.
6. Confidentiality. The Parties agree that aspects of the Software and associated documentation are the confidential property of Juniper.As such, Customer shall exercise all reasonable commercial efforts tomaintain the Software and associated documentation in confidence,which at aminimum includes restricting access to the Software to Customer employees and contractors having a need to use the Softwarefor Customer’s internal business purposes.
7. Ownership. Juniper and Juniper’s licensors, respectively, retain ownership of all right, title, and interest (including copyright) in and tothe Software, associated documentation, and all copies of the Software. Nothing in this Agreement constitutes a transfer or conveyanceof any right, title, or interest in the Software or associated documentation, or a sale of the Software, associated documentation, or copiesof the Software.
8. Warranty, Limitation of Liability, Disclaimer ofWarranty. The warranty applicable to the Software shall be as set forth in the warrantystatement thataccompanies theSoftware (the “WarrantyStatement”).Nothing in thisAgreement shall give rise toanyobligation to supportthe Software. Support services may be purchased separately. Any such support shall be governed by a separate, written support servicesagreement. TO THEMAXIMUM EXTENT PERMITTED BY LAW, JUNIPER SHALL NOT BE LIABLE FOR ANY LOST PROFITS, LOSS OF DATA,ORCOSTSORPROCUREMENTOFSUBSTITUTEGOODSORSERVICES,ORFORANYSPECIAL, INDIRECT,ORCONSEQUENTIALDAMAGESARISINGOUTOFTHISAGREEMENT,THESOFTWARE,ORANYJUNIPERORJUNIPER-SUPPLIEDSOFTWARE. INNOEVENTSHALLJUNIPERBE LIABLE FOR DAMAGES ARISING FROMUNAUTHORIZED OR IMPROPER USE OF ANY JUNIPER OR JUNIPER-SUPPLIED SOFTWARE.EXCEPT AS EXPRESSLY PROVIDED IN THEWARRANTY STATEMENT TO THE EXTENT PERMITTED BY LAW, JUNIPER DISCLAIMS ANYAND ALLWARRANTIES IN AND TO THE SOFTWARE (WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE), INCLUDING ANYIMPLIEDWARRANTY OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT DOESJUNIPERWARRANT THAT THE SOFTWARE, OR ANY EQUIPMENT OR NETWORK RUNNING THE SOFTWARE, WILL OPERATEWITHOUTERROROR INTERRUPTION, ORWILL BE FREE OF VULNERABILITY TO INTRUSION OR ATTACK. In no event shall Juniper’s or its suppliers’or licensors’ liability to Customer, whether in contract, tort (including negligence), breach of warranty, or otherwise, exceed the price paidby Customer for the Software that gave rise to the claim, or if the Software is embedded in another Juniper product, the price paid byCustomer for such other product. Customer acknowledges and agrees that Juniper has set its prices and entered into this Agreement inreliance upon the disclaimers of warranty and the limitations of liability set forth herein, that the same reflect an allocation of risk betweenthe Parties (including the risk that a contract remedymay fail of its essential purpose and cause consequential loss), and that the sameform an essential basis of the bargain between the Parties.
9. Termination. Any breach of this Agreement or failure by Customer to pay any applicable fees due shall result in automatic terminationof the license granted herein. Upon such termination, Customer shall destroy or return to Juniper all copies of the Software and relateddocumentation in Customer’s possession or control.
10. Taxes. All license fees payable under this agreement are exclusive of tax. Customer shall be responsible for paying Taxes arising fromthe purchase of the license, or importation or use of the Software. If applicable, valid exemption documentation for each taxing jurisdictionshall be provided to Juniper prior to invoicing, and Customer shall promptly notify Juniper if their exemption is revoked or modified. Allpayments made by Customer shall be net of any applicable withholding tax. Customer will provide reasonable assistance to Juniper inconnection with such withholding taxes by promptly: providing Juniper with valid tax receipts and other required documentation showingCustomer’s payment of any withholding taxes; completing appropriate applications that would reduce the amount of withholding tax tobe paid; and notifying and assisting Juniper in any audit or tax proceeding related to transactions hereunder. Customer shall comply withall applicable tax laws and regulations, and Customer will promptly pay or reimburse Juniper for all costs and damages related to anyliability incurred by Juniper as a result of Customer’s non-compliance or delay with its responsibilities herein. Customer’s obligations underthis Section shall survive termination or expiration of this Agreement.
11. Export. Customer agrees to comply with all applicable export laws and restrictions and regulations of any United States and anyapplicable foreign agency or authority, and not to export or re-export the Software or any direct product thereof in violation of any suchrestrictions, laws or regulations, or without all necessary approvals. Customer shall be liable for any such violations. The version of theSoftware supplied to Customer may contain encryption or other capabilities restricting Customer’s ability to export the Software withoutan export license.
Copyright © 2010, Juniper Networks, Inc.iv
12. Commercial Computer Software. The Software is “commercial computer software” and is provided with restricted rights. Use,duplication, or disclosure by the United States government is subject to restrictions set forth in this Agreement and as provided in DFARS227.7201 through 227.7202-4, FAR 12.212, FAR 27.405(b)(2), FAR 52.227-19, or FAR 52.227-14(ALT III) as applicable.
13. Interface Information. To the extent required by applicable law, and at Customer's written request, Juniper shall provide Customerwith the interface information needed to achieve interoperability between the Software and another independently created program, onpayment of applicable fee, if any. Customer shall observe strict obligations of confidentiality with respect to such information and shall usesuch information in compliance with any applicable terms and conditions upon which Juniper makes such information available.
14. Third Party Software.Any licensor of Juniper whose software is embedded in the Software and any supplier of Juniper whose productsor technology are embedded in (or services are accessed by) the Software shall be a third party beneficiary with respect to this Agreement,and such licensor or vendor shall have the right to enforce this Agreement in its own name as if it were Juniper. In addition, certain third partysoftwaremay be provided with the Software and is subject to the accompanying license(s), if any, of its respective owner(s). To the extentportions of the Software are distributed under and subject to open source licenses obligating Juniper to make the source code for suchportions publicly available (such as the GNU General Public License (“GPL”) or the GNU Library General Public License (“LGPL”)), Juniperwill make such source code portions (including Juniper modifications, as appropriate) available upon request for a period of up to threeyears from the date of distribution. Such request can bemade in writing to Juniper Networks, Inc., 1194 N. Mathilda Ave., Sunnyvale, CA
94089, ATTN: General Counsel. Youmay obtain a copy of the GPL at http://www.gnu.org/licenses/gpl.html, and a copy of the LGPLat http://www.gnu.org/licenses/lgpl.html .
15. Miscellaneous. This Agreement shall be governed by the laws of the State of California without reference to its conflicts of lawsprinciples. The provisions of the U.N. Convention for the International Sale of Goods shall not apply to this Agreement. For any disputesarising under this Agreement, the Parties hereby consent to the personal and exclusive jurisdiction of, and venue in, the state and federalcourts within Santa Clara County, California. This Agreement constitutes the entire and sole agreement between Juniper and the Customerwith respect to the Software, and supersedes all prior and contemporaneous agreements relating to the Software, whether oral or written(including any inconsistent terms contained in a purchase order), except that the terms of a separate written agreement executed by anauthorized Juniper representative and Customer shall govern to the extent such terms are inconsistent or conflict with terms containedherein. Nomodification to this Agreement nor any waiver of any rights hereunder shall be effective unless expressly assented to in writingby the party to be charged. If any portion of this Agreement is held invalid, the Parties agree that such invalidity shall not affect the validityof the remainder of this Agreement. This Agreement and associated documentation has been written in the English language, and theParties agree that the English version will govern. (For Canada: Les parties aux présentés confirment leur volonté que cette convention demême que tous les documents y compris tout avis qui s'y rattaché, soient redigés en langue anglaise. (Translation: The parties confirm thatthis Agreement and all related documentation is and will be in the English language)).
vCopyright © 2010, Juniper Networks, Inc.
Copyright © 2010, Juniper Networks, Inc.vi
Table of Contents
About This Topic Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
How to Use This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
List of EX Series Guides for Junos OS Release 10.4 . . . . . . . . . . . . . . . . . . . . . . . . . xi
Downloading Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Documentation Symbols Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Part 1 Software Installation
Chapter 1 Software Installation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
JUNOS Software—Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
EX Series Switch Software Features Overview . . . . . . . . . . . . . . . . . . . . . . . . . 3
Understanding Software Infrastructure and Processes . . . . . . . . . . . . . . . . . . 18
Routing Engine and Packet Forwarding Engine . . . . . . . . . . . . . . . . . . . . . 18
Junos OS Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Installation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Understanding Software Installation on EX Series Switches . . . . . . . . . . . . . 20
Overview of the Software Installation Process . . . . . . . . . . . . . . . . . . . . 20
Software Package Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Installing Software on a Virtual Chassis . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Installing Software on EX8200 Switches with Redundant Routing
Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Installing Software Using Automatic Software Download . . . . . . . . . . . . 21
Troubleshooting Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Junos OS Package Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Understanding System Snapshot on EX Series Switches . . . . . . . . . . . . . . . . 22
Licenses Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Understanding Software Licenses for the EX Series Switch . . . . . . . . . . . . . . 24
Features Requiring a License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
License Warning Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
License Key Components for the EX Series Switch . . . . . . . . . . . . . . . . . . . . . 25
viiCopyright © 2010, Juniper Networks, Inc.
Chapter 2 Installing Junos OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Downloading Software Packages from Juniper Networks . . . . . . . . . . . . . . . . . . . 27
Installing Software on an EX Series Switch with a Single Routing Engine (CLI
Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Installing Software on an EX8200Switchwith Redundant Routing Engines (CLI
Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Preparing the Switch for the Software Installation . . . . . . . . . . . . . . . . . . . . . 30
Installing Software on the Backup Routing Engine . . . . . . . . . . . . . . . . . . . . . 31
Installing Software on the Default Master Routing Engine . . . . . . . . . . . . . . . 32
Returning Routing Control to the Default Master Routing Engine
(Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Installing Software on EX Series Switches (J-Web Procedure) . . . . . . . . . . . . . . . 34
Installing Software Upgrades from a Server . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Installing Software Upgrades by Uploading Files . . . . . . . . . . . . . . . . . . . . . . 35
Rebooting or Halting the EX Series Switch (J-Web Procedure) . . . . . . . . . . . . . . . 35
Chapter 3 Registering the Switch, Booting the Switch, Upgrading Software, andManaging Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Registering the Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Registering the EX Series Switch with the J-Web Interface . . . . . . . . . . . . . . . 37
Booting the Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Booting an EX Series Switch Using a Software Package Stored on a USB
Flash Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Creating a Snapshot and Using It to Boot an EX Series Switch . . . . . . . . . . . 39
Creating a Snapshot on a USB Flash Drive and Using It to Boot the
Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Creating a Snapshot on an Internal Flash Drive and Using it to Boot the
Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Upgrading Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Upgrading Software Using Automatic Software Download on EX Series
Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Managing Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Managing Licenses for the EX Series Switch (CLI Procedure) . . . . . . . . . . . . . 41
Adding New Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Deleting Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Saving License Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Managing Licenses for the EX Series Switch (J-Web Procedure) . . . . . . . . . . 42
Adding New Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Deleting Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Displaying License Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Downloading Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Copyright © 2010, Juniper Networks, Inc.viii
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Chapter 4 Verifying Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Routine Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Verifying That Automatic Software Download Is Working Correctly . . . . . . . 45
Verifying That a System Snapshot Was Created on an EX Series Switch . . . 46
Monitoring Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Monitoring Licenses for the EX Series Switch . . . . . . . . . . . . . . . . . . . . . . . . . 46
Displaying Installed Licenses and License Usage Details . . . . . . . . . . . . . 47
Displaying Installed License Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Chapter 5 Troubleshooting Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Troubleshooting Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Recovering from a Failed Software Upgrade on an EX Series Switch . . . . . . 49
Rebooting from the Inactive Partition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Freeing Up Disk Space for Software Installation . . . . . . . . . . . . . . . . . . . . . . . 51
Chapter 6 Configuration Statements for Software Installation . . . . . . . . . . . . . . . . . . . 53
[edit chassis] Configuration Statement Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . 53
auto-image-upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Chapter 7 Operational Commands for Software Installation . . . . . . . . . . . . . . . . . . . . . 55
request system license add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
request system license delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
request system license save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
request system reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
request system reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
request system snapshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
request system software add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
request system software delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
request system software rollback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
request system software validate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
show system autoinstallation status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
show system boot-messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
show system license . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
show system snapshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
ixCopyright © 2010, Juniper Networks, Inc.
Table of Contents
Copyright © 2010, Juniper Networks, Inc.x
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
About This Topic Collection
• How to Use This Guide on page xi
• List of EX Series Guides for Junos OS Release 10.4 on page xi
• Downloading Software on page xiii
• Documentation Symbols Key on page xiv
• Documentation Feedback on page xv
• Requesting Technical Support on page xvi
How to Use This Guide
Complete documentation for the EX Series product family is provided on webpages at
http://www.juniper.net/techpubs/en_US/release-independent/information-products/
pathway-pages/ex-series/product/index.html. We have selected content from these
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.
The release notes are at
http://www.juniper.net/techpubs/en_US/junos10.4/information-products/topic-collections/
release-notes/10.4/junos-release-notes-10.4.pdf.
List of EX Series Guides for Junos OS Release 10.4
DescriptionTitle
Componentdescriptions, sitepreparation, installation,replacement, and safety and compliance informationfor EX2200 Ethernet switches
Complete Hardware Guide for EX2200 Ethernet Switches
Componentdescriptions, sitepreparation, installation,replacement, and safety and compliance informationfor EX3200 Ethernet switches
Complete Hardware Guide for EX3200 Ethernet Switches
Componentdescriptions, sitepreparation, installation,replacement, and safety and compliance informationfor EX4200 Ethernet switches
Complete Hardware Guide for EX4200 Ethernet Switches
Componentdescriptions, sitepreparation, installation,replacement, and safety and compliance informationfor EX4500 Ethernet switches
Complete Hardware Guide for EX4500 Ethernet Switches
xiCopyright © 2010, Juniper Networks, Inc.
DescriptionTitle
Componentdescriptions, sitepreparation, installation,replacement, and safety and compliance informationfor EX8208 Ethernet switches
Complete Hardware Guide for EX8208 Ethernet Switches
Componentdescriptions, sitepreparation, installation,replacement, and safety and compliance informationfor EX8216 Ethernet switches
Complete Hardware Guide for EX8216 Ethernet Switches
Componentdescriptions, sitepreparation, installation,replacement, and safety and compliance informationfor the XRE200 External Routing Engine
Complete Hardware Guide for the XRE200 External Routing Engine
Software featuredescriptions, configurationexamples,and tasks for Junos OS for EX Series switches
CompleteSoftwareGuide for Junos®OS for EXSeries EthernetSwitches,Release 10.4
Software featuredescriptions, configurationexamplesand tasks, and reference pages for configurationstatements and operational commands (Thisinformation also appears in the Complete SoftwareGuide for Junos®OS for EX Series Ethernet Switches,Release 10.4.)
Software Topic Collections
Junos®OS for EXSeries EthernetSwitches, Release 10.4: EX4200VirtualChassis
Junos®OSfor EXSeries EthernetSwitches, Release 10.4: EX8200VirtualChassis
Junos®OS for EX Series Ethernet Switches, Release 10.4: Access Control
Junos®OS for EX Series Ethernet Switches, Release 10.4: ConfigurationManagement
Junos®OSfor EXSeriesEthernetSwitches, Release 10.4: ClassofService
Junos®OS for EXSeries Ethernet Switches, Release 10.4: DeviceSecurity
Junos®OS for EX Series Ethernet Switches, Release 10.4: EthernetSwitching
Junos®OS for EX Series Ethernet Switches, Release 10.4: Fibre Channelover Ethernet
Junos®OSfor EXSeries EthernetSwitches, Release 10.4:HighAvailability
Junos®OS for EX Series Ethernet Switches, Release 10.4: Interfaces
Junos®OS for EX Series Ethernet Switches, Release 10.4: Layer 3Protocols
Copyright © 2010, Juniper Networks, Inc.xii
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
DescriptionTitle
Junos®OS for EX Series Ethernet Switches, Release 10.4: MPLS
Junos®OS for EX Series Ethernet Switches, Release 10.4: Multicast
Junos®OS for EX Series Switches, Release 10.4: Network Managementand Monitoring
Junos®OS for EX Series Switches, Release 10.4: Port Security
Junos®OS for EX Series Ethernet Switches, Release 10.4: Routing Policyand Packet Filtering
Junos®OS for EX Series Ethernet Switches, Release 10.4: SoftwareInstallation
Junos®OS for EX Series Ethernet Switches, Release 10.4: Spanning-TreeProtocols
Junos®OS for EX Series Ethernet Switches, Release 10.4: SystemMonitoring
Junos®OSfor EXSeriesEthernetSwitches, Release 10.4: SystemServices
Junos®OS for EX Series Ethernet Switches, Release 10.4: System Setup
Junos®OSfor EXSeriesEthernetSwitches, Release 10.4:User andAccessManagement
Junos®OS for EXSeries Ethernet Switches, Release 10.4: User Interfaces
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, youmust
have a Juniper Networks user account. For information about obtaining an account, see
http://www.juniper.net/entitlement/setupAccountInfo.do.
xiiiCopyright © 2010, Juniper Networks, Inc.
About This Topic Collection
Documentation Symbols Key
Notice Icons
DescriptionMeaningIcon
Indicates important features or instructions.Informational note
Indicates a situation that might result in loss of data or hardwaredamage.
Caution
Alerts you to the risk of personal injury or death.Warning
Alerts you to the risk of personal injury from a laser.Laser warning
Text and Syntax Conventions
ExamplesDescriptionConvention
To enter configuration mode, type theconfigure command:
user@host> configure
Represents text that you type.Bold text like this
user@host> show chassis alarms
No alarms currently active
Represents output that appears on theterminal screen.
Fixed-width text like this
• Apolicy term is anamedstructure thatdefinesmatchconditionsandactions.
• Junos OS System Basics ConfigurationGuide
• RFC 1997, BGP Communities Attribute
• Introduces important new terms.
• Identifies book names.
• Identifies RFCand Internet draft titles.
Italic text like this
Configure the machine’s domain name:
[edit]root@# set system domain-namedomain-name
Represents variables (options for whichyou substitute a value) in commands orconfiguration statements.
Italic text like this
• To configure a stub area, include thestub statement at the [edit protocolsospf area area-id] hierarchy level.
• The console port is labeledCONSOLE.
Represents names of configurationstatements, commands, files, anddirectories; IP addresses; configurationhierarchy levels; or labels on routingplatform components.
Plain text like this
stub <default-metricmetric>;Enclose optional keywords or variables.< > (angle brackets)
Copyright © 2010, Juniper Networks, Inc.xiv
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Text and Syntax Conventions
ExamplesDescriptionConvention
broadcast | multicast
(string1 | string2 | string3)
Indicates a choice between themutuallyexclusive keywords or variables on eitherside of the symbol. The set of choices isoften enclosed in parentheses for clarity.
| (pipe symbol)
rsvp { # Required for dynamicMPLS onlyIndicates a comment specified on thesame lineas theconfiguration statementto which it applies.
# (pound sign)
community namemembers [community-ids ]
Enclose a variable for which you cansubstitute one or more values.
[ ] (square brackets)
[edit]routing-options {static {route default {nexthop address;retain;
}}
}
Identify a level in the configurationhierarchy.
Indention and braces ( { } )
Identifies a leaf statement at aconfiguration hierarchy level.
; (semicolon)
J-Web GUI Conventions
• In the Logical Interfacesbox, selectAllInterfaces.
• To cancel the configuration, clickCancel.
Represents J-Web graphical userinterface (GUI) items you click or select.
Bold text like this
In the configuration editor hierarchy,select Protocols>Ospf.
Separates levels in a hierarchy of J-Webselections.
> (bold right angle bracket)
Documentation Feedback
We encourage you to provide feedback, comments, and suggestions so that we can
improve the documentation. Send e-mail to [email protected] the
following:
• Document URL or title
• Page number if applicable
• Software version
• Your name and company
xvCopyright © 2010, Juniper Networks, Inc.
About This Topic Collection
Requesting Technical Support
Technical product support is available through the JuniperNetworksTechnicalAssistance
Center (JTAC). If you are a customer with an active J-Care or JNASC support contract,
or are covered under warranty, and need post-sales technical support, you can access
our tools and resources online or open a case with JTAC.
• JTAC policies—For a complete understanding of our JTAC procedures and policies,
review the JTAC User Guide located at
http://www.juniper.net/us/en/local/pdf/resource-guides/7100059-en.pdf .
• Product warranties—For product warranty information, visit
http://www.juniper.net/support/warranty/ .
• JTAC hours of operation—The JTAC centers have resources available 24 hours a day,
7 days a week, 365 days a year.
Self-Help Online Tools and Resources
For quick and easy problem resolution, Juniper Networks has designed an online
self-service portal called the Customer Support Center (CSC) that provides youwith the
following features:
• Find CSC offerings: http://www.juniper.net/customers/support/
• Search for known bugs: http://www2.juniper.net/kb/
• Find product documentation: http://www.juniper.net/techpubs/
• Find solutions and answer questions using our Knowledge Base: http://kb.juniper.net/
• Download the latest versions of software and review release notes:
http://www.juniper.net/customers/csc/software/
• Search technical bulletins for relevant hardware and software notifications:
https://www.juniper.net/alerts/
• Join and participate in the Juniper Networks Community Forum:
http://www.juniper.net/company/communities/
• Open a case online in the CSC Case Management tool: http://www.juniper.net/cm/
Toverify serviceentitlementbyproduct serial number, useourSerialNumberEntitlement
(SNE) Tool: https://tools.juniper.net/SerialNumberEntitlementSearch/
Opening a Casewith JTAC
You can open a case with JTAC on theWeb or by telephone.
• Use the Case Management tool in the CSC at http://www.juniper.net/cm/ .
• Call 1-888-314-JTAC (1-888-314-5822 toll-free in the USA, Canada, and Mexico).
For international or direct-dial options in countries without toll-free numbers, see
http://www.juniper.net/support/requesting-support.html .
Copyright © 2010, Juniper Networks, Inc.xvi
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
PART 1
Software Installation
• Software Installation Overview on page 3
• Installing Junos OS on page 27
• Registering the Switch, Booting the Switch, Upgrading Software, and Managing
Licenses on page 37
• Verifying Software Installation on page 45
• Troubleshooting Software Installation on page 49
• Configuration Statements for Software Installation on page 53
• Operational Commands for Software Installation on page 55
1Copyright © 2010, Juniper Networks, Inc.
Copyright © 2010, Juniper Networks, Inc.2
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
CHAPTER 1
Software Installation Overview
• JUNOS Software—Overview on page 3
• Installation Overview on page 19
• Licenses Overview on page 23
JUNOS Software—Overview
• EX Series Switch Software Features Overview on page 3
• Understanding Software Infrastructure and Processes on page 18
EX Series Switch Software Features Overview
This topic lists the Juniper Networks EX Series Ethernet Switches software features, the
Juniper Networks Junos operating system (Junos OS) release in which they were
introduced, and the first Junos OS release for each switch:
• Table 1 on page 4—First Junos OS Release for Each EX Series Switch
• Table 2 on page 4—Access Control Features
• Table 3 on page 5—Administration Features
• Table 4 on page 5—Class-of-Service (CoS) Features
• Table 5 on page 6—Device Security Features
• Table 6 on page 7—Fibre Channel over Ethernet Features
• Table 7 on page 7—High Availability and Resiliency Features
• Table 8 on page 9—Interfaces Features
• Table 9 on page 9—IP Address Management Features
• Table 10 on page 10—IPv6 Features
• Table 11 on page 10—Layer 2 Network Protocols Features
• Table 12 on page 11—Layer 3 Protocols Features
• Table 13 on page 12—MPLS Features
• Table 14 on page 13—Multicast Features
• Table 15 on page 14—Network Management and Monitoring Features
3Copyright © 2010, Juniper Networks, Inc.
• Table 16 on page 15—Port Security Features
• Table 17 on page 15—Routing Policy and Packet Filtering Features
• Table 18 on page 16—Spanning Tree Protocols Features
• Table 19 on page 17—SystemManagement Features
The Junos OS release for software features on a switch cannot be earlier than the first
Junos OS release for that switch.
Table 1: First Junos OS Release for Each EX Series Switch
Junos OS ReleaseSwitch
Junos OS Release 10.1R1EX2200 switches
Junos OS Release 9.0R2EX3200 switches
Junos OS Release 9.0R2EX4200 switches
Junos OS Release 9.0R2EX4200 Virtual Chassis
Junos OS 10.2R1*
*EX4500-Cmodels: Junos OS Release 10.3R2
EX4500 switches
Junos OS Release 9.4R1EX8208 switches
Junos OS Release 9.5R1EX8216 switches
Junos OS Release 10.4R1EX8200 Virtual Chassis
NOTE: In the features tables, software features that run on EX4200 VirtualChassis are indicated in the column headed "EX3200, EX4200 Switches". Ifthe feature is only for an EX4200 Virtual Chassis and not for a standaloneswitch, the column entry includes "(EX4200 only)".
Table 2: Access Control Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Notsupported
10.2R1Notsupported9.0R210.1R1802.1X authentication
Notsupported
10.3R1Notsupported9.0R210.1R1802.1X authentication with VLAN assignment,VoIP VLAN support
Notsupported
10.3R1Notsupported9.0R210.1R1802.1X user-based dynamic firewall filters
Copyright © 2010, Juniper Networks, Inc.4
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 2: Access Control Features by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Notsupported
10.3R1Notsupported9.5R110.1R1802.1X user-based dynamic firewall filters onmultiple-supplicant ports
Notsupported
Notsupported
Notsupported10.3R1Notsupported
Authentication fallback
Notsupported
Notsupported
Notsupported10.3R1Notsupported
Captive portal authentication Layer 2 interfaces
Notsupported
Notsupported
Notsupported10.1R1Notsupported
Captive portal authentication Layer 3 interfaces
Notsupported
10.3R110.2R19.3R210.1R1MAC RADIUS authentication
Notsupported
10.2R110.2R19.3R210.1R1Server fail fallback
10.4R19.4R110.2R19.0R210.1R1TACACS+
Table 3: Administration Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
10.4R19.4R110.2R19.0R210.1R1System logging (syslog) overIPv4
Not supported10.1R110.49.3R210.3R1System logging (syslog) overIPv6
Not supported10.0R110.2R110.0R1Not supportedSystem snapshot
Table 4: Class-of-Service (CoS) Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200 andEX4200Switches
EX2200SwitchesFeature
Not supported9.4R110.2R19.0R210.1R1Class of service(CoS)—Class-based queuingwith prioritization; Layer 2 andLayer 3 classification, rewriteand queuing; strict priorityqueuing on egress
5Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Table 4: Class-of-Service (CoS) Features by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200 andEX4200Switches
EX2200SwitchesFeature
Not supportedNot supported10.2R19.5R1Not supportedCoS—DSCP, IEEE 801.p, and IPprecedence packet rewrites onrouted VLAN interfaces (RVIs)
Not supportedNot supportedNot supported9.4R1Not supportedCoS—Interface-specificclassifiers on routed VLANinterfaces (RVIs)
Not supported9.5R1Not applicableNot applicableNot applicableCoS—multidestination
Not supported10.2R110.2R19.3R1Not supportedCoS—per-interfaceclassification
Not supported9.4R110.2R19.2R110.1R1CoS support on LAGs
Not supported9.4R1Not supported9.4R110.3R1CoS support on routed VLANinterfaces (RVIs)
Not supported10.2R1Not supported9.4R110.3R1Interface-specific CoS rewriterules
Not supported9.4R110.2R19.3R210.1R1Junos EZQoS for CoS
Not supported10.1R110.2R19.3R210.1R1Port shapingandqueueshaping
Not supported10.2R110.2R29.4R1Not supportedRemarking of bridged packets
Not supported9.4R110.2R19.0R210.1R1Scheduled deficit weightedround robin (SDWRR) (egressscheduling)
Not supported9.4R110.2R19.0R210.1R1Single-rate two-color marking
Table 5: Device Security by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported10.0R110.2R19.6R110.1R1Automatic recovery forport errordisable conditions
10.4R19.4R110.2R19.1R110.1R1Storm control (broadcast,unicast)
10.3R210.3R210.3R210.3R210.3R2Storm control (multicast)
Copyright © 2010, Juniper Networks, Inc.6
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 5: Device Security by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported10.0R110.2R19.3R210.1R1Unknown Layer 2 unicastforwarding
Table 6: Fibre Channel over Ethernet by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supportedNot supported10.4R1Not supportedNot supportedFIP snooping
Not supportedNot supported10.4R1Not supportedNot supportedPriority-based flow control(PFC)
Table 7: High Availability and Resiliency Features by Junos OS Release
EX8200Virtual Chassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported9.4R1Not applicable9.0R2Not applicableGraceful protocol restart forBGP
Not supported9.4R1Not applicable9.3R2Not applicableGraceful protocol restart forIS-IS
Not supported9.4R1Not applicable9.0R2Not applicableGraceful protocol restart forOSPF
Not supportedNot applicableNot applicable9.1R1(EX4200 only)
Not applicableGraceful Routing Engineswitchover (GRES) for VirtualChassis
Not supported9.4R1Not applicable9.2R1(EX4200 only)
Not applicableGRES for ARP entries,forwarding database, Layer 3protocols
Not supported9.6R1Not applicable9.2R1(EX4200 only)
Not applicableGRES for port security (DHCPsnooping, DAI, IP source guard)
Not supported10.0R110.2R110.0R110.1R1LACP support for dual-homingapplications in data centers
10.4R19.4R110.2R19.0R210.1R1Link Aggregation ControlProtocol (LACP)
10.4R19.4R110.2R19.0R210.1R1Link aggregation groups (LAGs)
7Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Table 7: High Availability and Resiliency Features by Junos OS Release (continued)
EX8200Virtual Chassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
10.4R1Not applicableNot applicable9.6R1(EX4200 only)
Not applicableLink aggregation groups (LAGs)over Virtual Chassis ports(VCPs)
Not supported10.4R1Not applicableNot supportedNot applicableNonstop active routing (NSR)for OSPFv2
Not supported10.4R1Not applicableNot applicableNot applicableNonstop software upgrade(NSSU)
Not supported10.2R1Not applicableNot applicableNot applicablePower budget management
Not supported9.4R1Not supported9.0R210.1R1Redundant trunk groups
Not supportedNot applicableNot applicable9.3R2(EX4200 only)
Not applicableVirtual Chassis fast failover
10.4R1Not applicableNot applicable9.3R2(EX4200 only)
Not applicableVirtual Chassis split andmerge
Not supportedNot applicableNot applicable10.0R1(EX4200 only)
Not applicableVirtual Chassis:
• Automatic software updateon prospective memberswitches
• Front-panel configuration ofuplinkmoduleportsasVirtualChassis ports (VCPs)
Not supportedNot applicableNot applicable9.5R1(EX4200 only)
Not applicableVirtualChassis—Autoprovisioning ofVirtual Chassis ports (VCPs)
10.4R1Not applicableNot applicable9.2R1(EX4200 only)
Not applicableVirtual Chassis—SFP uplinkmodule port interconnection ofmember switches
Not supported9.4R110.2R19.0R2Not supportedVirtual Router RedundancyProtocol (VRRP)
Not supported10.1R1Not supported10.0R1Not supportedVirtual Router RedundancyProtocol (VRRP) for IPv6(exceptauthentication typeandauthentication key)
Copyright © 2010, Juniper Networks, Inc.8
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 8: Interfaces Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200 andEX4200Switches
EX2200SwitchesFeature
Not supported10.0R1Not supported10.0R1Not supportedDigital optical monitoring(DOM)
Not supported10.0R110.2R110.0R110.1R1Interface ranges
Not supportedNot supportedNot applicable9.0R210.1R1Power over Ethernet (PoE)
Not supportedNot supportedNot applicableNot supported10.3R1Power over Ethernet Plus(PoE+)
Not supportedNot supportedNot applicable9.3R210.1R1Power over Ethernet (PoE)power management mode
Not supported9.4R110.2R19.0R210.1R1Time domain reflectometry(TDR)
Not supported10.1R1Not supported9.3R2Not supportedUnicast reverse-path forwarding(RPF)
10.4R19.4R110.2R19.2R1Not supportedVLAN-tagged Layer 3subinterfaces
Table 9: IP Address Management Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported9.4R1Not supported9.3R210.1R1DHCP server and relay withoption 82 for Layer 2 VLANs
Not supported9.4R110.2R19.0R210.1R1DHCP server and relay withoption 82 for Layer 3 interfaces
Not supportedNot supportedNot supported9.3R2Not supportedDNS for IPv6
Not supported9.4R1Not supported9.3R2Not supportedLocal DHCP server
Not supported9.4R110.2R19.0R210.1R1Static addresses
9Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Table 10: IPv6 Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
NOTE: A separate software license is required for IPv6. See “Understanding Software Licenses for the EX Series Switch” onpage 24.
Not supported10.4R1Not supported10.2R1Not supportedIPv6 CoS (multifieldclassification and rewrite)
Not supported10.1R1Not supported9.3R210.3R1IPv6management and services
Not supported10.2R1Not supported10.1R1Not supportedIPv6multicast protocols (PIM,MLDv1/v2)
Not supported10.2R110.4R19.3R110.3R1IPv6 path MTU discovery
Table 11: Layer 2 Network Protocols Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
10.4R19.4R110.2R19.0R210.1R1802.1Q VLAN tagging
Not supported9.4R110.2R19.1R1Not supportedGARP VLAN RegistrationProtocol (GVRP)
Not supportedNot supportedNot supported10.0R1Not supportedLayer 2 protocol tunneling(L2PT)
Not supported9.4R110.2R19.0R210.1R1Link Layer Discovery Protocol(LLDP)
Not supportedNot supportedNot supported9.0R210.1R1Link Layer DiscoveryProtocol–Media EndpointDiscovery (LLDP-MED) withvoice over IP (VoIP) integration
10.4R19.4R110.2R19.0R210.1R1MAC-based VLANs
Not supported10.0R1Not supported10.0R1Not supportedMultiple VLAN RegistrationProtocol (MVRP)
Not supported10.1R1Not supported9.3R2Not supportedPrivate VLANs (PVLANs)
Not supported10.4R1Not supported10.4R1Not supportedPrivateVLANs(PVLAN)supportacross switches
Not supported10.0R110.2R110.0R110.1R1Proxy ARP—restricted
Copyright © 2010, Juniper Networks, Inc.10
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 11: Layer 2 Network Protocols Features by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported10.0R110.2R19.6R110.1R1Proxy ARP—unrestricted
Not supported10.1R110.2R110.1R110.1R1Proxy ARP per VLAN
Not supportedNot supportedNot supported9.3R2Not supportedQ-in-Q tunneling
Not supportedNot supportedNot supported9.6R1Not supportedQ-in-QVLAN extended supportformultipleS-VLANsperaccessinterface, firewall-filter-basedVLAN assignment, and routedVLAN interfaces (RVIs)
Not supportedNot supportedNot supported10.0R1Not supportedVLAN ID translation
10.4R19.4R110.2R19.2R110.1R1VLAN ranges
Table 12: Layer 3 Protocols Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported9.4R110.2R19.0R2Not supportedBidirectional ForwardingDetection (BFD)
Not supported9.4R1Not supported9.0R2Not supportedBorderGatewayProtocol (BGP)
A separate software license is required for BGP and MBGP. See “Understanding Software Licenses for the EX Series Switch”on page 24.
Not supported10.4R1Not supported10.4R1Not supportedDistributed periodic packetmanagement (PPM) with BFD
Not supported10.2R1Not supported10.2R1Not supportedDistributed periodic packetmanagement(PPM)withLACP
Not supported9.6R1Not supported9.4R1Not supportedFilter-based forwarding
Not supported10.3R1Not supported10.1R1Not supportedFilter-based forwarding for IPv6
Not supported9.4R1Not supported9.0R2Not supportedIntermediateSystem-to-IntermediateSystem (IS-IS)
A separate software license is required for IS-IS. See “Understanding Software Licenses for the EX Series Switch” on page 24.
Not supported10.2R1Not supported10.1R1Not supportedIPv6Layer3multicastprotocols
11Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Table 12: Layer 3 Protocols Features by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported10.1R1Not supported9.3R2Not supportedIPv6 protocols: Open ShortestPath First version 3 (OSPFv3),RIPng, IS-IS for IPv6, IPv6 BGP
Not supported9.4R110.2R19.4R1Not supportedJumbo frames on routed VLANinterfaces (RVIs)
Not supported9.5R1Not supported9.5R1Not supportedOSPF Multitopology Routing(MT-OSPF)
See the Junos OS Routing Protocols Configuration Guide.
Not supported9.4R110.2R19.0R2Not supportedOSPFv2
Not supportedNot supportedNot supported10.3R1Not supportedOSPFv3 IPSec support
10.4R19.4R110.2R19.0R210.1R1Routed VLAN interfaces (RVIs)
Not supported9.4R110.2R19.0R210.1R1Routing Information Protocolversion 1 (RIPv1) and RIPv2
Not supported9.4R110.2R19.0R210.1R1Static routes
Not supported9.6R1Not supported9.2R1Not supportedVirtual routing and forwarding(VRF)with IPv4—virtual routinginstances
Not supported10.0R1Not supported10.0R1Not supportedVRF with IPv4—virtual routinginstances for multicast traffic
Not supported10.3R1Not supported10.2R1Not supportedVRF with IPv6—virtual routinginstances for multicast traffic
Not supported10.1R1Not supported10.1R1Not supportedVRF with IPv6—virtual routinginstances for unicast traffic
Table 13: MPLS Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supportedNot supportedNot supported9.5R1Not supportedMPLS—includes RSVP-basedlabel-switched paths (LSPs),MPLS-based circuitcross-connects (CCCs), andfast reroute
Copyright © 2010, Juniper Networks, Inc.12
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 13: MPLS Features by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
A separate software license is required for MPLS. See “Understanding Software Licenses for the EX Series Switch” on page 24.
Not supportedNot supportedNot supported10.1R1Not supportedMPLS with class of service(CoS) and IP over MPLS
Table 14: Multicast Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported9.4R110.2R19.0R2Not supportedIGMP (Internet GroupManagement Protocol) version1 (IGMPv1) and IGMPv2
Not supported9.6R110.2R19.3R2Not supportedIGMPv3
Not supported9.4R110.2R19.1R110.1R1IGMPv1/v2 snooping
Not supported9.4R110.2R19.2R110.1R1IGMP snooping with routedVLAN interfaces (RVIs)
Not supported9.6R110.2R19.6R110.1R1IGMPv3 snooping
Not supported9.4R110.2R19.4R1Not supportedMulticast Source DiscoveryProtocol (MSDP)
See the Junos OSMulticast Protocols Configuration Guide.
Not supportedNot supportedNot supported9.6R1Not supportedMulticast VLAN registration(MVR)
Not supported9.4R1Not supported9.2R1Not supportedProtocol IndependentMulticastdensemode (PIM DM)
See the Junos OSMulticast Protocols Configuration Guide.
Not supported9.4R110.2R19.0R2Not supportedProtocol IndependentMulticastsparse mode (PIM SM)
See the Junos OSMulticast Protocols Configuration Guide.
Not supported9.4R110.2R19.3R1Not supportedProtocol IndependentMulticastsource-specific multicast (PIMSSM)
See the Junos OSMulticast Protocols Configuration Guide.
13Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Table 14: Multicast Features by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported9.4R1Not supported9.0R2Not supportedSingle-source multicast
Table 15: Network Management andMonitoring Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supportedNot supportedNot supported10.2R1Not supported802.1ag Ethernet OAMconnectivity fault management(CFM)
Not supported10.0R1Not supported9.4R1Not supportedEthernet OAM link faultmanagement (LFM)
Not supported9.4R110.2R19.0R210.1R1Port mirroring
Not supported9.5R1Not supported9.5R1Not supportedPort mirroring enhancements
• Layer 3 interface support
• Multiple VLAN support
Not supportedNot supportedNot supported10.0R1Not supportedPort mirroring enhancements
• Ingress-only and egress-onlyattributes onVLANmembersto avoid flooding mirroredtraffic to member interfacesof a VLAN on theintermediate switch
Not supported10.1R110.2R19.3R210.1R1Real-time performancemonitoring (RPM)
Not supported9.4R110.2R19.0R210.1R1RMON
Not supported10.3R110.2R110.3R1Not supportedRPMhardware timestampswithrouted VLAN interfaces (RVIs)
Not supported10.0R1Not supported9.3R2Not supportedsFlowmonitoring technology
Not supported10.4R1Not supported10.4R1Not supportedsFlow technology: egresssampling
Not supported10.2R1Not supported10.2R1Not supportedsFlow technology: persistent IPaddresses for agent IDs and usein datagrams
Copyright © 2010, Juniper Networks, Inc.14
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 15: Network Management andMonitoring Features by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported9.4R110.2R19.0R210.1R1Simple Network ManagementProtocol version 1 (SNMPv1),SNMPv2, and SNMPv3
Table 16: Port Security Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported10.0R110.2R19.6R110.1R1Automatic recovery forport errordisable conditions
Not supported9.4R110.2R19.3R210.1R1DHCP option 82
Not supported10.3R1Not supported9.0R210.1R1DHCP snooping
Not supported10.3R1Not supported9.0R210.1R1Dynamic ARP inspection (DAI)
10.3R1Not supportedNot supported9.2R110.1R1IP source guard
Not supported10.310.2R19.0R210.1R1MAC address limit per port
10.4R19.4R110.2R19.0R210.1R1MAC limiting
Not supportedNot supportedNot supported9.0R210.1R1MACmove limiting
Not supported10.3R1Not supported9.4R110.1R1Persistent storage for DHCPsnooping
10.4R19.4R110.2R19.0R210.1R1Static ARP support
Table 17: Routing Policy and Packet Filtering Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported10.3R1Not supported10.0R1Not supportedDynamic allocation of TCAMmemory to firewall filters
Not supported9.4R110.2R19.0R210.1R1Firewall filters and rate limiting
For a list of supported firewall filtermatch conditions and actions, see Firewall FilterMatchConditions andActions for EXSeriesSwitches.
Not supported10.0R110.2R19.0R210.1R1Firewall filters on LAGs
15Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Table 17: Routing Policy and Packet Filtering Features by Junos OS Release (continued)
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supported9.6R110.2R19.2R110.1R1Firewall filter on loopbackinterface
Not supported10.4R110.4R110.4R110.4R1Firewall filter on managementinterface
Not supportedNot applicableNot applicable10.4R1(EX4200 only)
Not applicableFirewall filter on virtualmanagement interface
Not supported10.3R1Not supported10.1R1Not supportedFirewall filters with IPv6
Not supported9.4R110.2R19.0R210.1R1Policing
Table 18: Spanning-Tree Protocols Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
10.4R19.4R110.2R19.1R110.1R1BPDU protection forspanning-tree protocols
10.4R19.4R110.2R19.1R110.1R1Loop protection forspanning-tree protocols
10.4R19.4R110.2R19.1R110.1R1Root protection forspanning-tree protocols
Not supported10.2R110.2R110.2R1Not supportedSpanning tree:
• RSTP and VSTP concurrentconfiguration
10.4R19.4R110.2R19.0R210.1R1Spanning tree:
• Spanning Tree Protocol(STP)
• RapidSpanningTreeProtocol(RSTP)
• Multiple Spanning TreeProtocol (MSTP)
Not supported9.6R110.2R19.4R110.1R1Spanning tree:
• VLANSpanningTreeProtocol(VSTP)
Copyright © 2010, Juniper Networks, Inc.16
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 19: SystemManagement Features by Junos OS Release
EX8200VirtualChassis
EX8200Switches
EX4500Switches
EX3200,EX4200Switches
EX2200SwitchesFeature
Not supportedNot supported10.2R19.4R110.1R1Autoinstallationofconfigurationfiles
Not supported9.6R110.2R19.6R110.1R1Automatic software download
10.4R19.4R110.2R19.0R210.1R1Configuration rollback
Not supported9.4R110.2R19.4R1Not supportedIP directed broadcast
Not supported9.4R110.2R19.0R210.1R1J-Web interface, for switchconfigurationandmanagement
Not applicableNot applicableNot applicable10.0R1Not applicableOnline insertion and removal(OIR) of uplink modules
RelatedDocumentation
EX2200 Switches Hardware Overview•
• EX3200 Switches Hardware Overview
• EX4200 Switches Hardware Overview
• EX4500 Switches Hardware Overview
• EX8208 Switch Hardware Overview
• EX8216 Switch Hardware Overview
• XRE200 External Routing Engine Hardware Overview
• Layer 3 Protocols Supported on EX Series Switches
• Layer 3 Protocols Not Supported on EX Series Switches
17Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Understanding Software Infrastructure and Processes
Each switch runs the Juniper Networks Junos operating system (Junos OS) for Juniper
Networks EX Series Ethernet Switches on its general-purpose processors. Junos OS
includes processes for Internet Protocol (IP) routing and for managing interfaces,
networks, and the chassis.
The Junos OS runs on the Routing Engine. The Routing Engine kernel coordinates
communication among the Junos OS processes and provides a link to the Packet
Forwarding Engine.
With the J-Web interface and the command-line interface (CLI) to the Junos OS, you
configure switching features and routing protocols and set the properties of network
interfaces on your switch. After activating a software configuration, use either the J-Web
or CLI user interface to monitor the switch, manage operations, and diagnose protocol
and network connectivity problems.
• Routing Engine and Packet Forwarding Engine on page 18
• Junos OS Processes on page 18
Routing Engine and Packet Forwarding Engine
A switch has two primary software processing components:
• Packet Forwarding Engine—Processes packets; applies filters, routing policies, and
other features; and forwards packets to the next hop along the route to their final
destination.
• Routing Engine—Provides three main functions:
• 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 andmonitoring functions for the switch, including controllingpower
andmonitoring 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.
Theseparationof functionsprovidesoperational stability, becauseeachprocessaccesses
itsownprotectedmemory space. Inaddition, becauseeachprocess isa separate software
package, you can selectively upgrade all or part of the Junos OS, for added flexibility.
Table 20 on page 19 describes the primary Junos OS processes.
Copyright © 2010, Juniper Networks, Inc.18
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 20: Junos OS Processes
DescriptionNameProcess
Detects hardware on the system that is used to configure network interfaces.
Monitors the physical status of hardware components and field-replaceable units(FRUs),detectingwhenenvironmentsensors suchas temperaturesensorsare triggered.
Relays signals and interrupts—for example, when devices are taken offline, so that thesystem can close sessions and shut down gracefully.
chassisdChassis process
Handles Layer 2 switching functionality such as MAC address learning, Spanning Treeprotocol andaccessport security. Theprocess is also responsible formanagingEthernetswitching interfaces, VLANs, and VLAN interfaces.
Manages Ethernet switching interfaces, VLANs, and VLAN interfaces.
eswdEthernetswitchingprocess
Defines how routing protocols operate on the switch. The overall performance of theswitch is largely determined by the effectiveness of the forwarding process.
pfemForwardingprocess
Configures andmonitors network interfaces by defining physical characteristics suchas link encapsulation, hold times, and keepalive timers.
dcdInterfaceprocess
Provides communication between the other processes and an interface to theconfiguration database.
Populates the configuration databasewith configuration information and retrieves theinformation when queried by other processes to ensure that the system operates asconfigured.
Interactswith the other processeswhen commands are issued through one of the userinterfaces on the switch.
If a process terminates or fails to startwhen called, themanagement process attemptsto restart it a limited number of times to prevent thrashing and logs any failureinformation for further investigation.
mgdManagementprocess
Defines how routing protocols such as RIP, OSPF, and BGP operate on the device,including selecting routes andmaintaining forwarding tables.
rpdRoutingprotocolprocess
RelatedDocumentation
Formore information about basic system parameters, supported protocols, and software
processes, see the Junos OS System Basics Configuration Guide.
•
Installation Overview
• Understanding Software Installation on EX Series Switches on page 20
• Junos OS Package Names on page 22
• Understanding System Snapshot on EX Series Switches on page 22
19Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Understanding Software Installation on EX Series Switches
A Juniper Networks EX Series Ethernet Switch is delivered with Juniper Networks Junos
operating system (Junos OS) preinstalled. As new features and software fixes become
available, youmust upgrade your software to use them. You can also downgrade Junos
OS to a previous release.
This topic covers:
• Overview of the Software Installation Process on page 20
• Software Package Security on page 20
• Installing Software on a Virtual Chassis on page 20
• Installing Software on EX8200 Switches with Redundant Routing Engines on page 21
• Installing Software Using Automatic Software Download on page 21
• Troubleshooting Software Installation on page 21
Overview of the Software Installation Process
An EX Series switch is delivered with Junos OS preinstalled. When you connect power to
the switch, it starts (boots) up from the installed software.
You upgrade Junos OS on an EX Series switch by copying a software package to your
switch or another system on your local network, then use either the J-Web interface or
the CLI to install the new software package on the switch. Finally, you reboot the switch;
it boots from the upgraded software. After a successful upgrade, you should back up the
new current configuration to a secondary device.
During a successful upgrade, the upgrade package removes all files from /var/tmp and
completely reinstalls the existing software. It retains configuration files, and similar
information, such as secure shell and host keys, from the previous version. The previous
software package is preserved in a separate disk partition, and you canmanually revert
back to it if necessary. If the software installation fails for any reason, such as loss of
powerduring the installationprocess, thesystemreturns to theoriginallyactive installation
when you reboot.
Software Package Security
All Junos OS releases are delivered in signed packages that contain digital signatures to
ensure official Juniper Networks software. For more information about signed software
packages, see the Junos OS Installation and Upgrade Guide.
Installing Software on a Virtual Chassis
You can connect individual Juniper Networks EX4200 Ethernet Switches together to
formoneunit andmanage theunit asasingle chassis, calledaVirtualChassis. TheVirtual
Chassis operates as a single network entity composed of members. Eachmember of a
Virtual Chassis runs a Junos OS package.
For ease of management, the Virtual Chassis provides flexible methods to upgrade
software releases. You can deploy a new software release to all members of a Virtual
Chassis or to only a particular member.
Copyright © 2010, Juniper Networks, Inc.20
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Installing Software on EX8200 Switches with Redundant Routing Engines
You can install software on an EX8200 switch with redundant Routing Engines in one
of two ways:
• Perform a nonstop software upgrade (NSSU)—An NSSU upgrades both Routing
Engines with a single command and with aminimum of network disruption. An NSSU
takes advantage of graceful Routing Engine switchover (GRES) and nonstop active
routing (NSR) toensurenodisruption to thecontrol plane. Youcanminimizedisruption
to network traffic by defining link aggregation groups (LAGs) such that the member
links of each LAG reside on different line cards. The line cards are upgraded one at a
time, so that traffic continues to flow through the other line cards while a line card is
being upgraded.
You cannot use NSSU to downgrade the software running on a switch.
For more information about NSSU, see Understanding Nonstop Software Upgrade on
EX Series Switches.
• Upgrade each Routing Engine manually—You can perform a Junos OS installation on
each Routing Engine separately, starting with the backup Routing Engine. You can use
this procedure todowngrade the software runningonaswitch. See “InstallingSoftware
on an EX8200 Switch with Redundant Routing Engines (CLI Procedure)” on page 29.
Installing Software Using Automatic Software Download
The automatic software download feature uses the DHCPmessage exchange process
todownloadand install softwarepackages.Userscandefineapath toasoftwarepackage
on the DHCP server and then the DHCP server communicates this path to EX Series
switches acting as DHCP clients as part of the DHCPmessage exchange process. The
DHCP clients that have been configured for automatic software download receive these
messagesand,when thesoftwarepackagename in theDHCPservermessage isdifferent
from that of the software package that booted the DHCP client switch, download and
install the software package. See “Upgrading Software Using Automatic Software
Download on EX Series Switches” on page 40.
Troubleshooting Software Installation
If the Junos OS loads but the CLI is not working for any reason, or if the switch has no
software installed, you can use the recovery installation procedure to install the software
on the switch. See “Troubleshooting Software Installation” on page 49.
NOTE: You can also use this procedure to load two versions of Junos OS inseparate partitions on the switch.
RelatedDocumentation
Downloading Software Packages from Juniper Networks on page 27•
• Installing Software on EX Series Switches (J-Web Procedure) on page 34
• InstallingSoftwareonanEXSeriesSwitchwithaSingleRoutingEngine (CLIProcedure)
on page 28
21Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
• Installing Software on an EX8200 Switch with Redundant Routing Engines (CLI
Procedure) on page 29
Junos OS Package Names
You upgrade the Juniper Networks Junos operating system (Junos OS) on a Juniper
Networks EX Series Ethernet Switch by copying a software package to your switch or
another system on your local network, then install the new software package on the
switch.
A software package name is in the following format:
package-name-m.nZx.y-domestic-signed.tgz
where:
• package-name is the name of the package—for example, jinstall-ex-4200.
• m.n is the software release, withm representing the major release number and n
representing the minor release number—for example, 9.5.
• Z indicates the type of software release, where R indicates released software and B
indicates beta-level software.
• x.y represents the version of the major software release (x) and an internal tracking
number (y)—for example, 1.6.
• domestic-signed is appended toall EXSeriespackagenames. Formost Junospackages,
domestic is used for theUnitedStatesandCanadaandexport forworldwidedistribution.
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
RelatedDocumentation
Installing Software on EX Series Switches (J-Web Procedure) on page 34•
• InstallingSoftwareonanEXSeriesSwitchwithaSingleRoutingEngine (CLIProcedure)
on page 28
• Installing Software on an EX8200 Switch with Redundant Routing Engines (CLI
Procedure) on page 29
• Downloading Software Packages from Juniper Networks on page 27
• Understanding Software Installation on EX Series Switches on page 20
Understanding SystemSnapshot on EX Series Switches
You can create copies of the software running a Juniper Networks EX Series Ethernet
Switch using the system snapshot feature. The system snapshot feature takes a
“snapshot” of the files currently used to run the switch—the complete contents of the
/configand /vardirectories,which include the running JuniperNetworks Juniper operating
system (Junos OS), the active configuration, and the rescue configuration—and copies
all of these files intoanalternate (internal,meaning internal flash, or anexternal,meaning
Copyright © 2010, Juniper Networks, Inc.22
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
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 internalmemory, or tomove files to internalmemory if the switchwas 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 samememory
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 USBmemory on the switch.
System snapshots on EX Series switches have the following limitations:
• You cannot use snapshots tomove 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 VCmember creating
the snapshot, executed, and the output is then returned to the switch that initiated the
process. For instance, if the command to createanexternal 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.
RelatedDocumentation
Understanding Software Installation on EX Series Switches on page 20•
• Creating a Snapshot and Using It to Boot an EX Series Switch on page 39
Licenses Overview
• Understanding Software Licenses for the EX Series Switch on page 24
• License Key Components for the EX Series Switch on page 25
23Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
Understanding Software Licenses for the EX Series Switch
To enable and use some Juniper Networks JunosOS features, youmust purchase, install,
andmanage separate software licenses. The presence on the switch of the appropriate
software license keys (“passwords”) determines whether you are eligible to configure
and use certain features.
Junos operating system (Junos OS) feature licenses are universal, and the same feature
can be installed and configured onmultiple switches. However, to conform to Junos OS
feature licensing requirements, youmust purchase one license per switch.
For a Virtual Chassis deployment, two licenses are recommended for redundancy. These
licenses can be based on the serial numbers of any twomember switches. If you add
additional member switches to the Virtual Chassis configuration, you do not need
additional licenses.
Features Requiring a License
The following Junos OS features require an Advanced Feature License (AFL):
• Border Gateway Protocol (BGP) andmultiprotocol BGP (MBGP)
• Intermediate System-to-Intermediate System (IS-IS)
• IPv6 routing (except multicast protocols)
• MPLSwith RSVP-based label switched paths (LSPs) and MPLS-based circuit
cross-connects (CCCs)
Table 21 on page 24 lists the license you can purchase for each EX Series switch model.
The license allows you to run all the advanced software features on your switch.
For informationabouthowtopurchaseasoftware license, contact your JuniperNetworks
sales representative.
Table 21: Junos OS Advanced Feature License (AFL) Part Number for EX Series Switches
AFL Part NumberSwitch Model
EX-24-AFLEX3200-24PEX3200-24TEX4200-24FEX4200-24PEX4200-24T
EX-48-AFLEX3200-48PEX3200-48TEX4200-48FEX4200-48PEX4200-48T
EX8208-AFLEX8208
EX8216-AFLEX8216
Copyright © 2010, Juniper Networks, Inc.24
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
LicenseWarningMessages
For features that require a license, youmust install and properly configure a license key
to meet the requirements for using the licensable feature. To obtain a license key, use
the contact information provided in your Advanced Feature License (AFL) certificate.
If you have not purchased the AFL and installed the license key, you receive warnings
after you commit a licensible feature. The system generates system log (syslog) alarm
messages notifying you that the feature requires a license—for example:
Sep 3 05:59:11 craftd[806]: Minor alarm set, BGP Routing Protocol usage requires a licenseSep 3 05:59:11 alarmd[805]: Alarm set: License color=YELLOW, class=CHASSIS, reason=BGP Routing Protocol usage requires a licenseSep 3 05:59:11 alarmd[805]: LICENSE_EXPIRED: License for feature bgp(47) expired
Output from the showsystemalarms commanddisplays theactive alarms—for example:
user@switch> show system alarms1 alarm currently activeAlarm time Class Description2009-09-03 06:00:11 UTC Minor BGP Routing Protocol usage requires a license
Every time youedit or view the configuration, amessagedisplays the committed features
that require a license. For example, when you edit the BGP configuration, a warning
message appears—for example:
[edit protocols]user@switch# bgpwarning: requires ’bgp’ license
Likewise, viewing theconfigurationcauses thesystemtodisplayamessage—for example:
user@switch> show configuration protocols## Warning: requires 'bgp' license##bgp { hold-time 10; damping;}
RelatedDocumentation
Managing Licenses for the EX Series Switch (CLI Procedure) on page 41•
• Managing Licenses for the EX Series Switch (J-Web Procedure) on page 42
• Monitoring Licenses for the EX Series Switch on page 46
• License Key Components for the EX Series Switch on page 25
• EX Series Switch Software Features Overview on page 3
License Key Components for the EX Series Switch
When you purchase a license for a Junos OS feature that requires a separate license, you
receive a license key.
A license key consists of two parts:
25Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Software Installation Overview
• License ID—Alphanumeric string thatuniquely identifies the licensekey.Whena license
is generated, it is given a license ID.
• License data—Block 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 uqcedsra32zr lsevik ftvjed o4jy5u fynzzj mgviylkgioyf ardb5g sj7wnt rsfked wbjf5a sg
The license data defines the device ID for which the license is valid and the version of the
license.
RelatedDocumentation
• Managing Licenses for the EX Series Switch (CLI Procedure) on page 41
• Managing Licenses for the EX Series Switch (J-Web Procedure) on page 42
• Understanding Software Licenses for the EX Series Switch on page 24
Copyright © 2010, Juniper Networks, Inc.26
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
CHAPTER 2
Installing Junos OS
• Downloading Software Packages from Juniper Networks on page 27
• Installing Software on an EX Series Switch with a Single Routing Engine (CLI
Procedure) on page 28
• Installing Software on an EX8200 Switch with Redundant Routing Engines (CLI
Procedure) on page 29
• Installing Software on EX Series Switches (J-Web Procedure) on page 34
• Rebooting or Halting the EX Series Switch (J-Web Procedure) on page 35
Downloading Software Packages from Juniper Networks
You can download Junos OS packages from the Juniper Networks website to upgrade
software on your EX Series switch.
Beforeyoubegin todownloadsoftwareupgrades, ensure that youhavea JuniperNetworks
Webaccountandavalid support contract. Toobtainanaccount, complete the registration
form at the Juniper Networks website: https://www.juniper.net/registration/Register.jsp.
To download software upgrades from Juniper Networks:
1. Using aWeb 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 ofyour location:
• https://www.juniper.net/support/csc/swdist-domestic/
2. Log in to the Juniper Networks authentication system using the username (generally
your e-mail address) and password supplied by Juniper Networks representatives.
3. Using the J-Web interface or theCLI, select the appropriate software package for your
application. See “Junos OS Package Names” on page 22.
4. Download the software to a local host or to an internal software distribution site.
RelatedDocumentation
Installing Software on EX Series Switches (J-Web Procedure) on page 34•
• InstallingSoftwareonanEXSeriesSwitchwithaSingleRoutingEngine (CLIProcedure)
on page 28
27Copyright © 2010, Juniper Networks, Inc.
• Understanding Software Installation on EX Series Switches on page 20
InstallingSoftwareonanEXSeriesSwitchwithaSingleRoutingEngine(CLIProcedure)
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 EX8200 Switch with Redundant Routing Engines (CLI
Procedure)” on page 29.
To install software upgrades on a switch with a single Routing Engine:
1. Download the software package as described in “Downloading Software Packages
from Juniper Networks” on page 27.
2. (Optional) Back up the current software configuration to a second storage option.
See the JunosOS InstallationandUpgradeGuide for instructionsonperforming this task.
3. (Optional) Copy the software package to the switch. We recommend that you use
FTP to copy the file to the /var/tmp directory.
This step is optional because Junos OS can also be upgraded when the software
image is storedata remote location. These instructionsdescribe the softwareupgrade
process for both scenarios.
4. Install the new package on the switch:
user@switch> request system software add packageReplace packagewith one of the following paths:
• For a software package in a local directory on the switch—/var/tmp/package.tgz.
• For a software package on a remote server:
• ftp://hostname/pathname/package.tgz
• http://hostname/pathname/package.tgz
where package.tgz is, for example, jinstall-ex-4200-9.4R1.8-domestic-signed.tgz.
Include the optionalmember option to install the software package on only one
member of an EX4200 Virtual Chassis:
user@switch> request system software add sourcemembermember-id reboot
Other members of the Virtual Chassis are not affected. To install the software on all
members of the Virtual Chassis, do not include themember option.
NOTE: To abort the installation, do not reboot your device; instead, finishthe 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.
Copyright © 2010, Juniper Networks, Inc.28
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
5. Reboot to start the new software:
user@switch> request system reboot
6. After the reboot has completed, log in and verify that the new version of the software
is properly installed:
user@switch> show version
RelatedDocumentation
Installing Software on EX Series Switches (J-Web Procedure) on page 34•
• Troubleshooting Software Installation on page 49
• Junos OS Package Names on page 22
• Understanding Software Installation on EX Series Switches on page 20
Installing Software on an EX8200 Switch with Redundant Routing Engines (CLIProcedure)
For an EX8200 switch with redundant Routing Engines, you canminimize disruption to
network operation during a Junos OS upgrade by upgrading the Routing Engines
separately, starting with the backup Routing Engine.
NOTE: If your switch is running Junos OS Release 10.4 or later, you canupgrade the software packages on both Routing Engines with a singlecommand andwithminimal network disruption by using nonstop softwareupgrade (NSSU) instead of this procedure. See Upgrading Software UsingNonstop Software Upgrade (CLI Procedure).
CAUTION: If graceful routing engine switchover (GRES), or nonstop activerouting (NSR) is enabled when you initiate a software installation, thesoftwaredoes not install properly.Make sure you issue theCLI delete chassisredundancycommandwhenprompted. IfGRES isenabled, itwill be removedwith the redundancycommand.Bydefault,NSR isdisabled. IfNSR isenabled,remove the nonstop-routing statement from the [edit routing-options]
hierarchy level to disable it.
Toupgrade thesoftwarepackageonanEX8200switchwithone installedRoutingEngine,
see “Installing Software on an EX Series Switch with a Single Routing Engine (CLI
Procedure)” on page 28.
To upgrade redundant Routing Engines, you first install the new Junos OS release on the
backupRoutingEnginewhile keeping thecurrently running softwareversionon themaster
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.
29Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Installing Junos OS
To upgrade Junos OS on the switch, perform the following tasks:
1. Preparing the Switch for the Software Installation on page 30
2. Installing Software on the Backup Routing Engine on page 31
3. Installing Software on the Default Master Routing Engine on page 32
4. ReturningRoutingControl to theDefaultMasterRoutingEngine (Optional)onpage33
Preparing the Switch for the Software Installation
Perform the following steps before installing the software:
1. Log in to the master Routing Engine’s console.
For information on logging in to the Routing Engine through the console port, see
Connecting and Configuring an EX Series Switch (CLI Procedure).
2. Enter the Junos OS CLI configuration mode:
a. Start the CLI from the shell prompt:
user@switch:RE% cli
You will see:
{master}user@switch>
b. Enter configuration mode:
user@switch> configure
You will see:
{master}[edit]user@switch#
3. Disable nonstop active routing (NSR) (supported on switches running Junos OS
Release 10.4 or later):
{master}[edit]user@switch# delete routing-options nonstop-routing
4. Disable graceful Routing Engine switchover (GRES):
{master}[edit]user@switch# deactivate chassis redundancy graceful-switchover
5. Save the configuration change on both Routing Engines:
{master}[edit]user@switch# commit synchronize
NOTE: To ensure themost recent configuration changes are committedbefore the software upgrade, perform this step even if nonstop activerouting and graceful Routing Engine switchover were previously disabled.
Copyright © 2010, Juniper Networks, Inc.30
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
6. Exit the CLI configuration mode:
[edit]user@switch# exit
7. (Optional) Back up the current software configuration to a second storage option.
See the JunosOS InstallationandUpgradeGuide for instructionsonperforming this task.
Installing Software on the Backup Routing Engine
After you have prepared the switch for software installation, install the software on the
backup Routing Engine. During the installation, the master Routing Engine continues
operations, minimizing the disruption to network traffic.
1. Download the software by following the procedures in “Downloading Software
Packages from Juniper Networks” on page 27.
2. Copy the software package to the switch. We recommend that you use FTP to copy
the file to the /var/tmp directory.
3. Log in to the console of the backup Routing Engine.
4. Install the new software package:
user@switch> request system software add /var/tmp/package.tgz
where package.tgz is, for example, jinstall-ex-8200-10.2R1.8-domestic-signed.tgz.
NOTE: To abort the installation, do not reboot your device; instead, finishthe 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 chanceto stop the installation.
5. Reboot to start the new software:
user@switch> request system rebootReboot the system? [yes, no] (no) yes
NOTE: Youmust reboot the switch to load the new installation of theJunos OS.
6. After the reboot has completed, log in and verify the new version of the software is
properly installed:
user@switch> show version
31Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Installing Junos OS
Installing Software on the Default Master Routing Engine
To transfer control to the backup Routing Engine and then upgrade or downgrade the
master Routing Engine software:
1. Log in to the master Routing Engine console port.
2. Transfer control to the backup Routing Engine:
user@switch> request chassis routing-enginemaster switch
NOTE: Because graceful Routing Engine switchover is disabled, thisswitchover causes all line cards in the switch to reload. All network trafficpassing through these line cards is lost during the line card reloads.
3. Verify that thedefault backupRoutingEngine (shownasslot 1 in thecommandoutput)
is now themaster Routing Engine:
user@switch> show chassis routing-engine
You will see:
Routing Engine status:Slot 0:Current state BackupElection priority Master (default)
Routing Engine status:Slot 1:Current state MasterElection priority Backup (default)
4. Install the new software package:
user@switch> request system software add package.tgz
5. Reboot the Routing Engine:
user@switch> request system rebootReboot the system? [yes, no] (no) yes
Whenthe rebootcompletes, thepromptwill reappear.Wait for thisprompt 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.
8. Re-enable nonstop active routing:
[edit]
Copyright © 2010, Juniper Networks, Inc.32
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
user@switch# set routing-options nonstop-routing
NOTE: Automatic commit synchronization is a requirement for nonstopactive routing. If you have not yet enabled it, do so with the set system
commit synchronize command.
9. Save the configuration change:
[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 themaster Routing
Engine at the beginning of the procedure (the default master Routing Engine), perform
the next task.
Returning Routing Control to the Default Master Routing Engine (Optional)
The switch canmaintain normal operations with the Routing Engine in slot 1 acting as
the master Routing Engine after the software upgrade, so only perform this task if you
want to return routing control to the default master Routing Engine in slot 0.
1. Transfer routing control back to the default master Routing Engine:
user@switch> request chassis routing-enginemaster switch
2. Verify that the default master Routing Engine (slot 0) is indeed themaster Routing
Engine:
user@switch> show chassis routing-engine
You will see:
Routing Engine status:Slot 0:Current state MasterElection priority Master (default)
Routing Engine status:Slot 1:Current state BackupElection priority Backup (default)
RelatedDocumentation
Installing Software on EX Series Switches (J-Web Procedure) on page 34•
• Upgrading Software Using Nonstop Software Upgrade (CLI Procedure)
• Troubleshooting Software Installation on page 49
• Junos OS Package Names on page 22
• Understanding Software Installation on EX Series Switches on page 20
• Understanding EX8208 Switch Component and Functionality Redundancy
33Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Installing Junos OS
Installing Software on EX Series Switches (J-Web Procedure)
You can upgrade software packages on a single fixed-configuration switch, on an
individual member of a Virtual Chassis, or for all members of a Virtual Chassis.
You can use the J-Web interface to install software upgrades from a server using FTP or
HTTP, or by copying the file to the EX Series switch.
This topic describes:
1. Installing Software Upgrades from a Server on page 34
2. Installing Software Upgrades by Uploading Files on page 35
Installing Software Upgrades from a Server
To install software upgrades from a remote server by using FTP or HTTP:
1. Download the software package as described in “Downloading Software Packages
from Juniper Networks” on page 27.
2. Log in to the Juniper Networks authentication system using the username (generally
your e-mail address) and password supplied by Juniper Networks representatives.
3. In the J-Web interface, selectMaintain>Software>Install Package.
4. On the Install Remote page, enter information into the fields described in Table 22 on
page 34.
5. Click Fetch and Install Package. The software is activated after the switch hasrebooted.
Table 22: Install Remote Summary
Your ActionFunctionField
Type the full address of the software packagelocation on the FTP or HTTP server—one of thefollowing:
ftp://hostname/pathname/package-namehttp://hostname/pathname/package-name
Specifies the FTP or HTTP server, file path, andsoftware package name.
Package Location(required)
Type the username.Specifies the username, if the server requiresone.
User
Type the password.Specifies the password, if the server requiresone.
Password
Check the box if you want the switching platform toreboot automatically when the upgrade is complete.
If this box is checked, the switching platform isautomatically rebooted when the upgrade iscomplete.
Reboot If Required
Copyright © 2010, Juniper Networks, Inc.34
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Installing Software Upgrades by Uploading Files
To install software upgrades by uploading files:
1. Download the software package.
2. In the J-Web interface, selectMaintain>Software>Upload Package.
3. On the Upload Package page, enter information into the fields described in Table 23
on page 35.
4. ClickUpload and Install Package. The software is activated after the switchingplatform has rebooted.
Table 23: Upload Package Summary
Your ActionFunctionField
Type the location of the software package, or clickBrowse to navigate to the location.
Specifies the location of the softwarepackage.
File to Upload(required)
Select the check box if you want the switchingplatform to reboot automatically when the upgradeis complete.
Specifies that the switching platform isautomatically rebooted when the upgradeis complete.
Reboot If Required
RelatedDocumentation
InstallingSoftwareonanEXSeriesSwitchwithaSingleRoutingEngine (CLIProcedure)
on page 28
•
• Understanding Software Installation on EX Series Switches on page 20
• Troubleshooting Software Installation on page 49
Rebooting or Halting the EX Series Switch (J-Web Procedure)
You can use the J-Web interface to schedule a reboot or to halt the switching platform.
To reboot or halt the switching platform by using the J-Web interface:
1. In the J-Web interface, selectMaintain>Reboot.
2. Select one:
• Reboot Immediately—Reboots the switching platform immediately.
• Reboot in number ofminutes—Reboots the switch in the number of minutes fromnow that you specify.
• Rebootwhen the systemtime ishour:minute—Reboots the switch at the absolutetime that you specify, on the current day. Youmust 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.
35Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Installing Junos OS
3. (Optional) In the Message box, type amessage to be displayed to any users on the
switching platform before the reboot occurs.
4. Click Schedule. The J-Web interface requests confirmation to perform the reboot or
halt.
5. ClickOK to confirm the operation.
• 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 Rebooton 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.
RelatedDocumentation
• Starting the J-Web Interface
Copyright © 2010, Juniper Networks, Inc.36
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
CHAPTER 3
Registering the Switch, Booting theSwitch, Upgrading Software, andManaging Licenses
• Registering the Switch on page 37
• Booting the Switch on page 37
• Upgrading Software on page 40
• Managing Licenses on page 41
Registering the Switch
• Registering the EX Series Switch with the J-Web Interface on page 37
Registering the EX Series Switch with the J-Web Interface
To register the EX Series switch:
1. In the J-Web interface, selectMaintain>Customer Support>Product Registration.
Note the serial number that is displayed.
2. Click Register. Enter the serial number in the page that is displayed.
RelatedDocumentation
EX Series Switch Software Features Overview on page 3•
Booting the Switch
• Booting an EX Series Switch Using a Software Package Stored on a USB Flash
Drive on page 38
• Creating a Snapshot and Using It to Boot an EX Series Switch on page 39
37Copyright © 2010, Juniper Networks, Inc.
Booting an EX Series Switch Using a Software Package Stored on a USB Flash Drive
There are twomethods 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 theUSBflashdrive into theUSBport, or youcanuse thesystemsnapshot
feature to copy files from internal switch memory to the USB flash drive.
Tomove 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 39. 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 themethod
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 flashmemory.
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 theUSB flash drive using your computer or other device.
See “Downloading Software Packages from Juniper Networks” on page 27.
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 startswhen the JunosOS loads but the CLI is notworking
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 JunosOSpackage on a flash drive is commonly stored in the root drive
as the only file—for example, file:///jinstall-ex-4200-9.4R1.5-domestic-signed.tgz.
RelatedDocumentation
InstallingSoftwareonanEXSeriesSwitchwithaSingleRoutingEngine (CLIProcedure)
on page 28
•
• Installing Software on EX Series Switches (J-Web Procedure) on page 34
Copyright © 2010, Juniper Networks, Inc.38
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
• See Rear Panel of an EX3200 Switch for USB port location.
• See Rear Panel of an EX4200 Switch for USB port location.
• 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.
• Understanding Software Installation on EX Series Switches on page 20
Creating a Snapshot and Using It to Boot an EX Series Switch
The system snapshot feature takes a “snapshot” of the files currently used to run the EX
Series switch—the complete contents of the /config and /var directories, which include
the running Juniper Networks Junos OS, the active configuration, and the rescue
configuration—and copies all of these files into an alternate (internal, meaning internal
flash, or an external, meaning USB flash) memory source. You can then use these
snapshots to boot the switch at the next bootup or as a backup boot option.
This topic includes the following tasks:
1. Creating a Snapshot on a USB Flash Drive and Using It to Boot the Switch on page 39
2. Creating a Snapshot on an Internal Flash Drive and Using it to Boot the
Switch on page 40
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. Place the snapshot into USB flash memory:
user@switch> request system snapshot partitionmedia external slice 1
NOTE: This example uses the partition option. If you have already created
a partition for the snapshot, you don’t need to use the partition option.
2. (Optional) Perform this step if you want to boot the switch now using the snapshot
stored on theUSB flash drive. If you created the snapshot as a backup, do not perform
this step.
• To reboot the switch using the most recently created snapshot:
user@switch> request system rebootmedia external
39Copyright © 2010, Juniper Networks, Inc.
Chapter 3: Registering the Switch, Booting the Switch, Upgrading Software, and Managing Licenses
• To reboot the switch using a snapshot in a specific partition on the USB flash drive:
user@switch> request system rebootmedia external slice 1
Creating a Snapshot on an Internal Flash Drive and Using it to Boot the Switch
A snapshot can be created on internalmemory 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. Place the snapshot files in internal memory:
user@switch> request system snapshot paritionmedia internal slice 1
NOTE: This example uses the partition option. If you have already created
a partition for the snapshot, you don’t 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.
• To reboot the switch using the most recently created snapshot:
user@switch> request system rebootmedia internal
• To reboot the switch using a snapshot in a specific partition in internal memory:
user@switch> request system rebootmedia internal slice 1
RelatedDocumentation
Verifying That a System SnapshotWas Created on an EX Series Switch on page 46•
• Understanding System Snapshot on EX Series Switches on page 22
Upgrading Software
• Upgrading Software Using Automatic Software Download on EX Series
Switches on page 40
Upgrading Software Using Automatic Software Download on EX Series Switches
The automatic software download feature uses the DHCPmessage exchange process
to download and install software packages. You configure the automatic software
download feature on EX Series switches acting as DHCP clients. Youmust enable
automatic software download on the EX Series switch before the software upgrade can
occur.
You configure a path to a software package file on the DHCP server. The server
communicates the path to the software package file through DHCP server messages.
If you enable automatic software download, the DHCP client EX Series switch compares
the software package name in the DHCP server message to the name of the software
package that booted the switch. If the software packages are different, the DHCP client
Copyright © 2010, Juniper Networks, Inc.40
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
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 EXSeries 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 DHCPmessage exchange process.
If an automatic software download occurs, you see the followingmessage on the switch:
Auto-image upgrade startedOn successful installation systemwill reboot automatically
The switch reboots automatically to complete the upgrade.
RelatedDocumentation
Verifying That Automatic Software Download Is Working Correctly on page 45•
• Understanding Software Installation on EX Series Switches on page 20
• DHCP Services for EX Series Switches Overview
Managing Licenses
• Managing Licenses for the EX Series Switch (CLI Procedure) on page 41
• Managing Licenses for the EX Series Switch (J-Web Procedure) on page 42
Managing Licenses for the EX Series Switch (CLI Procedure)
To enable and use some Junos OS features on an EX Series switch, youmust purchase,
install, andmanage separate software licenses. Each switch requires one license. For a
Virtual Chassis deployment, two licenses are recommended for redundancy. After you
have configured the features, you see a warning message if the switch does not have a
license for the feature.
Before you begin managing licenses, be sure that you have:
• Obtained theneeded licenses. For informationabouthowtopurchasesoftware licenses,
contact your Juniper Networks sales representative.
41Copyright © 2010, Juniper Networks, Inc.
Chapter 3: Registering the Switch, Booting the Switch, Upgrading Software, and Managing Licenses
• Understand what makes up a license key. For more information, see “License Key
Components for the EX Series Switch” on page 25.
This topic includes the following tasks:
• Adding New Licenses on page 42
• Deleting Licenses on page 42
• Saving License Keys on page 42
Adding New Licenses
To add one or more new license keys on the switch, with the CLI:
1. Add the license key or keys:
• 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
• To add a license key from the terminal:
user@switch> request system license add terminal
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 theCLI outputwhen youpress
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
You can delete only one license at a time.
Saving License Keys
To save the installed license keys to a file (which can be a URL) or to the terminal:
user@switch> request system license save filename | url
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
RelatedDocumentation
Managing Licenses for the EX Series Switch (J-Web Procedure) on page 42•
• Monitoring Licenses for the EX Series Switch on page 46
• Understanding Software Licenses for the EX Series Switch on page 24
Managing Licenses for the EX Series Switch (J-Web Procedure)
To enable and use some Junos OS features on an EX Series switch, youmust purchase,
install, andmanage separate software licenses. Each switch requires one license. For a
Copyright © 2010, Juniper Networks, Inc.42
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Virtual Chassis deployment, two licenses are recommended for redundancy. After you
have configured the features, you see a warning message if the switch does not have a
license for the feature.
Before you begin managing licenses, be sure that you have:
• Obtained theneeded licenses. For informationabouthowtopurchasesoftware 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 25.
This topic includes the following tasks:
• Adding New Licenses on page 43
• Deleting Licenses on page 43
• Displaying License Keys on page 43
• Downloading Licenses on page 44
Adding New Licenses
To add one or more new license keys on the switch, with the J-Web license manager:
1. In the J-Web interface, selectMaintain>Licenses.
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.
4. ClickOK to add the license key or keys.
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. In the J-Web interface, selectMaintain>Licenses.
2. Select the check box of the license or licenses you want to delete.
3. Click Delete.
Displaying License Keys
To display the license keys installed on a switch with the J-Web license manager:
1. In the J-Web interface, selectMaintain>Licenses.
43Copyright © 2010, Juniper Networks, Inc.
Chapter 3: Registering the Switch, Booting the Switch, Upgrading Software, and Managing Licenses
2. Under Installed Licenses, click Display Keys to display all the license keys installedon the switch.
A screendisplaying the licensekeys in text formatappears.Multiple licensesare separated
by a blank line.
Downloading Licenses
To download the license keys installed on the switch with the J-Web license manager:
1. In the J-Web interface, selectMaintain>Licenses.
2. Under Installed Licenses, click Download Keys to download all the license keysinstalled on the switch to a single file.
3. Select Save it to disk and specify the file to which the license keys are to be written.You can also download the license file to your system.
RelatedDocumentation
• Managing Licenses for the EX Series Switch (CLI Procedure) on page 41
• Monitoring Licenses for the EX Series Switch on page 46
• Understanding Software Licenses for the EX Series Switch on page 24
Copyright © 2010, Juniper Networks, Inc.44
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
CHAPTER 4
Verifying Software Installation
• Routine Monitoring on page 45
• Monitoring Licenses on page 46
RoutineMonitoring
• Verifying That Automatic Software Download Is Working Correctly on page 45
• Verifying That a System SnapshotWas Created on an EX Series Switch on page 46
Verifying That Automatic Software Download IsWorking Correctly
Purpose Verify that the automatic software download feature is working correctly.
Action Use the show system services dhcp client interface-name command to verify that the
automatic software download feature has been used to install a software package.
user@switch> show system services dhcp client ge-0/0/1.0 Logical Interface Name ge-0/0/1.0 Hardware address 00:0a:12:00:12:12 Client Status bound Vendor Identifier ether Server Address 10.1.1.1 Address obtained 10.1.1.89 Lease Obtained at 2009-08-20 18:13:04 PST Lease Expires at 2009-08-22 18:13:04 PST
DHCP Options : Name: name-server, Value: [ 10.209.194.131, 2.2.2.2, 3.3.3.3 ] Name: server-identifier, Value: 10.1.1.1 Name: router, Value: [ 10.1.1.80 ] Name: boot-image, Value: jinstall-ex-4200-9.6R1.5-domestic-signed.tgz Name: boot-image-location, Value: 10.1.1.25:/bootfiles/
Meaning The output from this command shows the name and location of the software package
under DHCP optionswhen automatic software download was last used to install a
software package. The sample output in DHCP options shows that the last DHCP server
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
45Copyright © 2010, Juniper Networks, Inc.
download was enabled on this client switch during the last DHCPmessage exchange,
these values were used by the switch to upgrade the software.
RelatedDocumentation
Upgrading Software Using Automatic Software Download on EX Series Switches on
page 40
•
• DHCP Services for EX Series Switches Overview
Verifying That a SystemSnapshotWas Created on an EX Series Switch
Purpose Verify that a system snapshot was created with the proper files on an EX Series switch.
Action View the snapshot:
user@switch> show system snapshotmedia externalInformation for snapshot on external (da1s1)Creation date: Oct 1320:23:23 2009Junos version on snapshot:jbase : 10.0I20090726_0011_userjcrypto-ex: 10.0I20090726_0011_userjdocs-ex: 10.0I20090726_0011_userjkernel-ex: 10.0I20090726_0011_userjroute-ex: 10.0I20090726_0011_userjswitch-ex: 10.0I20090726_0011_userjweb-ex: 10.0I20090726_0011_userjpfe-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 timematch the time when you created the
snapshot.
You can compare the output of this command to the output of the showsystemsoftware
command to ensure that the snapshot contains the same packages as the software
currently running the switch.
RelatedDocumentation
Creating a Snapshot and Using It to Boot an EX Series Switch on page 39•
Monitoring Licenses
• Monitoring Licenses for the EX Series Switch on page 46
Monitoring Licenses for the EX Series Switch
To enable and use some Junos OS features on the EX Series switch, youmust purchase,
install, andmanage the appropriate software licenses. Each switch requires one license.
For a Virtual Chassis deployment, two licenses are recommended for redundancy.
Copyright © 2010, Juniper Networks, Inc.46
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Tomonitor your installed licenses, perform the following tasks:
• Displaying Installed Licenses and License Usage Details on page 47
• Displaying Installed License Keys on page 48
Displaying Installed Licenses and License Usage Details
Purpose Verify that the expected license is installed and active on the switch and fully covers the
switch configuration.
Action FromtheCLI, enter the showsystemlicense command. (Todisplay only the Licenseusage
list, enter the showsystem license usage command. To display only the Licenses installed
output, enter show system license installed.)
user@switch> show system licenseLicense usage:
Licenses Licenses Licenses Expiry
Feature name used installed needed
bgp 1 1 0 permanent
isis 0 1 0 permanent
ospf3 0 1 0 permanent
ripng 0 1 0 permanent
mpls 0 1 0 permanent
Licenses installed:
License identifier: JUNOS204558
License version: 2
Valid for device: BN0208380000
Features:
ex—series - 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:
• If a feature that requires a license is configured (used), a license is installed on the
switch. The Licenses needed columnmust show that no licenses are required.
• The appropriate number of licenses is installed. Each switch requires one license. For
a Virtual Chassis deployment, two licenses are recommended for redundancy.
• The expected license is installed.
47Copyright © 2010, Juniper Networks, Inc.
Chapter 4: Verifying Software Installation
Displaying Installed License Keys
Purpose Verify that the expected license keys are installed on the switch.
Action From the CLI, enter the show system license keys command.
user@switch> show system license keysJUNOS204558 aeaqea qmijhd amrqha ztfmbu gqzama uqceds
ra32zr lsevik ftvjed o4jy5u fynzzj mgviyl
kgioyf ardb5g sj7wnf rsdked wbjf5a sg
Meaning The output shows the license key or keys (for Virtual Chassis deployments) installed on
the switch. Verify that each expected license key is present.
RelatedDocumentation
• Managing Licenses for the EX Series Switch (CLI Procedure) on page 41
• Managing Licenses for the EX Series Switch (J-Web Procedure) on page 42
• Understanding Software Licenses for the EX Series Switch on page 24
Copyright © 2010, Juniper Networks, Inc.48
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
CHAPTER 5
Troubleshooting Software Installation
• Troubleshooting Software Installation on page 49
Troubleshooting Software Installation
• Recovering from a Failed Software Upgrade on an EX Series Switch on page 49
• Rebooting from the Inactive Partition on page 50
• Freeing Up Disk Space for Software Installation on page 51
Recovering from a Failed Software Upgrade on an EX Series Switch
Problem If the Junos OS loads but the CLI is not working for any reason, or if the switch has no
software installed, you can use this recovery installation procedure to install the Junos
OS.
Solution If there is already a Junos OS image on the system, you can either install the new Junos
OSpackage inaseparatepartitionandhaveboth JunosOS images remainon thesystem,
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 38 to get
an image on the system and boot the switch.
To perform a recovery installation:
1. Power on the switch. The loader script starts.
After the message Loading /boot/defaults/loader.conf displays, you are prompted
with:
Hit [Enter] to boot immediately, or space bar for command prompt.
2. Press the space bar to enter the manual loader. The loader> prompt displays.
3. Enter the following command:
loader> install [– –format] [– –external] source
where:
• format—Use this option towipe the installationmediabefore installing the software
package. If you do not include this option, the system installs the new Junos OS
49Copyright © 2010, Juniper Networks, Inc.
package inadifferentpartition fromthepartitionusedby themost recently installed
Junos OS package.
• external—Use this option to install the software package on an external media.
• source—Represents the name and location of the Junos OS package either on a
server on the network or as a file on the USB flash drive:
• 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.
Rebooting from the Inactive Partition
Problem An EX Series switch ships with the 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.
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 youhave completed the installationof the software imagebut havenotyet rebooted, youcan issue the requestsystemsoftware rollbackcommand
to return to the original software installation package.
Solution Reboot from the inactive partition:
user@switch> request system reboot partition alternate
Copyright © 2010, Juniper Networks, Inc.50
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
NOTE: If youcannotaccess theCLI, youcan reboot fromthe inactivepartitionusing the following procedure from the loader script prompt:
1. Unload and clear the interrupted boot from the active partition:
loader> unloadloader> unset vfs.root.mountfrom
2. Select the new (inactive) partition to boot from:
loader> set currdev=diskmediaspartition:
wheremedia is either0 (internal) or 1 (external) andpartition indicates the
partition number, either 1 or 2.
Youmust include the colon (:) at the end of this command.
3. Boot the Junos OS from the inactive partition:
loader> boot
Freeing Up Disk Space for Software Installation
Problem Thesoftware installationprocess requires a certain amountof unuseddisk space. If there
is not enough space, youmight 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.
RelatedDocumentation
• InstallingSoftwareonanEXSeriesSwitchwithaSingleRoutingEngine (CLIProcedure)
on page 28
• Upgrading Software Using Nonstop Software Upgrade (CLI Procedure)
• Installing Software on EX Series Switches (J-Web Procedure) on page 34
• Understanding Software Installation on EX Series Switches on page 20
51Copyright © 2010, Juniper Networks, Inc.
Chapter 5: Troubleshooting Software Installation
Copyright © 2010, Juniper Networks, Inc.52
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
CHAPTER 6
Configuration Statements for SoftwareInstallation
• [edit chassis] Configuration Statement Hierarchy on page 53
[edit chassis] Configuration Statement Hierarchy
chassis {aggregated-devices {ethernet {device-count number;
}}auto-image-upgrade;fpc slot {pic pic-number {sfpplus {pic-modemode;
}}power-budget-priority priority;
}lcd-menu fpc slot-number {menu-item (menu-name |menu-option);
}nssu {upgrade-group group-name {fpcs (slot-number | [list-of-slot-numbers]);
}}psu {redundancy {n-plus-n;
}}redundancy {graceful-switchover;
}}
RelatedDocumentation
Configuring Aggregated Ethernet Interfaces (CLI Procedure)•
53Copyright © 2010, Juniper Networks, Inc.
• Upgrading Software Using Automatic Software Download on EX Series Switches on
page 40
• Configuring the LCD Panel on EX Series Switches (CLI Procedure)
• Configuring Graceful Routing Engine Switchover in an EX4200 Virtual Chassis (CLI
Procedure)
• Configuring Power Supply Redundancy (CLI Procedure)
• Configuring the Power Priority of Line Cards (CLI Procedure)
• Configuring Nonstop Software Upgrade (CLI Procedure)
auto-image-upgrade
Syntax auto-image-upgrade;
Hierarchy Level [edit chassis]
Release Information Statement introduced in Junos OS Release 9.6 for EX Series switches.
Description Enable automatic software download on an EX Series switch acting as a DHCP client.
The DHCP client EX Series switch compares the software package name in the DHCP
server message to the name of the software package that booted the switch. If the
softwarepackagesaredifferent, theDHCPclientEXSeries switchdownloadsand 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.
Default Automatic software download is disabled.
Required PrivilegeLevel
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
RelatedDocumentation
• Upgrading Software Using Automatic Software Download on EX Series Switches on
page 40
• Understanding Software Installation on EX Series Switches on page 20
• DHCP Services for EX Series Switches Overview
Copyright © 2010, Juniper Networks, Inc.54
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
CHAPTER 7
Operational Commands for SoftwareInstallation
55Copyright © 2010, Juniper Networks, Inc.
request system license add
Syntax request system license add (filename | terminal)
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description Add a license key.
Options filename—License key from a file or URL. Specify the filename or the URL where the key
is located.
terminal—License key from the terminal.
Required PrivilegeLevel
maintenance
List of Sample Output request system license add on page 56
Output Fields When you enter this command, you are provided feedback on the status of your request.
requestsystemlicenseadd
user@host> request system license add terminalrequestsystemlicenseadd
Copyright © 2010, Juniper Networks, Inc.56
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
request system license delete
Syntax request system license delete license-id
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description Delete a license key. You can delete only one license at a time.
Options license-id—License ID that uniquely identifies a license key.
Required PrivilegeLevel
maintenance
List of Sample Output request system license delete on page 57
Output Fields When you enter this command, you are provided feedback on the status of your request.
requestsystemlicensedelete
user@host> request system license delete G03000002223requestsystemlicensedelete
57Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
request system license save
Syntax request system license save (filename | terminal)
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description (J Series routers and EX Series switch only) Save installed license keys to a file or URL.
Options filename—License key from a file or URL. Specify the filename or the URL where the key
is located.
terminal—License key from the terminal.
Required PrivilegeLevel
maintenance
List of Sample Output request system license save on page 58
Output Fields When you enter this command, you are provided feedback on the status of your request.
requestsystemlicensesave
user@host> request system license save ftp://user@host/license.confrequestsystemlicensesave
Copyright © 2010, Juniper Networks, Inc.58
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
request system reboot
Syntax request system reboot<other-routing-engine><at time><inminutes><media (compact-flash | disk | removable-compact-flash | usb)><message "text">
Syntax (EX SeriesSwitch)
request system reboot<all-members><at time><inminutes><local><media (external | internal)><membermember-id><message "text"><other-routing-engine><slice slice>
Syntax (TXMatrixRouter)
request system reboot<all-chassis | all-lcc | lcc number | scc><other-routing-engine><at time><inminutes><media (compact-flash | disk)><message "text">
Syntax(TXMatrixPlusRouter)
request system reboot<all-chassis | all-lcc | lcc number | sfc number><other-routing-engine><partition (1 | 2 | alternate)><at time><inminutes><media (compact-flash | disk)><message "text">
Release Information Command introduced before Junos OS Release 7.4.
other-routing-engine option added in Junos OS Release 8.0.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TXMatrix Plus router in Junos OS Release 9.6.
Description Reboot the software.
Options none—Reboot the software immediately.
all-chassis—(TXMatrix andTXMatrix Plus routers only) (Optional)OnaTXMatrix router,
reboot all T640 routers (or line-card chassis) connected to the TXMatrix router. On
a TXMatrix Plus router, reboot all T1600 routers (or line-card chassis) connected
to the TXMatrix Plus router.
59Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
all-lcc—(TXMatrix and TXMatrix Plus routers only) (Optional) On a TXMatrix router,
reboot all T640 routers (or line-card chassis) connected to the TXMatrix router. On
a TXMatrix Plus router, reboot all T1600 routers (or line-card chassis) connected
to the TXMatrix Plus router.
all-members—(EX4200 switches only) (Optional) Reboot all members of the Virtual
Chassis configuration.
at time—(Optional)Timeatwhich to reboot the software, specified inoneof the following
ways:
• now—Stop or reboot the software immediately. This is the default.
• +minutes—Number of minutes from now to reboot the software.
• yymmddhhmm—Absolute time at which to reboot the software, specified as year,
month, day, hour, andminute.
• hh:mm—Absolute time on the current day at which to stop the software, specified
in 24-hour time.
inminutes—(Optional) Number of minutes from now to reboot the software. This option
is an alias for the at +minutes option.
lccnumber—(TXMatrix andTXMatrix Plus routers only) (Optional)OnaTXMatrix router,
thenumberof aT640 router that is connected to theTXMatrix router.OnaTXMatrix
Plus router, the number of a T1600 router that is connected to the TXMatrix Plus
router. Replace numberwith a value from 0 through 3.
local—(EX4200 switches only) (Optional) Reboot the local Virtual Chassis member.
media (compact-flash | disk | removable-compact-flash | usb)—(Optional) Boot medium
for next boot. (The options removable-compact-flash and usb pertain to the J Series
routers only.)
media (external | internal)—(EX Series switches only) (Optional) Reboot the bootmedia:
• external—Reboot the external mass storage device.
• internal—Reboot the internal flash device.
membermember-id—(EX4200 switches only) (Optional) Reboot the specified member
of the Virtual Chassis configuration Replacemember-idwith a value from 0 through
9.
message "text"—(Optional) Message to display to all system users before stopping or
rebooting the software.
other-routing-engine—(Optional) Reboot the other Routing Engine fromwhich the
command is issued. For example, if you issue the command from themaster 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.
Copyright © 2010, Juniper Networks, Inc.60
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
partition—(TXMatrix Plus routers only) (Optional) Reboot using the specified partition
on the boot media. This option has the following suboptions:
• 1—Reboot from partition 1.
• 2—Reboot from partition 2.
• alternate—Reboot from the alternate partition.
scc—(TXMatrix routers only) (Optional) Reboot the Routing Engine on the TXMatrix
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—(TXMatrix Plus routers only) (Optional) Reboot the Routing Engine on the
TXMatrix 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.
This option has the following suboptions:
• 1—Power off partition 1.
• 2—Power off partition 2.
• alternate—Reboot from the alternate partition.
Additional Information Reboot requests are recorded in the system log files, which you can view with the show
logcommand(seeshowlog).Also, thenamesofany runningprocesses thatarescheduled
to be shut down are changed. You can view the process names with the show system
processes command (see show system processes).
On a TXMatrix or TXMatrix Plus router, if you issue the request system reboot command
on themaster 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 backupRouting Engine (if you have upgraded it) first, and then reboot themasterRouting Engine.
Required PrivilegeLevel
maintenance
RelatedDocumentation
clear system reboot•
List of Sample Output request system reboot on page 62request system reboot (at 2300) on page 62request system reboot (in 2 Hours) on page 62
61Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
request system reboot (Immediately) on page 62request system reboot (at 1:20 AM) on page 62
Output Fields When you enter this command, you are provided feedback on the status of your request.
request system reboot user@host> request system rebootReboot the system ? [yes,no] (no)
request system reboot
request system reboot(at 2300)
user@host> request system reboot at 2300message ?Maintenance time!?Reboot the system ? [yes,no] (no) yes
shutdown: [pid 186]*** System shutdown message from [email protected] ***System going down at 23:00
request system reboot(in 2 Hours)
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 +120user@host> request system reboot in 120user@host> request system reboot at 19:00
request system reboot(Immediately)
user@host> request system reboot at now
request system reboot(at 1:20 AM)
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 06060120request system reboot at 120Reboot the system at 120? [yes,no] (no) yes
Copyright © 2010, Juniper Networks, Inc.62
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
request system reboot
Syntax request system reboot<all-members | local | membermember-id><at time><inminutes><media (external | internal)><message “text”><slice (1 | 2 | alternate)>
Release Information Command introduced in Junos OS Release 9.0 for EX Series switches.
Option partition changed to slice in Junos OS Release 10.0 for EX Series switches.
Description Reboot the Junos OS.
Reboot requests are recorded in the system log files, which you can view with the show
log command. You can view the process names with the show system processes
command.
Options none—Reboots the software immediately.
all-members | local |membermember-id—(EX4200switchonly) (Optional)Specifywhich
member of the Virtual Chassis to reboot:
• all-members—Reboots each switch that is a member of the Virtual Chassis.
• local—Reboots the local switch, meaning the switch you are logged into, only.
• membermember-id—Reboots the specifiedmember switch of theVirtual Chassis.
at time—(Optional)Timeatwhich to reboot the software, specified inoneof the following
ways:
• +minutes—Number of minutes from now to reboot the software.
• hh:mm—Absolute timeon thecurrentdayatwhich to reboot thesoftware, specified
in 24-hour time.
• now—Stop or reboot the software immediately. This is the default.
• yymmddhhmm—Absolute time at which to reboot the software, specified as year,
month, day, hour, andminute.
inminutes—(Optional) Number of minutes from now to reboot the software. This option
is an alias for the at +minutes option.
media (external | internal)—(Optional)Bootmediumfor thenextboot. Theexternal option
reboots the switch using a softwarepackage storedonanexternal boot source, such
asaUSB flashdrive. The internal option reboots the switchusingasoftwarepackage
stored in an internal memory source.
message “text”—(Optional) Message to display to all system users before rebooting the
software.
63Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
slice (1 | 2 | alternate)—(Optional) Reboot using the specified partition on the bootmedia.
This option has the following suboptions:
• 1—Reboot from partition 1.
• 2—Reboot from partition 2.
• alternate—Reboot from the alternate partition, which is the partition that did not
boot the switch at the last bootup.
Required PrivilegeLevel
maintenance
RelatedDocumentation
clear system reboot•
Output Fields When you enter this command, you are provided feedback on the status of your request.
request system reboot user@host> request system rebootReboot the system ? [yes,no] (no)
request system reboot
request system reboot(at 2300)
user@host> request system reboot at 2300message ?Maintenance time!?Reboot the system ? [yes,no] (no) yes
shutdown: [pid 186]*** System shutdown message from [email protected] ***System going down at 23:00
request system reboot(in 2 Hours)
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 +120user@host> request system reboot in 120user@host> request system reboot at 19:00
request system reboot(Immediately)
user@host> request system reboot at now
request system reboot(at 1:20 AM)
To reboot the system at 1:20 AM, enter the following command. Because 1:20 AM is the
next day, youmust specify the absolute time.
user@host> request system reboot at 06060120request system reboot at 120Reboot the system at 120? [yes,no] (no) yes
Copyright © 2010, Juniper Networks, Inc.64
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
request system snapshot
Syntax request system snapshot<as-primary><all-members | local | membermember-id><media (external | internal)><partition><re0 | re1 | routing-engine routing-engine-id><slice (1 | 2 | alternate)>
Release Information Command introduced in Junos OS Release 10.0 for EX Series switches.
Description Take a snapshot of the files currently used to run the switch—the complete contents of
the /config and /var directories, which include the running Juniper Networks Junos OS,
the active configuration, and the rescue configuration—and copy all of these files into an
alternate (internal, meaning internal flash, or an external, meaning USB flash) memory
source.
Options none—Create a snapshot on the alternate media, meaning the external media if you
booted the switch using software stored on internal media or internal media if you
booted the switch using software stored on external media.
all-members | local |membermember-id—(EX4200switchonly) (Optional)Specifywhere
to place the snapshot in Virtual Chassis configurations:
• all-members—Create a snapshot for each switch that is a member of the Virtual
Chassis.
• local—Create a snapshot on the local switch only.
• membermember-id—Create a snapshot for the specified member or member
switches of the Virtual Chassis.
as-primary—(Optional) Create a bootable snapshot.
NOTE: The snapshot is always bootable on EX Series switches. Theas-primary option has no effect on snapshots on EX Series switches.
media (external | internal)—(Optional) Specify the destination media location for the
snapshot. The external option copies the snapshot to an external mass storage
device, such as a USB flash drive. The internal option copies the snapshot to an
internal memory source, such as internal flash memory.
partition—(Optional) Partition the destination media before copying over the snapshot.
re0 | re1 | routing-engine routing-engine-id—(EX8200 switch only) Specify where to place
the snapshot in dual Routing Engine configurations.
• re0—Create a snapshot on Routing Engine 0.
65Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
• re1—Create a snapshot on Routing Engine 1.
• routing-enginerouting-engine-id—Create a snapshot on the specified Routing
Engine.
slice ( 1 | 2 | alternate)—(Optional) Specify the destination partition for the snapshot:
• 1—Copy the snapshot to partition 1.
• 2—Copy the snapshot to partition 2.
• alternate—Copy the snapshot to the alternate partition, which is the partition that
did not boot the switch at the last bootup.
Required PrivilegeLevel
view
RelatedDocumentation
show system snapshot on page 89•
• Creating a Snapshot and Using It to Boot an EX Series Switch on page 39
Output Fields When you enter this command, you are provided feedback on the status of your request.
request systemsnapshotmediaexternal slice 1
user@switch> request system snapshotmedia external slice 1request systemsnapshotmediaexternal slice 1
Copyright © 2010, Juniper Networks, Inc.66
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
request system software add
Syntax request system software add package-name<best-effort-load><delay-restart><force><no-copy><no-validate><re0 | re1><reboot><unlink><validate>
Syntax (TXMatrixRouter)
request system software add package-name<best-effort-load><delay-restart><force><lcc number | scc><no-copy><no-validate><re0 | re1><reboot><unlink><validate>
Syntax(TXMatrixPlusRouter)
request system software add package-name<best-effort-load><delay-restart><force><lcc number | sfc number><no-copy><no-validate><re0 | re1><reboot><unlink><validate>
Release Information Command introduced before Junos OS Release 7.4.
best-effort-load and unlink options added in Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TXMatrix Plus router in Junos OS Release 9.6.
Description Install a software package or bundle on the router or switch.
Options package-name—Location fromwhich the software package or bundle is to be installed.
For example:
• /var/tmp/package-name—For a software package or bundle that is being installed
from a local directory on the router or switch.
• protocol://hostname/pathname/package-name—Forasoftwarepackageorbundle
that is to be downloaded and installed from a remote location. Replace protocol
with one of the following:
67Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
• ftp—File Transfer Protocol.
Use ftp://hostname/pathname/package-name. To specify authentication
credentials, use
ftp://<username>:<password>@hostname/pathname/package-name. To have
the system prompt you for the password, specify prompt in place of the
password. If a password is required, and you do not specify the password or
prompt, an error message is displayed.
• http—Hypertext Transfer Protocol.
Use http://hostname/pathname/package-name. To specify authentication
credentials, use
http://<username>:<password>@hostname/pathname/package-name. If a
password is required and you omit it, you are prompted for it.
• scp—Secure copy (available only for Canada and U.S. version).
Use scp://hostname/pathname/package-name. To specify authentication
credentials, use
scp://<username>:<password>@hostname/pathname/package-name.
NOTE:
• The pathname in the protocol is the relative path to the user’s home
directory on the remote system and not the root directory.
• On a J Series Services Router, when you install the software from aremote location, the package is removed at the earliest opportunity inorder tomake room for the installation to be completed. If you copythe software to a local directory on the router and then install the newpackage, use the unlink option to achieve the same effect and allow
the installation to be completed.
best-effort-load—(Optional) Activate a partial load and treat parsing errors as warnings
instead of errors.
delay-restart—(Optional) Install software package or bundle, but do not restart software
processes.
force—(Optional) Force theadditionof thesoftwarepackageorbundle (ignorewarnings).
lcc number—(TXMatrix and TXMatrix Plus routers only) (Optional) In a routing matrix
based on theTXMatrix router, install a software package or bundle on aT640 router
(or line-card chassis) that is connected to the TXMatrix router. In a routing matrix
based on the TXMatrix Plus router, install a software package or bundle on a T1600
router (or line-card chassis) that is connected to the TXMatrix Plus router. Replace
numberwith a value from 0 through 3.
scc—(TXMatrix routersonly) (Optional) Install a softwarepackageorbundleonaRouting
Engine on a TXMatrix router (or switch-card chassis).
Copyright © 2010, Juniper Networks, Inc.68
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
sfcnumber—(TXMatrixPlus routersonly) (Optional) Install a softwarepackageorbundle
on a Routing Engine on a TXMatrix Plus router (or switch-fabric chassis). Replace
number with 0.
no-copy—(Optional) Install a software package or bundle, but do not save copies of
package or bundle files.
no-validate—(Optional) When loading a software package or bundle with a different
release, suppress the default behavior of the validate option.
re0 | re1—(Optional) On routers that support dual or redundant Routing Engines, load a
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.
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. OnMSeries and T 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
configuration as a prerequisite to adding the software package or bundle. This is the
default behavior when the software package or bundle being added is a different
release.
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/jbaseuser@host> request system software add /var/tmp/jkerneluser@host> request system software add /var/tmp/jpfeuser@host> request system software add /var/tmp/jdocsuser@host> request system software add /var/tmp/jrouteuser@host> request system software add /var/tmp/jcrypto
By default, when you issue the request system software add package-name command on
a TXMatrix master Routing Engine, all the T640master Routing Engines that are
69Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
connected to it are upgraded to the same version of software. If you issue the same
commandon theTXMatrix backupRoutingEngine, all theT640backupRoutingEngines
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 TXMatrix Plus master Routing Engine, all the T1600master Routing Engines that are
connected to it are upgraded to the same version of software. If you issue the same
command on the TXMatrix Plus backup Routing Engine, all the T1600 backup Routing
Engines that are connected to it are upgraded to the same version of software.
Required PrivilegeLevel
maintenance
RelatedDocumentation
request system software delete on page 72•
• request system software rollback on page 75
• request system storage cleanup
List of Sample Output request system software add validate on page 70
Output Fields When you enter this command, you are provided feedback on the status of your request.
request systemsoftware add validate
user@host> requestsystemsoftwareaddvalidate/var/tmp/ jinstall-7.2R1.7-domestic-signed.tgzChecking compatibility with configurationInitializing...
request systemsoftware add validate
Using jbase-7.1R2.2Using /var/tmp/jinstall-7.2R1.7-domestic-signed.tgzVerified jinstall-7.2R1.7-domestic.tgz signed by PackageProduction_7_2_0Using /var/validate/tmp/jinstall-signed/jinstall-7.2R1.7-domestic.tgzUsing /var/validate/tmp/jinstall/jbundle-7.2R1.7-domestic.tgzChecking jbundle requirements on /Using /var/validate/tmp/jbundle/jbase-7.2R1.7.tgzUsing /var/validate/tmp/jbundle/jkernel-7.2R1.7.tgzUsing /var/validate/tmp/jbundle/jcrypto-7.2R1.7.tgzUsing /var/validate/tmp/jbundle/jpfe-7.2R1.7.tgzUsing /var/validate/tmp/jbundle/jdocs-7.2R1.7.tgzUsing /var/validate/tmp/jbundle/jroute-7.2R1.7.tgzValidating against /config/juniper.conf.gzmgd: commit completeValidation succeededValidating against /config/rescue.conf.gzmgd: commit completeValidation succeededInstalling package '/var/tmp/jinstall-7.2R1.7-domestic-signed.tgz' ...Verified jinstall-7.2R1.7-domestic.tgz signed by PackageProduction_7_2_0Adding jinstall...
WARNING: This package will load JUNOS 7.2R1.7 software.WARNING: It will save JUNOS configuration files, and SSH keysWARNING: (if configured), but erase all other files and informationWARNING: stored on this machine. It will attempt to preserve dumpsWARNING: and log files, but this can not be guaranteed. This is theWARNING: pre-installation stage and all the software is loaded whenWARNING: you reboot the system.
Saving the config files ...
Copyright © 2010, Juniper Networks, Inc.70
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Installing the bootstrap installer ...
WARNING: A REBOOT IS REQUIRED TO LOAD THIS SOFTWARE CORRECTLY. Use theWARNING: 'request system reboot' command when software installation isWARNING: complete. To abort the installation, do not reboot your system,WARNING: instead use the 'request system software delete jinstall'WARNING: command as soon as this operation completes.
Saving package file in /var/sw/pkg/jinstall-7.2R1.7-domestic-signed.tgz ...Saving state for rollback ...
71Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
request system software delete
Syntax request system software delete software-package<force>
Syntax (TXMatrixRouter)
request system software delete software-package<force><lcc number | scc>
Syntax(TXMatrixPlusRouter)
request system software delete software-package<force><lcc number | sfc number>
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TXMatrix Plus router in Junos OS Release 9.6.
Description Remove a software package or bundle from the router or switch.
CAUTION: Before removing a software package or bundle, make sure thatyouhavealreadyplaced thenewsoftwarepackageor bundle that you intendto 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:
• jbase—(Optional) Junos base software suite
• jcrypto—(Optional, in domestic version only) Junos security software
• jdocs—(Optional) Junos online documentation file
• jkernel—(Optional) Junos kernel software suite
• jpfe—(Optional) Junos Packet Forwarding Engine support
• jroute—(Optional) Junos routing software suite
• junos—(Optional) Junos base software
force—(Optional) Ignore warnings and force removal of the software.
lccnumber—(TXMatrix andTXMatrix Plus routers only) (Optional)OnaTXMatrix router,
remove an extension or upgrade package from a specific T640 router (or line-card
chassis) that is connected to theTXMatrix router. OnaTXMatrix Plus router, remove
an extension or upgrade package froma specific T1600 router (or line-card chassis)
that is connected to the TXMatrix Plus router. Replace numberwith a value from 0
through 3.
scc—(TXMatrix routers only) (Optional) Remove an extension or upgrade package from
the TXMatrix router (or switch-card chassis).
Copyright © 2010, Juniper Networks, Inc.72
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
sfc number—(TXMatrix Plus routers only) (Optional) Remove an extension or upgrade
package from the TXMatrix Plus router (or switch-fabric chassis). 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. 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.
Required PrivilegeLevel
maintenance
RelatedDocumentation
request system software add on page 67•
• request system software rollback on page 75
• request system software validate on page 78
List of Sample Output request system software delete jdocs on page 73
Output Fields When you enter this command, you are provided feedback on the status of your request.
request systemsoftware delete jdocs
The following example displays the systemsoftware packagesbefore andafter the jdocs
package is deleted through the request system software delete command:
request systemsoftware delete jdocs
user@host> show system softwareInformation 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]
73Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
...
user@host> request system software delete jdocsRemoving package 'jdocs' ...
user@host> show system softwareInformation 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]
...
Copyright © 2010, Juniper Networks, Inc.74
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
request system software rollback
Syntax request system software rollback
Syntax (EX SeriesSwitch)
request system software rollback<all-members><local><membermember-id>
Syntax (TXMatrixRouter)
request system software rollback<lcc number | scc>
Syntax(TXMatrixPlusRouter)
request system software rollback<lcc number | sfc number>
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TXMatrix Plus router in Junos OS Release 9.6.
Description Revert to the software that was loaded at the last successful request system software
add command.
Options none—Revert to the set of software as of the last successful request system software
add.
all-members—(EX4200 switches only) (Optional) Attempt to roll back to the previous
set of packages on all members of the Virtual Chassis configuration.
lccnumber—(TXMatrix andTXMatrix Plus routers only) (Optional)OnaTXMatrix router,
attempt to roll back to the previous set of packages on a T640 router (or line-card
chassis) connected to the TXMatrix router. On a TXMatrix Plus router, attempt to
roll back to the previous set of packages on a T1600 router (or line-card chassis)
connected to the TXMatrix Plus router. Replace numberwith a value from 0 through
3.
local—(EX4200 switches only) (Optional) Attempt to roll back to the previous set of
packages on the local Virtual Chassis member.
membermember-id—(EX4200 switches only) (Optional) Attempt to roll back to the
previoussetofpackageson thespecifiedmemberof theVirtualChassis configuration.
Replacemember-idwith a value from 0 through 9.
scc—(TXMatrix routers only) (Optional) Attempt to roll back to the previous set of
packages on the TXMatrix router (or switch-card chassis).
sfc number—(TXMatrix Plus routers only) (Optional) Attempt to roll back to the previous
set of packages on the TXMatrix 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
75Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
T Series routers, use this command only to recover from a failed software upgrade—you
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 PrivilegeLevel
maintenance
RelatedDocumentation
request system software add on page 67•
• request system software delete on page 72
• request system software validate on page 78
• request system configuration rescue delete
• request system configuration rescue save
List of Sample Output request system software rollback on page 77
Output Fields When you enter this command, you are provided feedback on the status of your request.
Copyright © 2010, Juniper Networks, Inc.76
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
request systemsoftware rollback
user@host> request system software rollbackVerified SHA1 checksum of ./jbase-7.2R1.7.tgzVerified SHA1 checksum of ./jdocs-7.2R1.7.tgz
request systemsoftware rollback
Verified SHA1 checksum of ./jroute-7.2R1.7.tgzInstalling package './jbase-7.2R1.7.tgz' ...Available space: 35495 require: 7335Installing package './jdocs-7.2R1.7.tgz' ...Available space: 35339 require: 3497Installing package './jroute-7.2R1.7.tgz' ...Available space: 35238 require: 6976NOTICE: uncommitted changes have been saved in /var/db/config/juniper.conf.pre-installReloading /config/juniper.conf.gz ...Activating /config/juniper.conf.gz ...mgd: commit completeRestarting mgd ...Restarting aprobed ...Restarting apsd ...Restarting cosd ...Restarting fsad ...Restarting fud ...Restarting gcdrd ...Restarting ilmid ...Restarting irsd ...Restarting l2tpd ...Restarting mib2d ...Restarting nasd ...Restarting pppoed ...Restarting rdd ...Restarting rmopd ...Restarting rtspd ...Restarting sampled ...Restarting serviced ...Restarting snmpd ...Restarting spd ...Restarting vrrpd ...
WARNING: cli has been replaced by an updated version:CLI release 7.2R1.7 built by builder on 2005-04-22 02:03:44 UTCRestart cli using the new version ? [yes,no] (yes) yes
Restarting cli ...user@host
77Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
request system software validate
Syntax request system software validate package-name
Syntax (EX SeriesSwitch)
request system software validate<membermember-id>
Syntax (TXMatrixRouter)
request system software validate package-name<lcc number | scc>
Syntax(TXMatrixPlusRouter)
request system software validate package-name<lcc number | sfc number>
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TXMatrix Plus router in Junos OS Release 9.6.
Description Validate candidate software against the current configuration of the router or switch.
Options lccnumber—(TXMatrix andTXMatrix Plus routers only) (Optional)OnaTXMatrix router,
validate the software bundle or package on a specific T640 router (or line-card
chassis) that is connected to theTXMatrix router.OnaTXMatrixPlus router, validate
the software bundle or package on a specific T1600 router (or line-card chassis)
that is connected to the TXMatrix Plus router. Replace numberwith a value from 0
through 3.
membermember-id—(EX4200 switches only) (Optional) Validate the software bundle
or package on the specified member of the Virtual Chassis configuration. Replace
member-idwith a value from 0 through 9.
package-name—Name of the software bundle or package to test.
scc—(TXMatrix routers only) (Optional) Validate the software bundle or package for
the TXMatrix router (or switch-card chassis).
sfc number—(TXMatrix Plus routers only) (Optional) Validate the software bundle or
package for the TXMatrix Plus router (or switch-fabric chassis).
Additional Information Bydefault,when you issue the request systemsoftwarevalidate commandonaTXMatrix
master Routing Engine, all the T640master Routing Engines that are connected to it are
validated. If you issue the same command on the TXMatrix 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 TXMatrix Plus
master Routing Engine, all the T1600master Routing Engines that are connected to it
are validated. If you issue thesamecommandonaTXMatrixPlusbackupRoutingEngine,
all the T1600 backup Routing Engines that are connected to it are upgraded to the same
version of software.
Copyright © 2010, Juniper Networks, Inc.78
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Required PrivilegeLevel
maintenance
RelatedDocumentation
request system software add on page 67•
• request system software delete on page 72
• request system software rollback on page 75
List of Sample Output request system software validate (Successful Case) on page 80request system software validate (Failure Case) on page 80
Output Fields When you enter this command, you are provided feedback on the status of your request.
79Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
request systemsoftware validate(Successful Case)
user@host> requestsystemsoftwarevalidate/var/sw/pkg/jbundle-5.3I20020124_0520_sjg.tgzChecking compatibility with configurationInitializing...Using /packages/jbase-5.3I20020122_1901_sjg
request systemsoftware validate(Successful Case)
Using /var/sw/pkg/jbundle-5.3I20020124_0520_sjg.tgzUsing /var/chroot/var/tmp/jbundle/jbase-5.3I20020124_0520_sjg.tgzUsing /var/chroot/var/tmp/jbundle/jkernel-5.3I20020124_0520_sjg.tgzUsing /var/chroot/var/tmp/jbundle/jcrypto-5.3I20020124_0520_sjg.tgzUsing /var/chroot/var/tmp/jbundle/jpfe-5.3I20020124_0520_sjg.tgzUsing /var/chroot/var/tmp/jbundle/jdocs-5.3I20020124_0520_sjg.tgzUsing /var/chroot/var/tmp/jbundle/jroute-5.3I20020124_0520_sjg.tgzValidating against /config/juniper.conf.gzmgd: commit complete
WARNING: cli has been replaced by an updated version:CLI release 5.3I0 built by sjg on 2002-01-24 05:23:53 UTCRestart cli using the new version ? [yes,no] (yes)
request systemsoftware validate
(Failure Case)
user@host> request system software validate 6.3/Pushing bundle to lcc0-re0error: Failed to transfer package to lcc0-re0
user@host> request system software validate testPushing bundle to lcc0-re0Pushing bundle to lcc2-re0
lcc0-re0:gzip: stdin: not in gzip formattar: child returned status 1ERROR: Not a valid package: /var/tmp/test
Copyright © 2010, Juniper Networks, Inc.80
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
show system autoinstallation status
Syntax show system autoinstallation status
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description (JSeries routers andEXSeries switchesonly)Displayautoinstallation status information.
Options This command has no options.
Required PrivilegeLevel
view
List of Sample Output show system autoinstallation status on page 81
show systemautoinstallationstatus
user@host> show system autoinstallation statusAutoinstallation status:Master state: Active
show systemautoinstallationstatus
Last committed file: NoneConfiguration server of last committed file: 0.0.0.0Interface: Name: fe-0/0/1 State: None Address acquisition: Protocol: DHCP Client Acquired address: None Protocol: RARP Client Acquired address: None
81Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
show system boot-messages
Syntax show system boot-messages
Syntax (EX SeriesSwitch)
show system boot-messages<all-members><local><membermember-id>
Syntax (TXMatrixRouter)
show system boot-messages<all-chassis | all-lcc | lcc number | scc>
Syntax(TXMatrixPlusRouter)
show system boot-messages<all-chassis | all-lcc | lcc number | sfc number>
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
sfc option introduced for the TXMatrix Plus router in Junos OS Release 9.6.
Description Display initial messages generated by the system kernel upon startup. Thesemessages
are the contents of /var/run/dmesg.boot.
Options none—Display all boot timemessages.
all-chassis—(TXMatrix and TXMatrix Plus routers only) (Optional) Display boot time
messages for all of the chassis.
all-lcc—(TXMatrix and TXMatrix Plus routers only) (Optional) On a TXMatrix router,
display boot timemessages for all T640 routers (or line-card chassis) connected
to a TXMatrix router. On a TXMatrix Plus router, display boot timemessages for all
T1600 routers (or line-card chassis) connected to a TXMatrix Plus router.
all-members—(EX4200 switches only) (Optional) Display boot timemessages on all
members of the Virtual Chassis configuration.
lccnumber—(TXMatrix andTXMatrix Plus routers only) (Optional)OnaTXMatrix router,
display boot timemessages for a specific T640 router connected to a TXMatrix
router. On a TXMatrix Plus router, display boot timemessages for a specific T1600
router connected to a TXMatrix Plus router.Replace numberwith a value from from
0 through 3.
local—(EX4200 switches only) (Optional) Display boot timemessages on the local
Virtual Chassis member.
membermember-id—(EX4200 switches only) (Optional) Display boot timemessages
on the specified member of the Virtual Chassis configuration. Replacemember-id
with a value from 0 through 9.
scc—(TXMatrix routers only) (Optional) Display boot timemessages for the TXMatrix
router (or switch-card chassis).
Copyright © 2010, Juniper Networks, Inc.82
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
sfc number—(TXMatrix Plus routers only) (Optional) Display boot timemessages for the
TXMatrix Plus router (or switch-fabric chassis). Replace numberwith 0.
Additional Information By default, when you issue the show system boot-messages command on a TXMatrix
or TX Matrix Plus master Routing Engine, the command is broadcast to all the T640 (in
a routing matrix based on a TXMatrix router) master Routing Engines or T1600 (in a
routing matrix based on a TXMatrix Plus router) master Routing Engines connected to
it. Likewise, if you issue the same command on the TXMatrix or TX Matrix Plus backup
Routing Engine, the command is broadcast to all the T640 (in a routingmatrix based on
a TXMatrix router) backup Routing Engines or T1600 (routing matrix based on a TX
Matrix Plus router) backup Routing Engines that are connected to it.
Required PrivilegeLevel
view
List of Sample Output show system boot-messages (TXMatrix Router) on page 83show system boot-messages lcc (TXMatrix Router) on page 84show system boot-messages (TXMatrix Plus Router) on page 85
show systemboot-messages (TX
Matrix Router)
user@host> show system boot-messagesCopyright (c) 1992-1998 FreeBSD Inc.Copyright (c) 1996-2000 Juniper Networks, Inc.All rights reserved.
show systemboot-messages (TX
Matrix Router)
Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved.
JUNOS 4.1-20000216-Zf8469 #0: 2000-02-16 12:57:28 UTC [email protected]:/p/build/20000216-0905/4.1/release_kernel/sys/compile/GENERICCPU: Pentium Pro (332.55-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping=10 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,<b16>,<b17>,MMX,<b24>>Teknor CPU Card Recognizedreal memory = 805306368 (786432K bytes)avail memory = 786280448 (767852K bytes)Probing for devices on PCI bus 0:chip0 <generic PCI bridge (vendor=8086 device=7192 subclass=0)> rev 3 class 60000 on pci0:0:0chip1 <Intel 82371AB PCI-ISA bridge> rev 1 class 60100 on pci0:7:0chip2 <Intel 82371AB IDE interface> rev 1 class 10180 on pci0:7:1chip3 <Intel 82371AB USB interface> rev 1 class c0300 int d irq 11 on pci0:7:2smb0 <Intel 82371AB SMB controller> rev 1 class 68000 on pci0:7:3pcic0 <TI PCI-1131 PCI-CardBus Bridge> rev 1 class 60700 int a irq 15 on pci0:13:0TI1131 PCI Config Reg: [pci only][FUNC0 pci int]pcic1 <TI PCI-1131 PCI-CardBus Bridge> rev 1 class 60700 int b irq 12 on pci0:13:1TI1131 PCI Config Reg: [pci only][FUNC1 pci int]fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 8 class 20000 int a irq 12 on
pci0:16:0chip4 <generic PCI bridge (vendor=1011 device=0022 subclass=4)> rev 4 class 60400 on pci0:17:0fxp1 <Intel EtherExpress Pro 10/100B Ethernet> rev 8 class 20000 int a irq 10 on
pci0:19:0
83Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
Probing for devices on PCI bus 1:mcs0 <Miscellaneous Control Subsystem> rev 12 class ff0000 int a irq 12 on pci1:13:0fxp2 <Intel EtherExpress Pro 10/100B Ethernet> rev 8 class 20000 int a irq 10 on
pci1:14:0Probing for devices on the ISA bus:sc0 at 0x60-0x6f irq 1 on motherboardsc0: EGA color <16 virtual consoles, flags=0x0>ed0 not found at 0x300ed1 not found at 0x280ed2 not found at 0x340psm0 not found at 0x60sio0 at 0x3f8-0x3ff irq 4 flags 0x20010 on isasio0: type 16550A, consolesio1 at 0x3e8-0x3ef irq 5 flags 0x20000 on isasio1: type 16550Asio2 at 0x2f8-0x2ff irq 3 flags 0x20000 on isasio2: type 16550Apcic0 at 0x3e0-0x3e1 on isaPC-Card ctlr(0) TI PCI-1131 [CardBus bridge mode] (5 mem & 2 I/O windows)pcic0: slot 0 controller I/O address 0x3e0npx0 flags 0x1 on motherboardnpx0: INT 16 interfacefdc0: direction bit not setfdc0: cmd 3 failed at out byte 1 of 3fdc0 not found at 0x3f0wdc0 at 0x1f0-0x1f7 irq 14 on isawdc0: unit 0 (wd0): <SunDisk SDCFB-80>, single-sector-i/owd0: 76MB (156672 sectors), 612 cyls, 8 heads, 32 S/T, 512 B/Swdc0: unit 1 (wd1): <IBM-DCXA-210000>wd1: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/Swdc1 not found at 0x170wdc2 not found at 0x180ep0 not found at 0x300fxp0: Ethernet address 00:a0:a5:12:05:5afxp1: Ethernet address 00:a0:a5:12:05:59fxp2: Ethernet address 02:00:00:00:00:01swapon: adding /dev/wd1s1b as swap deviceAutomatic reboot in progress.../dev/rwd0s1a: clean, 16599 free (95 frags, 2063 blocks, 0.1% fragmentation)/dev/rwd0s1e: clean, 9233 free (9 frags, 1153 blocks, 0.1% fragmentation)/dev/rwd0s1a: clean, 16599 free (95 frags, 2063 blocks, 0.1% fragmentation)/dev/rwd1s1f: clean, 4301055 free (335 frags, 537590 blocks, 0.0% fragmentation)
show systemboot-messageslcc(TX
Matrix Router)
user@host> show system boot-messages lcc 2lcc2-re0:--------------------------------------------------------------------------Copyright (c) 1996-2001, Juniper Networks, Inc.All rights reserved.Copyright (c) 1992-2001 The FreeBSD Project.Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved.JUNOS 7.0-20040912.0 #0: 2004-09-12 09:16:32 UTC
[email protected]:/build/benten-b/7.0/20040912.0/obj-i386/sys/compile/JUNIPERTimecounter "i8254" frequency 1193182 HzTimecounter "TSC" frequency 601368936 HzCPU: Pentium III/Pentium III Xeon/Celeron (601.37-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10
Copyright © 2010, Juniper Networks, Inc.84
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>real memory = 2147467264 (2097136K bytes)sio0: gdb debugging portavail memory = 2084040704 (2035196K bytes)Preloaded elf kernel "kernel" at 0xc06d9000.DEVFS: ready for devicesPentium Pro MTRR support enabledmd0: Malloc diskDRAM Data Integrity Mode: ECC Mode with h/w scrubbingnpx0: <math processor> on motherboardnpx0: INT 16 interfacepcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboardpci0: <PCI bus> on pcib0pcic-pci0: <TI PCI-1410 PCI-CardBus Bridge> irq 15 at device 1.0 on pci0pcic-pci0: TI12XX PCI Config Reg: [pwr save][pci only]fxp0: <Intel Embedded 10/100 Ethernet> port 0x1000-0x103f mem 0xfb800000-0xfb81ffff,0xfb820000-0xfb820fff irq 9 at device 3.0 on pci0fxp1: <Intel Embedded 10/100 Ethernet> port 0x1040-0x107f mem 0xfb840000-0xfb85ffff,0xfb821000-0xfb821fff irq 11 at device 4.0 on pci0...
show systemboot-messages (TXMatrix Plus Router)
user@host> show system boot-messagessfc0-re0:--------------------------------------------------------------------------Copyright (c) 1996-2009, Juniper Networks, Inc.All rights reserved.Copyright (c) 1992-2006 The FreeBSD Project.Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved.JUNOS 9.6B3.3 #0: 2009-06-17 19:52:08 UTC
[email protected]:/volume/build/junos/9.6/release/9.6B3.3/obj-i386/bsd/sys/compile/JUNIPERMPTable: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU L5238 @ 2.66GHz (2660.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 Features=0xbfebfbff...lcc1-re0:--------------------------------------------------------------------------Copyright (c) 1996-2009, Juniper Networks, Inc.All rights reserved.Copyright (c) 1992-2006 The FreeBSD Project.Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved.JUNOS 9.6-20090617.0 #0: 2009-06-17 04:15:14 UTC
[email protected]:/volume/build/junos/9.6/production/20090617.0/obj-i386/bsd/sys/compile/JUNIPERTimecounter "i8254" frequency 1193182 Hz quality 0CPU: Intel(R) Xeon(R) CPU @ 1.86GHz (1862.01-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 Features=0xbfebfbff...
85Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
show system license
Syntax show system license<installed | keys | usage>
Release Information Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description Display licenses and information about how they are used.
Options none—Display all license information.
installed—(Optional) Display installed licenses only.
keys—(Optional) Display a list of license keys. Use this information to verify that each
expected license key is present.
usage—(Optional) Display the state of licensed features.
Required PrivilegeLevel
maintenance
List of Sample Output show system license on page 87show system license installed on page 87show system license keys on page 88show system license usage on page 88
Output Fields Table 24onpage86 lists the output fields for the showsystem license command.Output
fields are listed in the approximate order in which they appear.
Table 24: show system license Output Fields
Field DescriptionField Name
Name assigned to the configured feature. You use this information to verify that all the features forwhich you installed licenses are present.
Feature name
Number of licenses used by a router or switch. You use this information to verify that the number oflicenses usedmatches the number configured. If a licensed feature is configured, the feature isconsidered used.
NOTE: In Junos OS Release 10.1 and later, the Licenses used column displays the actual usage countbased on the number of active sessions or connections as reported by the corresponding featuredaemons. 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.
Licenses used
Copyright © 2010, Juniper Networks, Inc.86
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
Table 24: show system license Output Fields (continued)
Field DescriptionField Name
Information about the installed license key:
• License identifier—Identifier associated with a license key.
• State—State of the license key:valid or invalid. An invalid state indicates that the key was enteredincorrectly or is not valid for the specific device.
• License version—Version of a license. The version indicates how the license is validated, the typeof signature, and the signer of the license key.
• Valid for device—Device that can use a license key.
• Group defined—Groupmembership of a device.
• Features—Feature associated with a license, such as data link switching (DLSw).
Licenses installed
Number of licenses required for features being used but not yet properly licensed.Licenses needed
Amount of time left within the grace period before a license is required for a feature being used.Expiry
show system license user@host> show system license
License usage:
show system license
Licenses Licenses Licenses Expiry Feature name used installed needed subscriber-accounting 2 2 0 permanent subscriber-authentication 1 2 0 permanent subscriber-address-assignment 2 2 0 permanent subscriber-vlan 2 2 0 permanent subscriber-ip 0 2 0 permanent scale-subscriber 2 3 0 permanent scale-l2tp 4 5 0 permanent scale-mobile-ip 1 2 0 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
show system licenseinstalled
user@host> show system license 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
87Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
permanent subscriber-vlan - Dynamic Auto-sensed Vlan permanent subscriber-ip - Dynamic and Static IP permanent
show system licensekeys
user@host> show system license keysXXXXXXXXXX xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxx
show system licenseusage
user@host> show system license usageLicense usage: Licenses Licenses Licenses Expiry Feature name used installed needed subscriber-accounting 2 2 0 permanent subscriber-authentication 1 2 0 permanent subscriber-address-assignment 2 2 0 permanent subscriber-vlan 2 2 0 permanent subscriber-ip 0 2 0 permanent scale-subscriber 2 3 0 permanent scale-l2tp 4 5 0 permanent scale-mobile-ip 1 2 0 permanentt
Copyright © 2010, Juniper Networks, Inc.88
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation
show system snapshot
Syntax show system snapshot<all-members | local | membermember-id><media (external | internal)><slice (1 | 2 | alternate)>
Release Information Command introduced in Junos OS Release 10.0 for EX Series switches.
Description Display the complete collection of files in a snapshot.
Options none—Display the systemsnapshot on the alternatemedia,which is themedia that does
not have the software packages that last booted the switch.
all-members | local | membermember-id—(EX4200 switch only) Display the snapshot in
a Virtual Chassis configuration:
• all-members—Display the snapshot for eachswitch that is amemberof theVirtual
Chassis.
• local—Display the snapshot on the switch that you are currently logged into.
• membermember-id—Display the snapshot for the specifiedmember switch of the
Virtual Chassis.
media (external | internal)—(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.
slice (1 | 2 | alternate)—Display the snapshot in a partition:
• 1—Display the snapshot in partition 1.
• 2—Display the snapshot in partition 2.
• alternate—Display the snapshot in the alternate partition, which is the partition
that did not boot the switch at the last bootup.
Required PrivilegeLevel
view
RelatedDocumentation
request system snapshot on page 65•
• Creating a Snapshot and Using It to Boot an EX Series Switch on page 39
• Verifying That a System SnapshotWas Created on an EX Series Switch on page 46
showsystemsnapshotmedia external
showsystemsnapshotmedia external
user@switch> show system snapshotmedia externalInformation for snapshot on external (da1s1) Creation date: Oct 13 20:23:23 2009 JUNOS version on snapshot: jbase : 10.0I20090726_0011_user jcrypto-ex: 10.0I20090726_0011_user
89Copyright © 2010, Juniper Networks, Inc.
Chapter 7: Operational Commands for Software Installation
jdocs-ex: 10.0I20090726_0011_userjkernel-ex: 10.0I20090726_0011_userjroute-ex: 10.0I20090726_0011_userjswitch-ex: 10.0I20090726_0011_userjweb-ex: 10.0I20090726_0011_userjpfe-ex42x: 10.0I20090726_0011_user
Copyright © 2010, Juniper Networks, Inc.90
Junos®OS for EX Series Ethernet Switches, Release 10.4: Software Installation