Académique Documents
Professionnel Documents
Culture Documents
www.juniper.net
Revision
Published: 2009-08-05
This product includes the Envoy SNMP Engine, developed by Epilogue Technology, an Integrated Systems Company. Copyright 1986-1997, Epilogue
Technology Corporation. All rights reserved. This program and its documentation were developed at private expense, and no part of 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 documentation and 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 through release 3.0 by
Cornell University and its collaborators. Gated is based on Kirtons EGP, UC Berkeleys routing daemon (routed), and DCNs HELLO routing protocol.
Development of Gated has been supported in part by the National Science Foundation. Portions of the GateD software 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, the Juniper Networks logo, JUNOS, NetScreen, ScreenOS, and Steel-Belted Radius are registered trademarks of Juniper Networks, Inc. in
the United States and other countries. JUNOSe is a trademark of Juniper Networks, Inc. All other trademarks, 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 are owned 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 Software Guide for EX Series Ethernet Switches JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Copyright 2009, Juniper Networks, Inc.
All rights reserved. Printed in USA.
Writing:
Editing:
Illustration:
Cover Design:
Revision History
5 August 2009Revision 1
The information in this document is current as of the date listed in the revision history.
ii
iii
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 to maintain the Software and associated documentation in confidence, which at a minimum includes
restricting access to the Software to Customer employees and contractors having a need to use the Software for Customers internal business purposes.
7. Ownership. Juniper and Junipers licensors, respectively, retain ownership of all right, title, and interest (including copyright) in and to the Software,
associated documentation, and all copies of the Software. Nothing in this Agreement constitutes a transfer or conveyance of any right, title, or interest in
the Software or associated documentation, or a sale of the Software, associated documentation, or copies of the Software.
8. Warranty, Limitation of Liability, Disclaimer of Warranty. The warranty applicable to the Software shall be as set forth in the warranty statement that
accompanies the Software (the Warranty Statement). Nothing in this Agreement shall give rise to any obligation to support the Software. Support services
may be purchased separately. Any such support shall be governed by a separate, written support services agreement. TO THE MAXIMUM EXTENT PERMITTED
BY LAW, JUNIPER SHALL NOT BE LIABLE FOR ANY LOST PROFITS, LOSS OF DATA, OR COSTS OR PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
OR FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, THE SOFTWARE, OR ANY JUNIPER OR
JUNIPER-SUPPLIED SOFTWARE. IN NO EVENT SHALL JUNIPER BE LIABLE FOR DAMAGES ARISING FROM UNAUTHORIZED OR IMPROPER USE OF ANY
JUNIPER OR JUNIPER-SUPPLIED SOFTWARE. EXCEPT AS EXPRESSLY PROVIDED IN THE WARRANTY STATEMENT TO THE EXTENT PERMITTED BY LAW,
JUNIPER DISCLAIMS ANY AND ALL WARRANTIES IN AND TO THE SOFTWARE (WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE), INCLUDING
ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT DOES JUNIPER
WARRANT THAT THE SOFTWARE, OR ANY EQUIPMENT OR NETWORK RUNNING THE SOFTWARE, WILL OPERATE WITHOUT ERROR OR INTERRUPTION,
OR WILL BE FREE OF VULNERABILITY TO INTRUSION OR ATTACK. In no event shall Junipers or its suppliers or licensors liability to Customer, whether
in contract, tort (including negligence), breach of warranty, or otherwise, exceed the price paid by Customer for the Software that gave rise to the claim, or
if the Software is embedded in another Juniper product, the price paid by Customer for such other product. Customer acknowledges and agrees that Juniper
has set its prices and entered into this Agreement in reliance upon the disclaimers of warranty and the limitations of liability set forth herein, that the same
reflect an allocation of risk between the Parties (including the risk that a contract remedy may fail of its essential purpose and cause consequential loss),
and that the same form 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 termination of the license
granted herein. Upon such termination, Customer shall destroy or return to Juniper all copies of the Software and related documentation in Customers
possession or control.
10. Taxes. All license fees payable under this agreement are exclusive of tax. Customer shall be responsible for paying Taxes arising from the purchase of
the license, or importation or use of the Software. If applicable, valid exemption documentation for each taxing jurisdiction shall be provided to Juniper prior
to invoicing, and Customer shall promptly notify Juniper if their exemption is revoked or modified. All payments made by Customer shall be net of any
applicable withholding tax. Customer will provide reasonable assistance to Juniper in connection with such withholding taxes by promptly: providing Juniper
with valid tax receipts and other required documentation showing Customers payment of any withholding taxes; completing appropriate applications that
would reduce the amount of withholding tax to be paid; and notifying and assisting Juniper in any audit or tax proceeding related to transactions hereunder.
Customer shall comply with all applicable tax laws and regulations, and Customer will promptly pay or reimburse Juniper for all costs and damages related
to any liability incurred by Juniper as a result of Customers non-compliance or delay with its responsibilities herein. Customers obligations under this
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 any applicable foreign
agency or authority, and not to export or re-export the Software or any direct product thereof in violation of any such restrictions, laws or regulations, or
without all necessary approvals. Customer shall be liable for any such violations. The version of the Software supplied to Customer may contain encryption
or other capabilities restricting Customers ability to export the Software without an export license.
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 DFARS 227.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 Customer with the interface
information needed to achieve interoperability between the Software and another independently created program, on payment of applicable fee, if any.
Customer shall observe strict obligations of confidentiality with respect to such information and shall use such 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 products or 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 party software may be provided with the
Software and is subject to the accompanying license(s), if any, of its respective owner(s). To the extent portions of the Software are distributed under and
subject to open source licenses obligating Juniper to make the source code for such portions publicly available (such as the GNU General Public License
(GPL) or the GNU Library General Public License (LGPL)), Juniper will make such source code portions (including Juniper modifications, as appropriate)
available upon request for a period of up to three years from the date of distribution. Such request can be made in writing to Juniper Networks, Inc., 1194
N. Mathilda Ave., Sunnyvale, CA 94089, ATTN: General Counsel. You may obtain a copy of the GPL at http://www.gnu.org/licenses/gpl.html, and
a copy of the LGPL at 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 laws principles. The provisions
of the U.N. Convention for the International Sale of Goods shall not apply to this Agreement. For any disputes arising under this Agreement, the Parties
hereby consent to the personal and exclusive jurisdiction of, and venue in, the state and federal courts within Santa Clara County, California. This Agreement
constitutes the entire and sole agreement between Juniper and the Customer with respect to the Software, and supersedes all prior and contemporaneous
iv
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 an authorized Juniper representative and Customer shall govern to the extent such terms are inconsistent or conflict
with terms contained herein. No modification to this Agreement nor any waiver of any rights hereunder shall be effective unless expressly assented to in
writing by the party to be charged. If any portion of this Agreement is held invalid, the Parties agree that such invalidity shall not affect the validity of the
remainder of this Agreement. This Agreement and associated documentation has been written in the English language, and the Parties agree that the English
version will govern. (For Canada: Les parties aux prsents confirment leur volont que cette convention de mme que tous les documents y compris tout
avis qui s'y rattach, soient redigs en langue anglaise. (Translation: The parties confirm that this Agreement and all related documentation is and will be
in the English language)).
vi
Table of Contents
About This Topic Collection
xi
Part 1
Chapter 1
Table of Contents
vii
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Software Installation
31
viii
Table of Contents
Table of Contents
Chapter 3
Initial Configuration
55
License Management
67
IP Address Management
75
Table of Contents
ix
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Table of Contents
Description
xi
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Title
Description
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: Access
Control
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: Alarms
and System Log Messages
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6:
Configuration and File Management
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: Class
of Service
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: Device
Security
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6:
Ethernet Switching
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6:
Interfaces
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: Layer
3 Protocols
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: MPLS
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6:
Multicast
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6:
Network Management and Monitoring
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: Port
Security
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6:
Routing Policy and Packet Filtering
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6:
Spanning-Tree Protocols
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System
Setup
xii
Title
Description
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: User
and Access Management
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: Virtual
Systems
J-Web User Interface Guide for JUNOS Software for EX Series Ethernet
Switches
Downloading Software
You can download the JUNOS Software for EX Series switches from the Download
Software area at http://www.juniper.net/customers/support/. To download the software,
you must have a Juniper Networks user account. For information about obtaining an
account, see http://www.juniper.net/entitlement/setupAccountInfo.do.
Meaning
Description
Informational note
Caution
Warning
Laser warning
Description
Examples
Downloading Software
xiii
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Description
Examples
| (pipe symbol)
broadcast | multicast
# (pound sign)
[ ] (square brackets)
; (semicolon)
[edit]
root@# set system domain-name
domain-name
[edit]
routing-options {
static {
route default {
nexthop address;
retain;
}
}
}
xiv
Description
Examples
Documentation Feedback
We encourage you to provide feedback, comments, and suggestions so that we can
improve the documentation. Send e-mail to techpubs-comments@juniper.net with the
following:
Software version
JTAC Hours of Operation The JTAC centers have resources available 24 hours
a day, 7 days a week, 365 days a year.
Documentation Feedback
xv
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
To verify service entitlement by product serial number, use our Serial Number
Entitlement (SNE) Tool located at https://tools.juniper.net/SerialNumberEntitlementSearch/.
xvi
Part 1
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Chapter 1
JUNOS SoftwareOverview
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS SoftwareOverview
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
Administration
JUNOS 9.6R1
Not supported
Configuration rollback
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
Software upgrades
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
Ethernet:
JUNOS 9.0R2
JUNOS 9.4R1
Encapsulation
Commit scripts
Operation scripts
Event policies
802.1p tagging
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
JUNOS 9.3R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.1R1
Not applicable
JUNOS 9.2R1
JUNOS 9.4R1
JUNOS 9.2R1
JUNOS 9.4R1
JUNOS 9.2R1
JUNOS 9.6R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.6R1
Not applicable
JUNOS 9.0R2
JUNOS 9.4R1
Virtual Chassis
JUNOS 9.3R2
Not applicable
JUNOS 9.5R1
Not applicable
JUNOS 9.2R1
Not applicable
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
Not applicable
JUNOS 9.2R1
JUNOS 9.4R1
IPv4
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
Fast failover
Virtual Chassis
Interfaces
Internet Protocols
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
IP Address Management
JUNOS 9.3R2
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.3R2
JUNOS 9.4R1
Static addresses
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.1R1
JUNOS 9.4R1
JUNOS 9.6R1
Not supported
JUNOS 9.1R1
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
Not supported
JUNOS 9.1R1
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
Q-in-Q tunneling
JUNOS 9.3R2
Not supported
JUNOS 9.1R1
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
Spanning tree:
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.6R1
Storm control
JUNOS 9.1R1
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
JUNOS 9.2R1
JUNOS 9.6R1
VLAN range
JUNOS 9.2R1
JUNOS 9.4R1
Spanning tree:
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
Layer 3 Protocols
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.1R1
JUNOS 9.4R1
IGMPv3
JUNOS 9.3R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.5R1
JUNOS 9.5R1
OSPFv2
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.2R1
JUNOS 9.4R1
JUNOS 9.2R1
Not supported
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Multicast
MPLS
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
JUNOS 9.0R2
JUNOS 9.4R1
Single-source multicast
JUNOS 9.0R2
JUNOS 9.4R1
Static routes
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.2R1
JUNOS 9.4R1
IGMPv3 snooping
JUNOS 9.6R1
JUNOS 9.6R1
JUNOS 9.6R1
Not supported
JUNOS 9.5R1
Not supported
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.5R1
Not supported
JUNOS 9.4R1
Not supported
Not applicable
JUNOS 9.5R1
JUNOS 9.2R1
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.4R1
Not supported
JUNOS 9.4R1
Not supported
JUNOS 9.3R2
JUNOS 9.4R1
Policing
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
Port mirroring
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.5R1
JUNOS 9.5R1
RMON
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
JUNOS 9.3R2
Not supported
JUNOS 9.0R2
JUNOS 9.4R1
Transparent bridging
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
Security
802.1X authentication
JUNOS 9.0R2
Not supported
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
Not supported
Filter-based forwarding
JUNOS 9.4R1
JUNOS 9.6R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
Not supported
JUNOS 9.2R1
JUNOS 9.6R1
JUNOS 9.3R2
Not applicable
JUNOS 9.3R2
Not supported
MAC-based VLAN
JUNOS 9.2R1
Not supported
JUNOS 9.3R2
Not supported
Port security:
JUNOS 9.3R2
Not supported
JUNOS 9.0R2
Not supported
JUNOS 9.2R1
Not supported
JUNOS 9.4R1
Not supported
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.6R1
Not supported
JUNOS 9.3R2
JUNOS 9.4R1
DHCP option 82
Port security:
DHCP snooping
MAC limiting
Port security:
IP source guard
Port security:
Port security:
10
System Management
Feature
First Release
EX3200 and
EX4200
Switches
First Release
EX8200
Switches
TACACS+
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.3R2
JUNOS 9.4R1
JUNOS 9.6R1
Not supported
Autoinstallation
JUNOS 9.4R1
Not supported
IP directed broadcast
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.0R2
JUNOS 9.4R1
JUNOS 9.4R1
Not applicable
JUNOS 9.5R1
JUNOS 9.5R1
JUNOS 9.1R1
JUNOS 9.4R1
JUNOS 9.2R1
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.4R1
JUNOS 9.3R2
Not supported
11
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Related Topics
12
Creates the packet forwarding switch fabric for the switch, providing route
lookup, filtering, and switching on incoming data packets, then directing
outbound packets to the appropriate interface for transmission to the network
Maintains the routing tables used by the switch and controls the routing
protocols that run on the switch.
Provides control and monitoring functions for the switch, including controlling
power and monitoring system status.
Name
Description
Chassis process
chassisd
Ethernet
switching
process
eswd
Handles Layer 2 switching functionality such as MAC address learning, Spanning Tree
protocol and access port security. The process is also responsible for managing Ethernet
switching interfaces, VLANs, and VLAN interfaces.
Manages Ethernet switching interfaces, VLANs, and VLAN interfaces.
Forwarding
process
pfem
Defines how routing protocols operate on the switch. The overall performance of the
switch is largely determined by the effectiveness of the forwarding process.
Interface
process
dcd
Management
process
mgd
13
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Name
Description
Routing protocol
process
rpd
Defines how routing protocols such as RIP, OSPF, and BGP operate on the device,
including selecting routes and maintaining forwarding tables.
Related Topics
For more information about processes, see the JUNOS Network Operations Guide
at http://www.juniper.net/techpubs/software/junos/junos90/index.html.
For more information about basic system parameters, supported protocols, and
software processes, see JUNOS System Basics Configuration Guide at
http://www.juniper.net/techpubs/software/junos/junos94/index.html.
CLI Overview
JUNOS CLI is a Juniper Networks specific command shell that runs on top of a
UNIX-based operating system kernel. The CLI provides command help and command
completion.
The CLI also provides a variety of UNIX utilities, such as Emacs-style keyboard
sequences that allow you to move around on a command line and scroll through
recently executed commands, regular expression matching to locate and replace
values and identifiers in a configuration, filter command output, or log file entries,
store and archive router files on a UNIX-based file system, and exit from the CLI
environment and create a UNIX C shell or Bourne shell to navigate the file system,
manage switch processes, and so on.
14
Configuration mode is indicated by the # prompt, and includes the current location
in the configuration hierarchyfor example:
[edit interfaces ge-0/0/12]
user@switch#
In configuration mode, you are actually viewing and changing the candidate
configuration file. The candidate configuration allows you to make configuration
changes without causing operational changes to the current operating configuration,
called the active configuration. When you commit the changes you added to the
candidate configuration, the system updates the active configuration. Candidate
configurations enable you to alter your configuration without causing potential damage
to your current network operations.
To activate your configuration changes, enter the commit command.
To return to operational mode, go to the top of the configuration hierarchy and then
quitfor example:
[edit interfaces ge-0/0/12]
user@switch# top
[edit]
user@switch# exit
15
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
You can also activate your configuration changes and exit configuration mode with
a single command, commit and-quit. This command succeeds only if there are no
mistakes or syntax errors in the configuration.
TIP: When you commit the candidate configuration, you can require an explicit
confirmation for the commit to become permanent by using the commit confirmed
command. This is useful for verifying that a configuration change works correctly
and does not prevent management access to the switch. After you issue the commit
confirmed command, you must issue another commit command within the defined
period of time (10 minutes by default) or the system reverts to the previous
configuration.
Related Topics
NOTE: The browser and the network must support receiving and processing HTTP
1.1 GZIP compressed data.
Each page of the J-Web interface is divided into panes.
The layout of the panes allows you to quickly navigate through the interface. Table
3 on page 17 summarizes the elements of the J-Web interface.
The J-Web interface provides CLI tools that allow you to perform all of the tasks that
you can perform from the JUNOS command-line interface (CLI), including a CLI
Viewer to view the current configuration, a CLI Editor for viewing and modifying the
16
configuration, and a Point & Click CLI editor that allows you to click through all of
the available CLI statements.
Table 3: J-Web Interface
J-Web Interface Element
Description
Top Pane
hostname
Help
About
Displays information about the J-Web interface, such as the version number.
Logout
Ends your current login session with the switch and returns you to the login page.
Taskbar
Menu of J-Web main options. Click the tab to access the option.
MaintainManage files and licenses, upgrade software, and reboot the switch.
Main Pane
Icon legend
(Applies to the Point & Click CLI editor only) Explains icons that appear in the user
interface to provide information about configuration statements:
CComment. Move your cursor over the icon to view a comment about the
configuration statement.
Task Pane
Configuration hierarchy
Related Topics
(Applies to the JUNOS CLI configuration editor only) Displays the hierarchy of
committed statements in the switch configuration.
Click Hide all to display only the statements at the top level.
17
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Configure menu
CLI Editor
Description
Function
Use
Configure
menu
Interfaces
Switching
Virtual Chassis
Security
Services
System Properties
Routing
Point &
Click CLI
editor
18
System parameters
Interfaces
VLAN properties
Secure Access
Services
Routing protocols
Related Topics
System parameters
Interfaces
VLAN properties
Secure Access
Services
Routing protocols
Using the Point and Click CLI Tool in the J-Web Interface to Edit Configuration
Text on page 21
Using the CLI Editor in the J-Web Interface to Edit Configuration Text on page 23
19
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
2.
After http:// or https:// in your Web browser, type the hostname or IP address
of the switch and press Enter.
The J-Web login page appears.
3.
On the login page, type your username and password, and click Log In.
To correct or change the username or password you typed, click Reset, type the
new entry or entries, and click Log In.
NOTE: The default username is root with no password. You must change this during
initial configuration or the system does not accept the configuration.
The Chassis Dashboard information page appears.
To explicitly terminate a J-Web session at any time, click Logout in the top pane.
Related Topics
Before you can use the CLI terminal, you must configure the domain name and
hostname of the switch. See Configuring System Identity for the EX Series
Switch (J-Web Procedure) on page 60 for more information.
To access the CLI through the J-Web interface, your management device requires
the following features:
20
intercepted. If SSH is not enabled on the system, the CLI terminal page
displays an error.
Java applet supportMake sure that your Web browser supports Java applets.
NOTE: The CLI terminal is supported on JRE version 1.4 and later only.
To access the CLI terminal, select Troubleshoot >CLI Terminal.
Related Topics
Using the Point and Click CLI Tool in the J-Web Interface to Edit Configuration Text
To edit the configuration on a series of pages of clickable options that steps you
through the hierarchy, select Configure>CLI Tools>Point&Click CLI. The side pane
displays the top level of the configured hierarchy, and the main pane displays
configured hierarchy options and the Icon Legend.
To expand or hide the hierarchy of all the statements in the side pane, click Expand
all or Hide all. To expand or hide an individual statement in the hierarchy, click the
expand (+) or collapse () icon to the left of the statement.
TIP: Only those statements included in the committed configuration are displayed
in the hierarchy.
The configuration information in the main pane consists of configuration options
that correspond to configuration statements. Configuration options that contain
subordinate statements are identified by the term Nested.
To include, edit, or delete statements in the candidate configuration, click one of the
links described in Table 5 on page 21. Then specify configuration information by
typing in a field, selecting a value from a list, or clicking a check box (toggle).
Table 5: J-Web Edit Point & Click Configuration Links
Link
Function
Displays fields and lists for a statement identifier, allowing you to add a new identifier to a
statement.
Using the Point and Click CLI Tool in the J-Web Interface to Edit Configuration Text
21
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Function
Configure
Displays information for a configuration option that has not been configured, allowing you to
include a statement.
Delete
Deletes the corresponding statement or identifier from the configuration. All subordinate statements
and identifiers contained within a deleted statement are also discarded.
Edit
Displays information for a configuration option that has already been configured, allowing you to
edit a statement.
Identifier
Displays fields and lists for an existing statement identifier, allowing you to edit the identifier.
As you navigate through the configuration, the hierarchy level is displayed at the top
of the main pane. You can click a statement or identifier in the hierarchy to display
the corresponding configuration options in the main pane.
The main pane includes icons that display information about statements and
identifiers when you place your cursor over them. Table 6 on page 22 describes
these icons.
Table 6: J-Web Edit Point & Click Configuration Icons
Icon
Function
Indicates that a statement has been added or modified but has not been committed.
After typing or selecting your configuration edits, click a button in the main pane
(described in Table 7 on page 22) to apply your changes or cancel them, refresh the
display, or discard parts of the candidate configuration. An updated configuration
does not take effect until you commit it.
Table 7: J-Web Edit Point & Click Configuration Buttons
Button
Function
Refresh
Updates the display with any changes to the configuration made by other users.
Commit
Verifies edits and applies them to the current configuration file running on the switch.
Discard
Related Topics
22
Removes edits applied to or deletes existing statements or identifiers from the candidate
CLI User Interface Overview on page 14
configuration.
Using the Point and Click CLI Tool in the J-Web Interface to Edit Configuration Text
Using the CLI Editor in the J-Web Interface to Edit Configuration Text
Use the CLI Editor to edit configuration if you know the JUNOS CLI or prefer a
command interface.
To edit the entire configuration in text format:
CAUTION: We recommend that you use this method to edit and commit the
configuration only if you have experience editing configurations through the CLI.
1.
Select Configure>CLI Tools>CLI Editor. The main pane displays the configuration
in a text editor.
2.
3.
Related Topics
NOTE: You can drag and drop the various panels to different locations in the J-Web
window.
This topic describes:
Using the CLI Editor in the J-Web Interface to Edit Configuration Text
23
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Description
System name
Device model
Inventory details
For EX3200 switches and for EX4200 switches not configured as Virtual Chassis, the value
in Inventory is always 1 FPC. FPC is a legacy term for a slot in a large Juniper Networks chassis;
here, it simply refers to the single switch.
For an EX4200 switch configured as a Virtual Chassis, the value in Inventory is displayed as
110 FPC, with the number corresponding to the number of member switches.
For an EX8208 switch, the values in Inventory are displayed as 13 CB and 08 FPC. Control
board (CB) refers to SRE and SF modules.
For an EX8216 switch, the values in Inventory are displayed as 1-2 CB and 0-16 FPC. Control
board (CB) refers to RE and SF modules. FPC refers to line cards.
JUNOS image
Boot image
Device uptime
Description
Indicates the memory used in the Routing Engine. In a Virtual Chassis configuration, the
memory utilization value of the master Routing Engine is displayed.
Flash
Indicates the usage and capacity of internal flash memory and any external USB flash drive.
Temperature
Indicates the chassis temperature status. The possible values are OK, High, and Shutdown.
CPU load
24
Description
Fan Status
Indicates the fan status of the switch. The possible values are OK, Failed, and Absent.
EX8208 Switches
Memory util.
Indicates the memory used in the Routing Engine. If there are two Routing Engine, the
memory utilization value of the master is displayed.
CPU load
Flash
Indicates the usage and capacity of internal flash memory and any external USB flash drive.
EX8216 Switches
Memory util.
Indicates the memory used in the Routing Engine. If there are two Routing Engines present,
the memory utilization value of the master is displayed.
CPU load
Flash
Indicates the usage and capacity of internal flash memory and any external USB flash drive.
Description
Alarms Panel
Displays information about the last five alarms raised in the system. For example,
if there are 5 major alarms, then details for all 5 major alarms are displayed. If there
are 4 major alarms and 3 minor alarms, then details of the 4 major alarms and 1
minor alarm are displayed. Major alarms are displayed in red and minor alarms are
displayed in yellow.
25
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Chassis Viewer
You can click the Rear View button to see the back of the chassis image. Click Front
View to see the front of the image. In a Virtual Chassis configuration, the Rear View
button is disabled if the switch is not selected.
Table 11 on page 26 Describes the chassis viewer for EX3200 and EX4200
switches.
Description
Front View
Interface status
In the image, the colors listed below denote the interface status:
Hover the mouse pointer over the interface to view more information.
For a Virtual Chassis configuration, select the switch to view the interface status.
If an SFP+ uplink module is installed in the switch, hover the mouse pointer over the port icon
to display whether the module is configured to operate in 1G mode or 10G mode. If the module
is configured to operate in 1G mode, the tool tip information is displayed for all the 4 ports. If the
module is configured to operate in 10G mode, the tool tip information is displayed only for 2 ports.
For SFP, SFP+, and XFP ports, the interfaces appear dimmed if no transceiver is inserted. The
chassis viewer displays Transceiver not plugged-in when you hover the mouse pointer over the
port icon.
LCD panel
LCD panel configured for the LEDs on the ports. Hover the mouse pointer over the icon to view
the current character display.
Management port
The management port is used to connect the switch to a management device for out-of-band
management.
Console port
The console port is used to connect the switch to a management console or to a console server.
(You might do this for initial switch configuration.)
USB port
Fan tray
26
Hover the mouse pointer over the fan tray icon to display Name, Status, and Description
information.
Table 11: Chassis Viewer for EX3200 and EX4200 Switches (continued)
Field
Description
Power supply
Hover the mouse pointer over the power supply icon to display Name, Status, and Description
information.
Fan tray
Hover the mouse pointer over the fan tray icon to display Name, Status, and Description
information. For a Virtual Chassis, the status of the fans of the selected member switch is displayed.
Displayed only when switches are configured as a Virtual Chassis. The colors listed below denote
the Virtual Chassis port (VCP) status:
USB port
Management port
The management port is used to connect the switch to a management device for out-of-band
management.
Console port
The console port is used to connect the switch to a management console or to a console server.
(You might do this for initial switch configuration.)
Power supplies
Hover the mouse pointer over the power supply icons to display Name, Status, and Description
information.
Description
Front View
27
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Description
Interface status
In the image, click any line card, SRE module, or SF module to view the front view of the selected
component. The colors listed below denote the interface status:
Hover the mouse pointer over the port to view more information.
You can view status for the following ports on the SRE module:
NOTE: We recommend you use USB flash drives purchased from Juniper Networks for your EX Series
switch.
Auxiliary portThis port is not enabled on the switch. It is reserved for future use.
Management portThe management port is used to connect the switch to a management device
for out-of-band management.
Console portThe console port is used to connect the switch to a management console or to a
console server. (You might do this for initial switch configuration.)
Slots on the switch are labeled, from the top of the switch down:
03 (line cards)
47 (line cards)
Temperature
The active slots contain a gray temperature icon. Hover the mouse pointer over the icon to display
temperature information for the slot.
Fan status
Hover the mouse pointer over the fan tray icon to display Name, Status, and Description information.
Power supplies
Hover the mouse pointer over the power supply icons to display Name, Status, and Description
information.
LCD panel
LCD panel configured for the LEDs on the ports. Hover the mouse pointer over the icon to view the
current character display.
Rear View
The EX8208 switch does not have any components on the rear of the chassis.
Description
Front View
28
Description
Interface status
In the image, click any line card or RE module to view the front view of the selected component.
The colors listed below denote the interface status:
Hover the mouse pointer over the port to view more information.
You can view status for the following ports on the RE module:
USB portIndicates the USB port for the switch.
NOTE: We recommend you use USB flash drives purchased from Juniper Networks for your EX
Series switch.
Auxiliary portThis port is not enabled on the switch. It is reserved for future use.
Console portThe console port is used to connect the switch to a management console or to
a console server. (You might do this for initial switch configuration.)
Slots on the switch are labeled, from the top of the switch down:
Temperature
The active slots contain a gray temperature icon. Hover the mouse pointer over the icon to display
temperature information for the slot.
Fan status
Hover the mouse pointer over the fan tray icon to display consolidated fan information.
Power supplies
Hover the mouse pointer over the power supply icons to display Name, Status, and Description
information.
LCD panel
LCD panel configured for the LEDs on the ports. Hover the mouse pointer over the icon to view the
current character display.
Rear View
SF Modules
Related Topics
Hover the mouse pointer over the SF module icons in their respective slots to display information.
Slots are numbered SF7SF0, from left to right.
29
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
30
Chapter 2
Software Installation
31
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
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 can
manually revert back to it if necessary. If the software installation fails for any reason,
such as loss of power during the installation process, the system returns to the
originally active installation when you reboot.
32
NOTE: You can also use this procedure to load two versions of JUNOS Software in
separate partitions on the switch.
Related Topics
where:
m.n is the software release, with m representing the major release number and
n representing the minor release numberfor 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.
33
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Related Topics
To deploy and update multiple devices from a central location in the network.
34
configuration sufficient for you to telnet to the device and configure it manually.
that contains all the configuration information necessary for the switch. In the
filename, hostname is replaced with the hostname assigned to the switch.
If the server with the autoinstallation configuration file is not on the same LAN
segment as the new device, or if a specific device is required by the network, you
must configure an intermediate device directly attached to the new switch, through
which the new switch can send TFTP, boot protocol (BOOTP), and Domain Name
System (DNS) requests. In this case, you specify the IP address of the intermediate
device as the location to receive TFTP requests for autoinstallation.
The new switch sends out DHCP or BOOTP requests on each connected interface
simultaneously to obtain an IP address.
If a DHCP server responds to these requests, it provides the switch with some
or all of the following information:
The name of the configuration file to be requested from the TFTP server.
2.
After the new switch acquires an IP address, the autoinstallation process on the
switch attempts to download a configuration file in the following ways:
a.
b.
If the new switch does not locate a hostname.conf file, the autoinstallation
process sends three unicast TFTP requests for a network.conf file that contains
the switchs hostname-to-IP-address mapping information. If these attempts
fail, the switch broadcasts three requests to any available TFTP server for
the file.
35
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Related Topics
c.
If the switch fails to find a network.conf file that contains a hostname entry
for the switch, the autoinstallation process sends out a DNS request and
attempts to resolve the new switch's IP address to a hostname.
d.
If the new switch determines its hostname, it sends a TFTP request for the
hostname.conf file.
e.
3.
After the new switch locates a configuration file on a TFTP server, the
autoinstallation process downloads the file, installs the file on the switch, and
commits the configuration.
36
1.
Using a Web browser, follow the links to the download URL on the Juniper
Networks webpage. For EX Series, there are not separate software packages for
Canada the U.S. and other locations. Therefore, select Canada and U.S. Version
regardless of your location:
Related Topics
https://www.juniper.net/support/csc/swdist-domestic/
2.
3.
Using the J-Web interface or the CLI, select the appropriate software package for
your application. See JUNOS Software Package Names on page 33.
4.
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
You can use this procedure to upgrade the JUNOS Software on an EX Series switch
with a single Routing Engine, including an individual member of a Virtual Chassis or
all members of a 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 38.
To install software upgrades on an EX Series switch with a single Routing Engine
using the CLI:
1.
2.
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 the JUNOS Software can also be upgraded when
the software image is stored at a remote location. These instructions describe
the software upgrade process for both scenarios.
4.
Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure)
37
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
NOTE: A reboot, which will occur as part of the execution of the following command,
is required to complete the software upgrade. If you want to reboot the switch at a
later time, do not use the reboot option at this point of the procedure and enter the
request system reboot command at a later time to reboot the switch.
ftp://hostname/pathname/package-name-m.nZx-distribution.tgz
http://hostname/pathname/package-name-m.nZx-distribution.tgz
Other members of the Virtual Chassis are not affected. To install the software
on all members of the Virtual Chassis, do not include the member option.
5.
After the reboot has completed, log in and verify that the new version of the
software is properly installed:
user@switch> show version
Related Topics
See the JUNOS Software System Basics and Services Command Reference at
http://www.juniper.net/techpubs/software/junos/junos95/index.html for details about
the request system software add command.
Installing Software on an EX8200 Switch with Redundant Routing Engines (CLI Procedure)
For an EX8200 switch with redundant Routing Engines, you can minimize disrupting
network operation during a JUNOS Software upgrade by upgrading the Routing
Engines separately, starting with the backup Routing Engine.
38
Installing Software on an EX8200 Switch with Redundant Routing Engines (CLI Procedure)
To upgrade the software package on an EX8200 switch with one installed Routing
Engine, see Installing Software on an EX Series Switch with a Single Routing Engine
(CLI Procedure) on page 37.
Install the new JUNOS Software release on the backup Routing Engine while keeping
the currently running software version on the master Routing Engine. After making
sure that the new software version is running correctly on the backup Routing Engine,
switch device control to the backup Routing Engine. Finally, install the new software
on the new backup Routing Engine.
To upgrade the JUNOS Software on the switch, perform the following tasks:
1. Preparing the Switch for the Software Installation on page 39
2. Installing Software on the Backup Routing Engine on page 40
3. Installing Software on the Default Master Routing Engine on page 41
4. Returning Routing Control to the Default Master Routing Engine
(Optional) on page 42
2.
4.
39
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
[edit]
user@switch# commit synchronize
NOTE: To ensure the most recent configuration changes are committed before the
software upgrade, perform this step even if GRES was previously disabled.
5.
6.
2.
Copy the software package to the switch. We recommend that you use FTP to
copy the file to the /var/tmp directory.
3.
4.
NOTE: To abort the installation, do not reboot your device; instead, finish the
installation and then issue the request system software delete
package-name-m.nZx-distribution.tgz command, where
package-name-m.nZx-distribution.tgz is, for example,
jinstall-ex-42009.4R1.5domestic-signed.tgz. This is your last chance to stop the
installation.
40
5.
NOTE: You must reboot the switch to load the new installation of the JUNOS Software.
6.
After the reboot has completed, log in and verify the new version of the software
is properly installed:
user@switch> show version
2.
NOTE: Because GRES is disabled, this switchover causes all line cards in the switch
to reload. All network traffic passing through these line cards is lost during the line
card reloads.
3.
Verify that the default backup Routing Engine (shown as slot 1 in the command
output) is now the master Routing Engine:
user@switch> show chassis routing-engine
Backup
Master (default)
Master
Backup (default)
Install the new software package using the request system software add command:
user@switch> request system software add validate
/var/tmp/jinstall-ex-8200-9.5R1.5-domestic-signed.tgz
5.
41
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
When the reboot completes, the prompt will reappear. Wait for this prompt to
reappear before proceeding to the next step.
6.
Log in to the default backup Routing Engine (slot 1) through the console port.
7.
Re-enable GRES:
[edit]
user@switch# activate chassis redundancy graceful-switchover
Re-enabling GRES allows any future Routing Engine switchovers to occur without
the loss of any network traffic.
8.
9.
2.
Verify that the default master Routing Engine (slot 0) is indeed the master Routing
Engine:
user@switch> show chassis routing-engine
42
Master
Master (default)
Backup
Backup (default)
2.
3.
4.
On the Install Remote page, enter information into the fields described in Table
14 on page 43.
5.
Click Fetch and Install Package. The software is activated after the switch has
rebooted.
Function
Your Action
Package Location
(required)
User
Password
43
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Function
Your Action
Reboot If Required
2.
3.
On the Upload Package page, enter information into the fields described in Table
15 on page 44.
4.
Click Upload Package. The software is activated after the switching platform has
rebooted.
Function
Your Action
Reboot If Required
Related Topics
44
Booting an EX Series Switch Using a Software Package Stored on a USB Flash Drive
You can download a software package onto a USB flash drive from a computer or
any other device that can be used to download a package from the Internet to the
USB flash drive. The USB flash drive storing the JUNOS software package can then
be removed from the computer or other device and placed into the USB port on the
EX Series switch. If an EX Series switch displays the prompt for the loader script,
you can use a JUNOS software package that you have stored on the USB flash drive
to boot the switch.
NOTE: The USB flash drive is not accessible from the CLI prompt on EX Series
switches, and files cannot be copied from any other memory system on the EX Series
switch to the USB flash drive.
To boot an EX Series switch using a software package on the USB flash drive:
NOTE: 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.
1.
Download the JUNOS software package that you would like to place onto the EX
Series switch from the Internet onto the USB flash drive using your computer or
other device. See Downloading Software Packages from Juniper Networks on
page 36.
2.
Remove the USB flash drive from the computer or other device.
3.
Insert the USB flash drive into the USB port on the EX Series switch.
4.
This step can only be performed when the prompt for the loader script is
displayed. For information on accessing this prompt, see Troubleshooting
Software Installation on page 50.
Install the software package onto the switch:
loader> install source
where source represents the name and location of the JUNOS software package
on the USB flash drive. The JUNOS package 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.
The installation proceeds as normal and ends with a login prompt.
Booting an EX Series Switch Using a Software Package Stored on a USB Flash Drive
45
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Related Topics
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.
46
Create one of the following configuration files, and store it on a TFTP server (or
HTTP server or FTP server) in the network:
A host-specific file with the name hostname.conf for each switch undergoing
autoinstallation. Replace hostname with the name of a switch. The
hostname.conf file typically contains all the configuration information
necessary for the switch with this hostname.
Physically attach the switch to the network using a Gigabit Ethernet port.
If you configure the DHCP server to provide only the TFTP server hostname, add
an IP address-to-hostname mapping entry for the TFTP server to the DNS database
file on the Domain Name System (DNS) server in the network.
If the new switch is not on the same network segment as the DHCP server (or
other device providing IP address resolution), configure an existing device as an
intermediate device to receive TFTP and DNS requests and forward them to the
TFTP server and the DNS server. You must configure the LAN or serial interface
on the intermediate device with the IP addresses of the hosts providing TFTP
and DNS services. Connect this interface to the new switch.
If you are using hostname.conf files for autoinstallation, you must also complete
the following tasks:
To configure autoinstallation:
1.
Specify the URL address of one or more servers from which to obtain
configuration files.
[edit system]
user@switch# set autoinstallation configuration-servers
tftp://tftpconfig.sp.com
2.
Related Topics
47
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Once automatic software download is enabled on your DHCP client EX Series switch
and once DHCP services are enabled on your network, an automatic software
download can occur at any time as part of the DHCP message exchange process.
If an automatic software download occurs, you see the following message on the
switch:
Auto-image upgrade started
On successful installation system will reboot automatically
48
Meaning
Related Topics
The output shows the settings configured for autoinstallation. Verify that the values
displayed are correct for the switch when it is deployed on the network.
Action
49
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Client Status
Vendor Identifier
Server Address
Address obtained
Lease Obtained at
Lease Expires at
bound
ether
10.1.1.1
10.1.1.89
2009-08-20 18:13:04 PST
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
Related Topics
The output from this command shows the name and location of the software package
under DHCP options when automatic software download was last used to install a
software package. The sample output in DHCP options shows that the last DHCP
server message to arrive on the DHCP client had a boot server address of
192.168.1.165 and a boot file named jinstall-ex-4200-9.6R1.5-domestic-signed.tgz. If
automatic software download was enabled on this client switch during the last DHCP
message exchange, these values were used by the switch to upgrade the software.
If the JUNOS Software 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 Software.
Solution
If there is already a JUNOS image on the system, you can install the new JUNOS
package in a separate partition and both JUNOS images will remain on the system,
or you can wipe the disk clean before the new installation proceeds.
If there is no JUNOS 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 45 to
get an image on the system and boot the switch.
50
2.
Press the space bar to enter the manual loader. The loader> prompt displays.
3.
where:
formatUse this option to wipe the installation media before installing the
software package. If you do not include this option, the system installs the
new JUNOS Software package in a different partition from that of the most
recently installed JUNOS Software package.
media.
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 boot process proceeds as normal and ends with a login prompt.
An EX Series switch ships with the JUNOS Software 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 you have completed the installation of the software image but have not yet
rebooted, you can issue the request system software rollback command to return to
the original software installation package.
51
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Solution
NOTE: If you cannot access the CLI, you can reboot from the inactive partition using
the following procedure from the loader script prompt:
1.
Unload and clear the interrupted boot from the active partition:
loader> unload
loader> unset vfs.root.mountfrom
2.
Related Topics
If you forget the root password for the switch, you can use the password recovery
procedure to reset the root password.
NOTE: You need physical access to the switch to recover the root password.
Solution
52
Power off your switch by unplugging the power cord or turning off the power at
the wall switch.
2.
Insert one end of the Ethernet cable into the serial port on the management
device and connect the other end to the console port on the back of the switch.
See Figure 1 on page 53
3.
4.
Data bits: 8
Parity: None
Stop bits: 1
5.
Power on your switch by plugging in the power cord or turning on the power at
the wall switch.
6.
When the following prompt appears, press the Spacebar to access the switch's
bootstrap loader command prompt:
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel] in 1 second...
7.
At the following prompt, type boot -s to start up the system in single-user mode:
loader> boot -s
8.
At the following prompt, type recovery to start the root password recovery
procedure:
Enter full path name of shell or 'recovery' for root password recovery or RETURN for
/bin/sh: recovery
53
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
11. At the following prompt, enter the new root password. For example:
root@switch# commit
commit complete
root@switch# exit
15. Exit operational mode in the CLI.
root@switch> exit
16. At the prompt, enter y to reboot the switch.
54
Chapter 3
Initial Configuration
Configuring Date and Time for the EX Series Switch (J-Web Procedure) on page 60
Baud Rate9600
Flow ControlNone
Data8
ParityNone
Stop Bits1
DCD StateDisregard
55
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Connect the console port to a laptop or PC using the RJ-45 to DB-9 serial port
adapter. The RJ-45 cable and RJ-45 to DB-9 serial port adapter are supplied with
the switch. The console port in EX3200 and EX4200 switches is located on the
rear panel of the switch. The console port in EX8208 switches is located on the
Switch Fabric and Routing Engine (SRE) module in slot SRE0 on the switch
chassis. The console port in EX8216 switches is located on the Routing Engine
(RE) module in slot RE0 on the switch chassis.
NOTE: Ensure that the switch is in factory default mode. The ezsetup script will work
through the shell prompt only if the switch is in factory default mode. You can
transition the switch into factory default mode using the LCD panel. See LCD Panel
in an EX8200 Switch or LCD Panel in EX3200 and EX4200 Switches.
2.
3.
4.
Enter the root password you plan to use for this device. You are prompted to
re-enter the root password.
5.
Enter yes to enable services like Telnet and SSH. By default, Telnet is not enabled
and SSH is enabled.
NOTE: When Telnet is enabled, you will not be able to log in to an EX Series switch
through Telnet using root credentials. Root login is allowed only for SSH access.
6.
two options:
Create a new VLANIf you select this option, you are prompted to
specify the VLAN name, VLAN ID, management IP address, and
default gateway. Select the ports that must be part of this VLAN.
56
7.
Specify the SNMP Read Community, Location, and Contact to configure SNMP
parameters. These parameters are optional.
8.
Specify the system date and time. Select the time zone from the list. These
options are optional.
The configured parameters are displayed. Enter yes to commit the configuration.
The configuration is committed as the active configuration for the switch. You can
now log in with the CLI or the J-Web interface to continue configuring the switch. If
you use the J-Web interface to continue configuring the switch, the Web session is
redirected to the new management IP address. If the connection cannot be made,
the J-Web interface displays instructions for starting a J-Web session.
Related Topics
Connect the Ethernet cable from the Ethernet port on the PC to the switch.
EX8208 switchConnect the cable to the port labeled MGMT on the Switch
Fabric and Routing Engine (SRE) module in slot SRE0 on the switch chassis.
The MGMT port on the SRE module in slot SRE0 is configured as the DHCP
server with the default IP address, 192.168.1.1.
EX8216 switchConnect the cable to the port labeled MGMT on the Routing
Engine (RE) module in slot RE0 on the switch chassis. The MGMT port on
the RE module in slot RE0 is configured as the DHCP server with the default
IP address, 192.168.1.1.
Transition the switch into initial setup mode using the Menu and Enter buttons
located to the right of the LCD panel (see Figure 2 on page 58).
57
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Press Menu until you see MAINTENANCE MENU. Then press Enter.
Press Menu until you see ENTER EZSetup. Then press Enter.
If EZSetup does not appear as an option in the Maintenance menu, select
Factory Default to return the switch to the factory default configuration.
EZSetup is displayed in the menu only when the switch is set to the factory
default configuration.
If you have configured a static IP address on your PC, you will not be able to
connect to the switch. To obtain an IP address dynamically, you must enable a
DHCP client on the management PC you connect to the switch.
NOTE: You must complete the initial configuration using the J-Web interface within
10 minutes. The LCD displays a count-down timer once you connect the switch to
the management PC. The switch exits the EZSetup mode after 10 minutes and reverts
to the default factory configuration, and the PC loses connectivity to the switch.
3.
From the PC, open a Web browser, type http://192.168.1.1 in the address field,
and press Enter.
4.
On the J-Web login page, type root as the username, leave the password field
blank, and click Login.
5.
6.
On the Basic Settings page, modify the hostname, the root password, and date
and time settings:
Synchronize the date and time settings of the switch with the management
PC or set them manually by selecting the appropriate option button. This is
optional.
Click Next.
7.
58
8.
Click Next.
9.
On the Manage Access page, you may select options to enable Telnet, SSH, and
SNMP services. For SNMP, you can configure the read community, location, and
contact.
10. Click Next. The Summary screen displays the configured settings.
11. Click Finish.
The configuration is committed as the active switch configuration. You can now log
in with the CLI or the J-Web interface to continue configuring the switch.
If you use the J-Web interface to continue configuring the switch, the Web session
is redirected to the new management IP address. If the connection cannot be made,
the J-Web interface displays instructions for starting a J-Web session.
NOTE: After the configuration takes effect, you might lose connectivity between the
PC and the switch. To renew the connection, release and renew the IP address by
executing the appropriate commands on the management PC or by removing and
reinserting the Ethernet cable.
Related Topics
59
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Configuring Date and Time for the EX Series Switch (J-Web Procedure)
To configure date and time:
1.
2.
To modify the information, click Edit. Enter information into the Edit Date &
Time page, as described in Table 16 on page 60.
3.
Click one:
To cancel your entries and return to the System Properties page, click Cancel.
Time Zone
Set Time
Related Topics
60
1.
2.
To modify the configuration, click Edit. Enter information into the System Identity
page, as described in Table 17 on page 61.
Configuring Date and Time for the EX Series Switch (J-Web Procedure)
Function
Your Action
Host Name
Domain Name
Root Password
Domain Search
Related Topics
Configuring Date and Time for the EX Series Switch (J-Web Procedure) on page
60
NOTE: In this example, ge-0/0/0 through ge-0/0/23 are the network interface ports.
Optional uplink modules provide either two 10-gigabit small form-factor pluggable
(XFP) transceivers (xe-0/1/0 and xe-0/1/1) or four 1-gigabit small form-factor
pluggable (SFP) transceivers (ge-0/1/0 through ge-0/1/3). Although you can install
only one uplink module, the interfaces for both are shown below.
61
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
When you commit changes to the configuration, a new configuration file is created
which becomes the active configuration. You can always revert to the factory default
configuration.
This topic shows the factory default configuration file of a 24-port EX3200 or EX4200
switch:
system {
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
commit {
factory-settings {
reset-chassis-lcd-menu;
reset-virtual-chassis-configuration;
}
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/1 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/2 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/3 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/4 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/5 {
unit 0 {
family ethernet-switching;
62
}
}
ge-0/0/6 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/7 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/8 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/9 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/10 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/11 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/12 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/13 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/14 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/15 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/16 {
unit 0 {
family ethernet-switching;
}
63
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
}
ge-0/0/17 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/18 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/19 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/20 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/21 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/22 {
unit 0 {
family ethernet-switching;
}
}
ge-0/0/23 {
unit 0 {
family ethernet-switching;
}
}
xe-0/1/0 {
unit 0 {
family ethernet-switching;
}
}
xe-0/1/1 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/0 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/1 {
unit 0 {
family ethernet-switching;
}
}
64
ge-0/1/2 {
unit 0 {
family ethernet-switching;
}
}
ge-0/1/3 {
unit 0 {
family ethernet-switching;
}
}
}
protocols {
igmp-snooping{
vlan all;
}
lldp {
interface all;
}
lldp-med {
interface all;
}
rstp;
}
ethernet-switching-options {
storm-control {
interface all {
level 50;
}
}
}
poe {
interface all;
}
Related Topics
65
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
66
Chapter 4
License Management
67
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Related Topics
MPLS with RSVP-based label switched paths (LSPs) and MPLS-based circuit
cross-connects (CCCs)
License IDAlphanumeric string that uniquely identifies the license key. When
a license is generated, it is given a license ID.
License dataBlock of binary data that defines and stores all license key objects.
For example, in the following typical license key, the string li29183743 is the license
ID, and the trailing block of data is the license data:
li29183743 4ky27y acasck 82fsj6 jzsn4q ix8i8d adj7kr
8uq38t ix8i8d jzsn4q ix8i8d 4ky27y acasck
82fsj6 ii8i7e adj7kr 8uq38t ks2923 a9382e
The license data defines the device ID for which the license is valid and the version
of the license.
Related Topics
68
Obtained the needed licenses. For information about how to purchase software
licenses, contact your Juniper Networks sales representative.
To add a license key from a file or URL, enter the following command,
specifying 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, enter the following command:
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 the CLI output when
you press Ctrl+d to exit license entry mode.
69
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Deleting Licenses
To delete one or more license keys from the switch with the CLI, enter the following
operational mode CLI command for each license, specifying the license ID.
user@switch> request system license delete license-id
For example, the following command saves the installed license keys to a file named
license.conf:
user@switch> request system license save ftp://user@switch/license.conf
Related Topics
Obtained the needed licenses. For information about how to purchase software
licenses, contact your Juniper Networks sales representative.
70
Deleting Licenses
1.
2.
3.
Do one of the following, using a blank line to separate multiple license keys:
4.
In the License File URL box, type the full URL to the destination file containing
the license key to be added.
In the License Key Text box, paste the license key text, in plain-text format,
for the license to be added.
A list of features that use the license key is displayed. The table also lists the ID, state,
and version of the license key.
Deleting Licenses
To delete one or more license keys from a switch with the J-Web license manager:
1.
2.
Select the check box of the license or licenses you want to delete.
3.
Click Delete.
2.
Under Installed Licenses, click Display Keys to display all the license keys installed
on the switch.
A screen displaying the license keys in text format appears. Multiple licenses are
separated by a blank line.
Downloading Licenses
To download the license keys installed on the switch with the J-Web license manager:
Related Topics
1.
2.
Under Installed Licenses, click Download Keys to download all the license keys
installed 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.
Deleting Licenses
71
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Related Topics
2.
Click Register. Enter the serial number in the page that is displayed.
Verify that the expected licenses are installed and active on the switch.
From the CLI, enter the show system license command.
The output shows a list of the license usage and a list of the licenses installed on the
switch. Verify the following information:
A state of invalid indicates that the license key is not a valid license key. Either it was
entered incorrectly or it is not valid for the specific device.
72
The feature for each license is the expected feature. The features enabled are
listed by license. An all-inclusive license has All features listed.
All configured features have the required licenses installed. The Licenses needed
column must show that no licenses are required.
Verify that the licenses fully cover the feature configuration on the switch.
From the CLI, enter the show system license usage command.
The output shows a list of the licenses installed on the switch and how they are used.
Verify the following information:
Each licensed feature and port is present. Features and ports are listed in
ascending alphabetical order by license name. The number of licenses is shown
in the fourth column. Verify that the appropriate number of licenses is installed.
The number of used licenses matches the number of configured features and
ports. If a licensed feature or port is configured, the feature or port is considered
used.
A license is installed on the switch for each configured feature and port. For
every feature or port configured that does not have a license, one license is
needed.
Related Topics
Verify that the expected license keys are installed on the switch.
From the CLI, enter the show system license keys command.
The output shows a list of the license keys installed on the switch. Verify that each
expected license key is present.
73
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
74
Chapter 5
IP Address Management
75
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
You can monitor DHCP services for the switch by using either operational-mode CLI
commands or the J-Web interface.
Related Topics
For information about configuring DHCP services with the CLI, see the JUNOS
Software System Basics Configuration Guide at http://www.juniper.net/techpubs/
software/junos/junos96/index.html.
NOTE: Because DHCP/BOOTP messages are broadcast and are not directed to a
specific server, switch, or router, EX Series switches cannot function as both a DHCP
server and a DHCP/BOOTP relay agent at the same time. JUNOS Software generates
a commit error if both options are configured at the same time, and the commit will
not succeed until one of the options is removed.
Related Topics
For information about configuring the switch as a DHCP/BOOTP relay agent, see
the JUNOS Software Policy Framework Configuration Guide at
http://www.juniper.net/techpubs/software/junos/junos93/index.html.
76
Select Configure>Services>DHCP.
2.
To configure a DHCP pool for a subnet, click Add in the DHCP Pools box.
To configure a static binding for a DHCP client, click Add in the DHCP Static
Binding box.
To globally configure settings for existing DHCP pools and static bindings,
click Configure Global DHCP Parameters.
3.
4.
Function
Your Action
Exclude Addresses
Lease Time
77
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Function
Your Action
Server Identifier
Domain Name
Domain Search
Server Information
Gateway Routers
WINS Servers
Boot Options
Boot File
Boot Server
78
Function
Your Action
Fixed IP Addresses
(required)
Host Name
Client Identifier
Hexadecimal Client
Identifier
Related Topics
A switch can operate as a DHCP server. When it is a DHCP server, use the monitoring
functionality to view information about dynamic and static DHCP leases, conflicts,
pools, and statistics.
Action
To monitor the DHCP server in the J-Web interface, select Monitor>Services >DHCP.
To monitor the DHCP server in the CLI, enter the following CLI commands:
Meaning
79
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
Values
Additional Information
DHCP Leases
Allocated
Address
MAC
Address
Binding
Type
Lease
Expires
DHCP Conflicts
Detection
Time
Detection
Method
Address
DHCP Pools
Pool Name
Low
Address
High
Address
Excluded
Addresses
DHCP Statistics
Default
lease time
Minimum
lease time
Maximum
lease time
Packets
dropped
80
Values
Messages
received
Messages
sent
Related Topics
Additional Information
81
JUNOS Software Guide for EX Series Ethernet Switches, Release 9.6: System Setup
82