JunosE™ Software
for E Series™ Broadband
Services Routers
System Basics Configuration Guide
Release
11.3.x
Published: 2010-10-04
Copyright © 2010, Juniper Networks, Inc.
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the United
States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks 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.
JunosE™ Software for E Series™ Broadband Services Routers System Basics Configuration Guide
Release 11.3.x
Copyright © 2010, Juniper Networks, Inc.
All rights reserved. Printed in USA.
Writing: MarkBarnard, DianeFlorio, Bruce Gillham, Sarah Lesway-Ball, Brian Wesley Simmons, Fran Singer, Krupa Chandrashekar, Poornima
Goswami, Hema Priya J, Subash Babu Asokan, Sairam Venugopalan
Editing: Benjamin Mann, Alana Calapai
Illustration: Nathaniel Woodward
Cover Design: Edmonds Design
Revision History
October 2010—FRS JunosE 11.3.x
The information in this document is current as of the date listed in the revision history.
YEAR 2000 NOTICE
Juniper Networks hardware and software products are Year 2000 compliant. The Junos OS has no known time-related limitations through
the year 2038. However, the NTP application is known to have some difficulty in the year 2036.
Copyright © 2010, Juniper Networks, Inc. ii
END USER LICENSE AGREEMENT
READ THIS END USER LICENSE AGREEMENT (“AGREEMENT”) BEFORE DOWNLOADING, INSTALLING, OR USING THE SOFTWARE.
BY DOWNLOADING, INSTALLING, OR USING THE SOFTWARE OR OTHERWISE EXPRESSING YOUR AGREEMENT TO THE TERMS
CONTAINED HEREIN, YOU (AS CUSTOMER OR IF YOU ARE NOT THE CUSTOMER, AS A REPRESENTATIVE/AGENT AUTHORIZED TO
BIND THE CUSTOMER) CONSENT TO BE BOUND BY THISAGREEMENT. IF YOU DO NOT OR CANNOTAGREE TO THE TERMSCONTAINED
HEREIN, THEN (A) DO NOT DOWNLOAD, INSTALL, OR USE THE SOFTWARE, AND (B) YOU MAY CONTACT JUNIPER NETWORKS
REGARDING 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) or
Juniper Networks(Cayman) Limited (ifthe Customer’s principal officeis locatedoutside the Americas) (such applicableentity being referred
to herein as“Juniper”), and (ii)the personor organization that originallypurchased from Juniperor an authorizedJuniper reseller theapplicable
license(s) for use of the Software (“Customer”) (collectively, the “Parties”).
2. The Software. In this Agreement, “Software” means the program modules and features of the Juniper or Juniper-supplied software, for
which Customer has paid the applicable license or support fees to Juniper or an authorized Juniper reseller, or which was embedded by
Juniper in equipment which Customer purchased from Juniper oran authorized Juniper reseller. “Software” also includes updates, upgrades
and new releases of such software. “Embedded Software” means Software which Juniper has embedded in or loaded onto the Juniper
equipment and any updates, upgrades, additions or replacements which are subsequently embedded in or loaded onto the equipment.
3. License Grant. Subject to paymentof the applicable fees and thelimitations andrestrictions setforth herein,Juniper grants to Customer
a non-exclusive and non-transferable license, without right to sublicense, to use the Software, in executable form only, subject to the
following use restrictions:
a. Customer shall use Embedded Software solely as embedded in, and for execution on, Juniper equipment originally purchased by
Customer 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 units
for which Customer has paid the applicable license fees; provided, however, with respect to the Steel-Belted Radius or Odyssey Access
Client software only, Customer shall use such Software on a single computer containing a single physical random access memory space
and containing any number of processors. Use of the Steel-Belted Radius or IMS AAA software on multiple computers or virtual machines
(e.g., Solaris zones) requires multiple licenses, regardless of whether such computers or virtualizations are physically contained on a single
chassis.
c. Product purchase documents, paper or electronic user documentation, and/or the particular licenses purchased by Customer may
specify limitsto Customer’s useof the Software. Suchlimits may restrict useto amaximum numberof seats, registered endpoints, concurrent
users, sessions, calls, connections, subscribers, clusters, nodes, realms, devices, links, ports or transactions, or require the purchase of
separate 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 use
of 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 the
Software. Customer may operate the Software after the 30-day trial period only if Customer pays for a license to do so. Customer may not
extend 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’s
enterprise network. Specifically, service provider customers are expressly prohibited from using the Global Enterprise Edition of the
Steel-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 purchase
the 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 agrees
not to and shall not: (a) modify, unbundle, reverse engineer, or create derivative works based on the Software; (b) make unauthorized
copies of the Software (except as necessary for backup purposes); (c) rent, sell, transfer, or grant any rights in and to any copy of the
Software,in any form, to any third party;(d) remove any proprietary notices,labels, ormarks on or in anycopy ofthe Softwareor any product
in which the Software is embedded; (e) distribute any copy of the Software to any third party, including as may be embedded in Juniper
equipment sold in thesecondhand market; (f) useany ‘locked’ or key-restrictedfeature,function, service, application, operation, or capability
without 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
iii Copyright © 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 that
the Customer did not originally purchase from Juniper or an authorized Juniper reseller; (k) disclose the results of testing or benchmarking
of the Software to any third party without the prior written consent of Juniper;or (l) use the Software in anymanner other than as expressly
provided 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 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 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 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
statementthat accompanies the Software (the “Warranty Statement”).Nothing inthis Agreementshall give riseto 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 ORPROCUREMENT OFSUBSTITUTE GOODSOR SERVICES,OR FORANY SPECIAL, INDIRECT,OR CONSEQUENTIALDAMAGES
ARISING OUTOF THIS AGREEMENT,THE SOFTWARE,OR ANY JUNIPEROR JUNIPER-SUPPLIED SOFTWARE. IN NOEVENT 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 Juniper’s 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 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 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
Customer’s 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 Customer’s non-compliance or delay with its responsibilities herein. Customer’s 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 Customer’s ability to export the Software without
an 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 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 ofJuniper 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 enforcethis 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 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 présentés confirment leur volonté que cette convention de
même que tous les documents y compris tout avis qui s'y rattaché, soient redigés en langue anglaise. (Translation: The parties confirm that
this Agreement and all related documentation is and will be in the English language)).
v Copyright © 2010, Juniper Networks, Inc.
Copyright © 2010, Juniper Networks, Inc. vi
Abbreviated Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
Part 1 Chapters
Chapter 1 Planning Your Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2 Command-Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Chapter 3 Installing JunosE Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Chapter 4 Configuring SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Chapter 5 Managing the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Chapter 6 Managing Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Chapter 7 Passwords and Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Chapter 8 Writing CLI Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Chapter 9 Booting the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Chapter 10 Configuring the System Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Chapter 11 Configuring Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Part 2 Reference Material
Appendix A Abbreviations and Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
Appendix B References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
Part 3 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
vii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Copyright © 2010, Juniper Networks, Inc. viii
Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
E Series and JunosE Documentation and Release Notes . . . . . . . . . . . . . . . . . . xxvii
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
E Series and JunosE Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . xxvii
Obtaining Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
Part 1 Chapters
Chapter 1 Planning Your Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Interface Specifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Edge Applications Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Private Line Aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
xDSL Session Termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Layered Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Line Modules, I/O Modules, and IOAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Subinterfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
interface Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
General Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Configuring Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Configuring IPSec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Configuring Physical Layer Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Line Module Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Configurable HDLC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Configuring Channelized T3 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Configuring T3 and E3 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Configuring OCx/STMx and OC48 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . 14
Configuring Channelized OCx/STMx Line Interfaces . . . . . . . . . . . . . . . . . . . . 14
Configuring Ethernet Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Configuring IPSec-Service Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Configuring Tunnel Service Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Configuring Data Link-Layer Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Configuring IP/Frame Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Configuring IP/ATM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Configuring IP/PPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Configuring IP/HDLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
ix Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Configuring IP/Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Configuring IP Tunnels, Shared IP Interfaces, and Subscriber Interfaces . . . . . . . . 22
Configuring IP Tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Configuring Shared Interfaces and Subscriber Interfaces . . . . . . . . . . . . . . . . 22
Configuring Routing Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Configuring VRRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Configuring Routing Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Configuring QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Configuring Policy Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Configuring Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Chapter 2 Command-Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Command-Line Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Keywords and Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Using CLI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
CLI Status Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Levels of Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Initialization Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Accessing the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Logging In . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Privileged-Level Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Moving from Privileged Exec to User Exec Mode . . . . . . . . . . . . . . . . . . . . . . . 48
Logging Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
CLI Command Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
CLI Privilege Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Examples Using Privilege Group Membership . . . . . . . . . . . . . . . . . . . . . . . . . 50
Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Keywords and Parameters Together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Abbreviated Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
The ? Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Backspace or Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Enter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Arrow Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
The no Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
run and do Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
show Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Redirection of show Command Output . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Regular Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
The - -More- - Prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Responding to Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
User Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Privileged Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Defining CLI Levels of Privilege . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Accessing the Privileged Exec Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Copyright © 2010, Juniper Networks, Inc. x
Table of Contents
CLI Command Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
CLI Keyword Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Setting Privileges for Ambiguous Commands . . . . . . . . . . . . . . . . . . . . . . . . . 55
Setting Privilege Levels for no or default Versions . . . . . . . . . . . . . . . . . . . . . . 56
Setting Privilege Levels for Multiple Commands . . . . . . . . . . . . . . . . . . . . . . . 56
Setting Privilege Levels for All Commands in a Mode . . . . . . . . . . . . . . . 56
Setting Privilege Levels for a Group of Commands . . . . . . . . . . . . . . . . . 56
Using the Order of Precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Superseding Privilege Levels with the all Keyword . . . . . . . . . . . . . . . . . . 57
Removing the all Keyword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Setting Default Line Privilege . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Viewing CLI Privilege Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Viewing the Current User Privilege Level . . . . . . . . . . . . . . . . . . . . . . . . . 59
Viewing Privilege Levels for All Connected Users . . . . . . . . . . . . . . . . . . . 59
Viewing Privilege Levels for Changed CLI Commands . . . . . . . . . . . . . . . 59
Using Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
? (Question Mark Key) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
help Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Partial-keyword <Tab> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Using Command-Line Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Basic Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Command-Line Editing Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Command History Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Pagination Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Accessing Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Exec Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Password Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Global Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Executing a Script File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
AAA Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Address Family Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
ATM VC Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
ATM VC Class Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Classifier Group Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Color Mark Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Control Plane Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Controller Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
DHCP Local Pool Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Domain Map Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Domain Map Tunnel Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
DoS Protection Group Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Drop Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Explicit Path Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Flow Cache Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Interface Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
IP NAT Pool Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
IP PIM Data MDT Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
IP Service Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
IPSec CA Identity Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
xi Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
IPSec Identity Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
IPSec IKE Policy Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
IPSec Manual Key Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
IPSec Peer Public Key Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
IPSec Transport Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 92
IPSec Tunnel Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
IP Tunnel Destination Profile Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
IPv6 Local Pool Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
L2 Transport Load-Balancing-Circuit Configuration Mode . . . . . . . . . . . . . . . 95
L2TP Destination Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . 95
L2TP Destination Profile Host Configuration Mode . . . . . . . . . . . . . . . . . . . . 95
L2TP Tunnel Switch Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . 96
Layer 2 Control Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Layer 2 Control Neighbor Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . 97
LDP Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Line Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Local IPSec Transport Profile Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Local User Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Map Class Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Map List Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Parent Group Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Policy List Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Policy List Parent Group Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . 101
Policy Parameter Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
PPPoE Service Name Table Configuration Mode . . . . . . . . . . . . . . . . . . . . . . 101
Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
QoS Interface Set Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
QoS Interface Superset Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . 103
QoS Parameter Definition Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . 103
QoS Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
QoS Shared Shaper Control Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Queue Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
RADIUS Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
RADIUS Relay Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Rate Limit Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Redundancy Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Remote Neighbor Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Route Map Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Router Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
RSVP Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
RTR Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Scheduler Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Service Session Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 110
SNMP Event Manager Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Statistics Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Subinterface Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Subscriber Policy Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Traffic Class Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Traffic Class Group Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Copyright © 2010, Juniper Networks, Inc. xii
Table of Contents
Tunnel Group Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Tunnel Group Tunnel Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Tunnel Profile Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Tunnel Server Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
VRF Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
VR Group Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Chapter 3 Installing JunosE Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Identifying the Software Release File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Installing Software When a Firewall Exists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Task 1: Obtain the Required Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Task 2: Divert Network Traffic to Another Router . . . . . . . . . . . . . . . . . . . . . . 120
Task 3: Access Privileged Exec Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Task 4: Configure IP on an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Task 5: Copy the Release Files to the Network Host . . . . . . . . . . . . . . . . . . . . 121
Task 6: Configure Access to the Network Host . . . . . . . . . . . . . . . . . . . . . . . . 121
Task 7: Enable the FTP Server on the Router . . . . . . . . . . . . . . . . . . . . . . . . . 122
Task 8: Identify the Files to Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Task 9: Transfer Files to the User Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Task 10: Install Files on the System Space . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Task 11: Save the Current Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Task 12: Reboot the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Installing Software When a Firewall Does Not Exist . . . . . . . . . . . . . . . . . . . . . . . 124
Installing Software in Normal Operational Mode . . . . . . . . . . . . . . . . . . . . . . 124
Task 1: Obtain the Required Information . . . . . . . . . . . . . . . . . . . . . . . . . 124
Task 2: Divert Network Traffic to Another Router . . . . . . . . . . . . . . . . . . 125
Task 3: Access Privileged Exec Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Task 4: Configure IP on an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Task 5: Configure Access to the Network Host . . . . . . . . . . . . . . . . . . . . 126
Task 6: Copy the Release Files to the Network Host . . . . . . . . . . . . . . . . 126
Task 7: Copy the Software Release File to the Router . . . . . . . . . . . . . . . 127
Task 8: Save the Current Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Task 9: Reboot the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Installing Software in Boot Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Task 1: Obtain the Required Information . . . . . . . . . . . . . . . . . . . . . . . . . 128
Task 2: Divert Network Traffic to Another System . . . . . . . . . . . . . . . . . . 128
Task 3: Access the Boot Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Task 4: Assign an IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Task 5: Configure Access to the Network Host . . . . . . . . . . . . . . . . . . . . 129
Task 6: Resetting the SRP Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Task 7: Copy the Release Files to the Network Host . . . . . . . . . . . . . . . . 129
Task 8: Copy the Software Release File to the Router . . . . . . . . . . . . . . 130
Task 9: Reboot the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Copying Release Files from One Router to Another . . . . . . . . . . . . . . . . . . . . . . . 130
Upgrading Systems That Are Operating with Two SRP Modules . . . . . . . . . . . . . 131
xiii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Upgrading JunosE Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Upgrading Software Remotely Through Telnet or FTP . . . . . . . . . . . . . . . . . 133
Upgrading Software from an NVS Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Downgrading JunosE Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Chapter 4 Configuring SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
SNMP Features Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
SNMP Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
SNMP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
SNMP MIBs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
SNMP Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Security Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Management Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Communicating with the SNMP Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
SNMP Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
SNMP Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
SNMP PDU Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Before You Configure SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
SNMP Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Enabling SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Configuring SNMP v1/v2c Community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Configuring SNMPv3 Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Configuring SNMP Dynamic Groups and Views . . . . . . . . . . . . . . . . . . . . . . . 150
Setting Server Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Configuring SNMP Packet Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Configuring Memory Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Configuring Encoding Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Managing Interface Sublayers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Configuring Traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
IP Hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Trap Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Upgrading a System That Contains One SRP Module . . . . . . . . . . . . . . 133
Upgrading a System That Contains Two SRP Modules . . . . . . . . . . . . . 134
Standard SNMP MIBs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Juniper Networks E Series Enterprise MIBs . . . . . . . . . . . . . . . . . . . . . . . 140
Accessing Supported SNMP MIBs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Creating SNMP Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Disabling and Reenabling SNMP Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Community Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Privilege Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
IP Access List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Compressing Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Controlling Interface Numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Monitoring Interface Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Copyright © 2010, Juniper Networks, Inc. xiv
Table of Contents
Trap Severity Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Specifying an Egress Point for SNMP Traps . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Configuring Trap Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Configuring Trap Notification Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Recovering Lost Traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Configuring the SNMP Server Event Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Event MIB Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Event MIB Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Trigger Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Objects Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Event Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Defining a Boolean Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Defining an Existence Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Defining a Threshold Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Monitoring Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Collecting Bulk Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Interface Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Understanding Counter Discontinuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Configuring Collectors and Receivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Deleting All Bulkstats Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Monitoring Collection Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Understanding Schemas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
If-Stats Schema Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
IGMP Schema Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Policy Schema Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
QoS Schema Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Configuring Schemas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Mapping Bulkstats Output to MIB Flies and CLI Configurations for Bulk
Statistics Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Monitoring Schema Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Configuring Interface Numbering Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Using the Bulk Statistics Formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Setting Remote Filenames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Specifying End of Line Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Managing Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Monitoring SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Establishing a Baseline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Viewing SNMP Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Output Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Chapter 5 Managing the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Naming the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Configuring the Switch Fabric Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Configuring Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Monitoring Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
xv Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Using the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Managing vty Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Configuring vty Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Monitoring vty Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Clearing Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Monitoring the Current Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Defining the Configuration Output Format . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Customizing the Configuration Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Detecting Corrupt File Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Automatically Recovering Corrupt Configuration Files . . . . . . . . . . . . . . . . . 260
Configuring the System Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
Saving the Current Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
Using the Desktop Tool for Viewing Uncompressed Text Configuration . . . . . . . 267
Installation Prerequisites for the Desktop Tool . . . . . . . . . . . . . . . . . . . . . . . 267
Usage Notes for the Perl Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Customizing the User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Setting the Console Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Configuring the Display Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Specifying the Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Configuring Login Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Setting Time Limits for User Login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Setting Time Limits for User Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Configuring CLI Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Monitoring the Console Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Sending Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Managing Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Managing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Managing the User Space from a Network Host . . . . . . . . . . . . . . . . . . . . . . 279
File Commands and FTP Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Renaming Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Deleting Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Monitoring Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Viewing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Transferring Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Copying and Redirecting Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Using the copy Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
copy Command Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Using TFTP to Transfer Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Configuring the FTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Monitoring the FTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Requirements for Microsoft Windows Systems . . . . . . . . . . . . . . . . . . . 268
Requirements for Sun Solaris Systems . . . . . . . . . . . . . . . . . . . . . . . . . 268
Requirements for Linux Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
FTP Passive Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Configuring Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Copyright © 2010, Juniper Networks, Inc. xvi
Table of Contents
Copying Partial Releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
Configuring the NFS Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Monitoring the NFS Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Using a Loopback Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Using the Telnet Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Configuring DNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Assigning Name Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Using One Name Resolver for Multiple Virtual Routers . . . . . . . . . . . . . . . . 308
Monitoring DNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Troubleshooting the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Creating Core Dump Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Boot Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Global Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Managing Core Dump Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Enabling and Disabling the Core Dump Monitor . . . . . . . . . . . . . . . . . . . 313
Specifying the Core Dump Monitor Interval . . . . . . . . . . . . . . . . . . . . . . 314
Viewing Core Dump Monitor Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Accessing the Core Dump File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Capturing and Writing Core Dumps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Understanding the Core Dump File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Tracking IP Prefix Reachability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Gathering Information for Customer Support . . . . . . . . . . . . . . . . . . . . . . . . 319
Managing and Monitoring Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
Enabling and Disabling the Resource Threshold Monitor . . . . . . . . . . . . . . . 320
Viewing Resource Threshold Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
Monitoring the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
Chapter 6 Managing Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
ERX7xx Models, ERX14xx Models, and the ERX310 Broadband Services
Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Line Modules and I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
SRP Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
E120 and E320 Broadband Services Routers . . . . . . . . . . . . . . . . . . . . . . . . . 343
Line Modules and IOAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
SRP Modules and SFMs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
Disabling and Reenabling Line Modules, SRP Modules, and SFMs . . . . . . . . . . . 346
Disabling and Reenabling IOAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
Removing an SRP Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
Replacing Line Modules on ERX Routers, the E120 Router, and the E320
Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Replacing a Line Module by Erasing the Slot Configuration . . . . . . . . . . . . . . 351
Replacing a Line Module Without Erasing the Slot Configuration . . . . . . . . 352
xvii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Replacing IOAs on the E120 Router and the E320 Router . . . . . . . . . . . . . . . . . . 355
Replacing SRP Modules and SFMs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Software Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Line Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
I/O Modules and IOAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Configuring Performance Rate of Line Modules on ERX7xx Models and the
ERX1410 Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Choosing a Combination of Line Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Specifying the Type of Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Monitoring Bandwidth Oversubscription . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Troubleshooting Bandwidth Oversubscription . . . . . . . . . . . . . . . . . . . . . . . 364
Managing Flash Cards on SRP Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
Flash Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
Flash Features on the E120 Router and the E320 Router . . . . . . . . . . . . . . . 365
Installing and Removing Flash Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Synchronizing Flash Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
Validating and Recovering Redundant SRP File Integrity . . . . . . . . . . . . . . . 370
Reformatting the Primary Flash Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Copying the Image on the Primary SRP Module . . . . . . . . . . . . . . . . . . . . . . 374
Scanning Flash Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Monitoring Flash Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Updating the Router with JunosE Hotfix Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Hotfix Compatibility and Dependency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Removing Hotfixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
Hotfixes and Backup Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
Hotfixes and Standby SRP Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
Hotfixes and Line Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
Monitoring Hotfixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
Managing the Ethernet Port on the SRP Module . . . . . . . . . . . . . . . . . . . . . . . . . 388
Monitoring Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Monitoring the Ethernet Configuration for the SRP Module . . . . . . . . . . . . . 389
Enabling Warm Restart Diagnostics on Modules . . . . . . . . . . . . . . . . . . . . . . . . . 391
Enabling Warm Restart Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Enabling Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Ignoring Diagnostic Test Failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Monitoring Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Chapter 7 Passwords and Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Slot Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
SRP Modules Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Line Modules Bandwidth and Switch Usage . . . . . . . . . . . . . . . . . . . . . 360
Allowed Combinations for Line Rate Performance . . . . . . . . . . . . . . . . . 361
Synchronizing Flash Cards of Different Capacities . . . . . . . . . . . . . . . . 369
Disabling Autosynchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
Example: Using and Monitoring Hotfixes . . . . . . . . . . . . . . . . . . . . . . . . 386
Copyright © 2010, Juniper Networks, Inc. xviii
Table of Contents
Setting Basic Password Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Creating Encrypted Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Creating Secrets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Encrypting Passwords in Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . 405
Commands and Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
Setting and Erasing Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Privilege Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Accessing Privilege Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Setting Enable Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Erasing Enable Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Setting a Console Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Erasing the Console Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Monitoring Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
Vty Line Authentication and Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Configuring Simple Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Configuring AAA Authentication and AAA Authorization . . . . . . . . . . . . . . . 415
Virtual Terminal Access Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
Secure System Administration with SSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Transport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
User Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Key Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
User Key Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Host Key Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Security Concerns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Before You Configure SSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
SSH Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Configuring Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
Configuring User Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
Configuring Message Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
Enabling and Disabling SSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Displaying SSH Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
Terminating an SSH Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Restricting User Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Restricting Access to Commands with RADIUS . . . . . . . . . . . . . . . . . . . . . . . 431
Per-User Enable Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Restricting Access to Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
VSA Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
Commands Available to Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
Denial of Service (DoS) Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
Suspicious Control Flow Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
Suspicious Control Flow Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
Configurable Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Display Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Traps and Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Suspicious Control Flow Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Monitoring Suspicious Control Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Denial-of-Service Protection Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
xix Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Group Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
Attaching Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
Protocol Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
DoS Protection Group Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . 451
DoS Protection Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Monitoring DoS Protection Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Chapter 8 Writing CLI Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Writing Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Environment Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
Capturing Output of Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
Adding Regular Expression Matching to Macros . . . . . . . . . . . . . . . . . . . . . . 462
Extracting a Substring Based on Regular Expression Matching . . . . . . . . . . 463
Adding Global Variables for Availability to the onError Macro . . . . . . . . . . . 463
Unique IDs for Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
Accurate Use of Error Status When Accessed Ourside of onError Macro . . 464
Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Literals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Arithmetic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Conditional Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Passing Parameters in Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Generating Macro Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Invoking Other Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
Detecting and Recording Macro Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
Detectable Macro Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
Logging Macro Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
Viewing Macro Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
onError Macro Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
Running Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
Scheduling Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
Practical Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
Configuring Frame Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
Configuring ATM Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Increment and Decrement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
String Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Extraction Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Relational Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Logical Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Miscellaneous Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
If Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
While Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Detecting Invalid Command Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
Detecting Invalid Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
Detecting Missing Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
Copyright © 2010, Juniper Networks, Inc. xx
Table of Contents
Chapter 9 Booting the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Configuring Your System for Booting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Booting the GE-2 Line Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
Rebooting Your System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Rebooting When a Command Takes a Prolonged Time to Execute . . . . . . . 502
Configuration Caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503
Operations in Boot Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503
Displaying Boot Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
Output Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
Chapter 10 Configuring the System Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
NTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
System Operation as an NTP Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509
System Operation as an NTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
Setting the System Clock Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
Before You Configure NTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512
Choosing NTP Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
NTP Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
Enabling NTP Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
NTP Client Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
Directing Responses from NTP Servers . . . . . . . . . . . . . . . . . . . . . . . . . . 515
Refusing Broadcasts from NTP Servers . . . . . . . . . . . . . . . . . . . . . . . . . 515
NTP Server Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
Monitoring NTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
Chapter 11 Configuring Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Default Virtual Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Virtual Router Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Routing Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
VPNs and VRFs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
VPNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
VRFs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527
Configuring Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527
Monitoring Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
xxi Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Part 2 Reference Material
Appendix A Abbreviations and Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
Appendix B References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
RFCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
Draft RFCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574
Other Software Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577
Hardware Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580
Part 3 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
Copyright © 2010, Juniper Networks, Inc. xxii
List of Figures
Part 1 Chapters
Chapter 1 Planning Your Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Figure 1: Private Line Aggregation with the E Series Router . . . . . . . . . . . . . . . . . . . 5
Figure 2: B-RAS Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 3: Network Configuration Using a Bottom-Up Approach . . . . . . . . . . . . . . . . 7
Figure 4: E Series Router Support for Fractional T1/E1 Through T3/E3
Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 5: Channelized T3 Interface Configuration Parameters . . . . . . . . . . . . . . . . 12
Figure 6: T3 Interface Configuration Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 7: SONET Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 8: Parameters for T1 over DS3 Interface Configuration . . . . . . . . . . . . . . . . . 15
Figure 9: Frame Relay Interface Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 10: Structure of Frame Relay Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 11: Serial Interface Configuration Parameters for a Frame Relay
Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 12: E Series Router IP/ATM Access Connection . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 13: Structure of the ATM Interface Design . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 14: Structure of ATM Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 15: ATM Interface Configuration Parameters . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 16: IP/PPP Connections from the CPE on an E Series Router . . . . . . . . . . . 20
Figure 17: Structure of PPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 18: PPP Interface Configuration Parameters . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 19: Structure of Cisco HDLC Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 20: Example of IP over Ethernet Stacking Configuration Steps . . . . . . . . . . 22
Chapter 2 Command-Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 21: Command Mode Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Chapter 5 Managing the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Figure 22: Transferring System Files to the E Series Router . . . . . . . . . . . . . . . . . 288
Figure 23: FTP Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Figure 24: DNS Hierarchy Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Chapter 7 Passwords and Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Figure 25: Location of the Software Reset Button . . . . . . . . . . . . . . . . . . . . . . . . 409
Figure 26: Typical Control Packet Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
Chapter 10 Configuring the System Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Figure 27: Example of an NTP Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
Chapter 11 Configuring Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Figure 28: Virtual Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
xxiii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Copyright © 2010, Juniper Networks, Inc. xxiv
List of Tables
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
Table 1: Notice Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviii
Table 2: Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviii
Part 1 Chapters
Chapter 1 Planning Your Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 3: Common Access/Uplink Pairings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Chapter 2 Command-Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 4: Redirect Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Table 5: Supported Regular Expression Metacharacters . . . . . . . . . . . . . . . . . . . . 39
Table 6: Help Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Table 7: Command-Line Editing Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Table 8: Command History Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Table 9: Pagination Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Table 10: Command Mode Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Chapter 3 Installing JunosE Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Table 11: Software Release Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Table 12: Software Installation Procedure When a Firewall Exists . . . . . . . . . . . . 119
Table 13: Software Installation Procedure When a Firewall Does Not Exist . . . . . 124
Table 14: Software Installation Procedure in Boot Mode . . . . . . . . . . . . . . . . . . . 128
Table 15: Release Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Chapter 4 Configuring SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Table 16: SNMP Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Table 17: Relationship Among Groups, Security Levels, and Views . . . . . . . . . . . . 142
Table 18: SnmpEngineID Structure Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Table 19: Relationship Between SNMPv1/v2c and SNMPv3 Attributes . . . . . . . . 145
Table 20: SNMP Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Table 21: SNMP PDU Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Table 22: Trap Severity Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Table 23: Interface Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Table 24: Data Retrieved According to Schema . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Table 25: if-stats Schema Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Table 26: IGMP Schema Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Table 27: Policy Schema Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Table 28: QoS Schema Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Table 29: Mapping Bulkstats Output to MIB Flies and CLI Configurations for
Policy Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
xxv Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Table 30: Mapping Bulkstats Output to MIB Flies and CLI Configurations for QoS
schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Chapter 5 Managing the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Table 31: Output Locations for Layer 2 and Layer 3 Interface Configurations . . . 249
Table 32: Categories of Router Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Table 33: Types of System Files and Corresponding Extensions . . . . . . . . . . . . . 277
Table 34: FTP Commands That the System Supports . . . . . . . . . . . . . . . . . . . . . 279
Table 35: File Types You Can Rename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Table 36: File Types You Can Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Table 37: File Types You Can Transfer Using the copy Command . . . . . . . . . . . . 290
Table 38: Chassis Slot Numbers Versus Hardware Slot Numbers . . . . . . . . . . . . 317
Chapter 6 Managing Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Table 39: IOA Management Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
Table 40: Bandwidth Statistics for Line Modules . . . . . . . . . . . . . . . . . . . . . . . . . 361
Table 41: Combinations of Line Modules for Line Rate Performance—SRP-10G
Module in an ERX7xx Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Table 42: Combinations of Line Modules for Line Rate Performance—SRP-10G
Module in an ERX1410 Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Table 43: Combinations of Line Modules for Line Rate Performance—SRP-5G+
Module in an ERX705 Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Table 44: Supported Line Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Chapter 7 Passwords and Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Table 45: Commands Available at Different Privilege Levels . . . . . . . . . . . . . . . . 407
Table 46: CLI User Access Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Table 47: Juniper Networks–Specific CLI Access VSA Descriptions . . . . . . . . . . . 432
Table 48: Juniper Networks–Specific Virtual Router Access VSA
Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
Table 49: Layer 2-Related Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
Table 50: IP-Related Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
Chapter 8 Writing CLI Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Table 51: Environment Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Table 52: Macro Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Table 53: Operator Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Table 54: Contents of ds1mac.mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
Part 2 Reference Material
Appendix B References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
Table 55: E Series RFCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
Table 56: E Series Draft RFCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574
Table 57: E Series Non-RFC Software Standards . . . . . . . . . . . . . . . . . . . . . . . . . 577
Table 58: E Series Hardware Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580
Copyright © 2010, Juniper Networks, Inc. xxvi
About the Documentation
•
E Series and JunosE Documentation and Release Notes on page xxvii
•
Audience on page xxvii
•
E Series and JunosE Text and Syntax Conventions on page xxvii
•
Obtaining Documentation on page xxix
•
Documentation Feedback on page xxix
•
Requesting Technical Support on page xxix
E Series and JunosE Documentation and Release Notes
For a list of related JunosE documentation, see
http://www.juniper.net/techpubs/software/index.html .
If the information in the latest release notes differs from the information in the
documentation, follow the JunosE Release Notes.
To obtain the most current version of all Juniper Networks®technical documentation,
see the product documentation page on the Juniper Networks website at
http://www.juniper.net/techpubs/.
Audience
This guide is intended for experienced system and network specialists working with
Juniper Networks E Series Broadband Services Routers in an Internet access environment.
E Series and JunosE Text and Syntax Conventions
Table 1 on page xxviii defines notice icons used in this documentation.
xxvii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
Table 1: Notice Icons
Table 2 on page xxviii defines text and syntax conventions that we use throughout the
E Series and JunosE documentation.
Description Meaning Icon
Indicates important features or instructions. Informational note
Indicates a situation that might result in loss of data or hardware damage. 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
Table 2: Text and Syntax Conventions
Representscommands andkeywords intext. Bold text like this
Fixed-width text like this
Italic text like this
Plus sign (+) linking key names
Syntax Conventions in the Command Reference Guide
Representsinformation as displayed on your
terminal’s screen.
•
Emphasizes words.
•
Identifies variables.
•
Identifies chapter, appendix, and book
names.
keys simultaneously.
Examples Description Convention
•
Issue the clock source command.
•
Specify the keyword exp-msg.
host1(config)#traffic class low-loss1Represents text that the user must type. Bold text like this
host1#show ip ospf 2
Routing Process OSPF 2 with Router
ID 5.5.0.250
Router is an Area Border Router
(ABR)
•
There are two levels of access: user and
privileged.
•
clusterId, ipAddress.
•
Appendix A, System Specifications
Press Ctrl + b. Indicates that you must press two or more
terminal length Represents keywords. Plain text like this
mask , accessListName Represents variables.Italic text like this
Copyright © 2010, Juniper Networks, Inc. xxviii
Table 2: Text and Syntax Conventions (continued)
About the Documentation
Examples Description Convention
| (pipe symbol)
or variable to the left or to the right of this
symbol. (The keyword or variable can be
either optional or required.)
[ ]* (brackets and asterisk)
that can be entered more than once.
Represent required keywords or variables. { } (braces)
Obtaining Documentation
To obtain the most current version of all Juniper Networks technical documentation, see
the Technical Documentation page on the Juniper Networks Web site at
http://www.juniper.net/.
To download complete sets of technical documentation to create your own
documentation CD-ROMs or DVD-ROMs, see the Portable Libraries page at
http://www.juniper.net/techpubs/resources/index.html
diagnostic | line Represents a choice to select one keyword
[ internal | external ] Represent optional keywords or variables. [ ] (brackets)
[ level1 | level2 | l1 ]* Represent optional keywords or variables
{ permit | deny } { in | out }
{ clusterId | ipAddress }
Copies of the Management Information Bases (MIBs) for a particular software release
are available for download in the software image bundle fromthe Juniper Networks Web
site athttp://www.juniper.net/.
Documentation Feedback
We encourage you to provide feedback, comments, and suggestions so that we can
improve the documentation to better meet your needs. Send your comments to
techpubs-comments@juniper.net, or fill out the documentation feedback form at
https://www.juniper.net/cgi-bin/docbugreport/. If you are using e-mail, be sure to include
the following information with your comments:
•
Document or topic name
•
URL or page number
•
Software release version
Requesting Technical Support
Technical productsupport is available through the Juniper NetworksTechnical Assistance
Center (JTAC). If you are a customer with an active J-Care or JNASC support contract,
xxix Copyright © 2010, Juniper Networks, Inc.
JunosE 11.3.x System Basics Configuration Guide
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 you with 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/
To verifyservice entitlement by product serialnumber, use our Serial NumberEntitlement
(SNE) Tool: https://tools.juniper.net/SerialNumberEntitlementSearch/
Opening a Case with JTAC
You can open a case with JTAC on the Web 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. xxx