Juniper JUNOSe 11.1, SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X Configuration manual

  • Hello! I am an AI chatbot trained to assist you with the Juniper JUNOSe 11.1 Configuration manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
JUNOSe Software
for E Series Broadband Services Routers
System Basics Configuration Guide
Release 11.1.x
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
Published: 2010-03-31
Juniper Networks, the Juniper Networks logo, JUNOS, NetScreen, ScreenOS, and Steel-Belted Radius are registered trademarks of Juniper Networks, Inc. in
the United States and other countries. JUNOSe is a trademark of Juniper Networks, Inc. All other trademarks, service marks, registered trademarks, or
registered service marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or
otherwise revise this publication without notice.
Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that are owned by or licensed
to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440, 6,192,051, 6,333,650, 6,359,479, 6,406,312, 6,429,706, 6,459,579, 6,493,347,
6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785.
JUNOSe Software for E Series Broadband Services Routers System Basics Configuration Guide
Release 11.1.x
Copyright © 2010, Juniper Networks, Inc.
All rights reserved. Printed in USA.
Writing: Mark Barnard, Diane Florio, Bruce Gillham, Sarah Lesway-Ball, Brian Wesley Simmons, Fran Singer, Megha Shaseendran, Krupa Chandrashekar,
Chander Aima, Poornima Goswami, Hema Priya J, Subash Babu Asokan, Sairam Venugopalan
Editing: Benjamin Mann
Illustration: Nathaniel Woodward
Cover Design: Edmonds Design
Revision History
April 2010FRS JUNOSe 11.1.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 Software has no known time-related limitations through the year
2038. However, the NTP application is known to have some difficulty in the year 2036.
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 THIS
AGREEMENT. IF YOU DO NOT OR CANNOT AGREE TO THE TERMS CONTAINED 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 Customers principal office is located in the Americas) or Juniper Networks
(Cayman) Limited (if the Customers principal office is located outside the Americas) (such applicable entity being referred to herein as Juniper), and (ii)
the person or organization that originally purchased from Juniper or an authorized Juniper reseller the applicable 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 or an 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 payment of the applicable fees and the limitations and restrictions set forth 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 limits to
Customers use of the Software. Such limits may restrict use to a maximum number of 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. Customers 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, Customers 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 Customers 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, or marks on or in any copy of the Software or 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 the secondhand market; (f) use any locked or key-restricted
feature, 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 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 any manner 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.
iii
6. Confidentiality. The Parties agree that aspects of the Software and associated documentation are the confidential property of Juniper. As such, Customer
shall exercise all reasonable commercial efforts to maintain the Software and associated documentation in confidence, which at a minimum includes
restricting access to the Software to Customer employees and contractors having a need to use the Software for Customers internal business purposes.
7. Ownership. Juniper and Junipers licensors, respectively, retain ownership of all right, title, and interest (including copyright) in and to the Software,
associated documentation, and all copies of the Software. Nothing in this Agreement constitutes a transfer or conveyance of any right, title, or interest in
the Software or associated documentation, or a sale of the Software, associated documentation, or copies of the Software.
8. Warranty, Limitation of Liability, Disclaimer of Warranty. The warranty applicable to the Software shall be as set forth in the warranty statement that
accompanies the Software (the Warranty Statement). Nothing in this Agreement shall give rise to any obligation to support the Software. Support services
may be purchased separately. Any such support shall be governed by a separate, written support services agreement. TO THE MAXIMUM EXTENT PERMITTED
BY LAW, JUNIPER SHALL NOT BE LIABLE FOR ANY LOST PROFITS, LOSS OF DATA, OR COSTS OR PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
OR FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, THE SOFTWARE, OR ANY JUNIPER OR
JUNIPER-SUPPLIED SOFTWARE. IN NO EVENT SHALL JUNIPER BE LIABLE FOR DAMAGES ARISING FROM UNAUTHORIZED OR IMPROPER USE OF ANY
JUNIPER OR JUNIPER-SUPPLIED SOFTWARE. EXCEPT AS EXPRESSLY PROVIDED IN THE WARRANTY STATEMENT TO THE EXTENT PERMITTED BY LAW,
JUNIPER DISCLAIMS ANY AND ALL WARRANTIES IN AND TO THE SOFTWARE (WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE), INCLUDING
ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT DOES JUNIPER
WARRANT THAT THE SOFTWARE, OR ANY EQUIPMENT OR NETWORK RUNNING THE SOFTWARE, WILL OPERATE WITHOUT ERROR OR INTERRUPTION,
OR WILL BE FREE OF VULNERABILITY TO INTRUSION OR ATTACK. In no event shall Junipers or its suppliers or licensors liability to Customer, whether
in contract, tort (including negligence), breach of warranty, or otherwise, exceed the price paid by Customer for the Software that gave rise to the claim, or
if the Software is embedded in another Juniper product, the price paid by Customer for such other product. Customer acknowledges and agrees that Juniper
has set its prices and entered into this Agreement in reliance upon the disclaimers of warranty and the limitations of liability set forth herein, that the same
reflect an allocation of risk between the Parties (including the risk that a contract remedy may fail of its essential purpose and cause consequential loss),
and that the same form an essential basis of the bargain between the Parties.
9. Termination. Any breach of this Agreement or failure by Customer to pay any applicable fees due shall result in automatic termination of the license
granted herein. Upon such termination, Customer shall destroy or return to Juniper all copies of the Software and related documentation in Customers
possession or control.
10. Taxes. All license fees payable under this agreement are exclusive of tax. Customer shall be responsible for paying Taxes arising from the purchase of
the license, or importation or use of the Software. If applicable, valid exemption documentation for each taxing jurisdiction shall be provided to Juniper prior
to invoicing, and Customer shall promptly notify Juniper if their exemption is revoked or modified. All payments made by Customer shall be net of any
applicable withholding tax. Customer will provide reasonable assistance to Juniper in connection with such withholding taxes by promptly: providing Juniper
with valid tax receipts and other required documentation showing Customers payment of any withholding taxes; completing appropriate applications that
would reduce the amount of withholding tax to be paid; and notifying and assisting Juniper in any audit or tax proceeding related to transactions hereunder.
Customer shall comply with all applicable tax laws and regulations, and Customer will promptly pay or reimburse Juniper for all costs and damages related
to any liability incurred by Juniper as a result of Customers non-compliance or delay with its responsibilities herein. Customers obligations under this
Section shall survive termination or expiration of this Agreement.
11. Export. Customer agrees to comply with all applicable export laws and restrictions and regulations of any United States and any applicable foreign
agency or authority, and not to export or re-export the Software or any direct product thereof in violation of any such restrictions, laws or regulations, or
without all necessary approvals. Customer shall be liable for any such violations. The version of the Software supplied to Customer may contain encryption
or other capabilities restricting Customers ability to export the Software without an export license.
12. Commercial Computer Software. The Software is commercial computer software and is provided with restricted rights. Use, duplication, or disclosure
by the United States government is subject to restrictions set forth in this Agreement and as provided in DFARS 227.7201 through 227.7202-4, FAR 12.212,
FAR 27.405(b)(2), FAR 52.227-19, or FAR 52.227-14(ALT III) as applicable.
13. Interface Information. To the extent required by applicable law, and at Customer's written request, Juniper shall provide Customer with the interface
information needed to achieve interoperability between the Software and another independently created program, on payment of applicable fee, if any.
Customer shall observe strict obligations of confidentiality with respect to such information and shall use such information in compliance with any applicable
terms and conditions upon which Juniper makes such information available.
14. Third Party Software. Any licensor of Juniper whose software is embedded in the Software and any supplier of Juniper whose products or technology
are embedded in (or services are accessed by) the Software shall be a third party beneficiary with respect to this Agreement, and such licensor or vendor
shall have the right to enforce this Agreement in its own name as if it were Juniper. In addition, certain third party software may be provided with the
Software and is subject to the accompanying license(s), if any, of its respective owner(s). To the extent portions of the Software are distributed under and
subject to open source licenses obligating Juniper to make the source code for such portions publicly available (such as the GNU General Public License
(GPL) or the GNU Library General Public License (LGPL)), Juniper will make such source code portions (including Juniper modifications, as appropriate)
available upon request for a period of up to three years from the date of distribution. Such request can be made in writing to Juniper Networks, Inc., 1194
N. Mathilda Ave., Sunnyvale, CA 94089, ATTN: General Counsel. You may obtain a copy of the GPL at http://www.gnu.org/licenses/gpl.html, and
a copy of the LGPL at http://www.gnu.org/licenses/lgpl.html.
15. Miscellaneous. This Agreement shall be governed by the laws of the State of California without reference to its conflicts of laws principles. The provisions
of the U.N. Convention for the International Sale of Goods shall not apply to this Agreement. For any disputes arising under this Agreement, the Parties
hereby consent to the personal and exclusive jurisdiction of, and venue in, the state and federal courts within Santa Clara County, California. This Agreement
constitutes the entire and sole agreement between Juniper and the Customer with respect to the Software, and supersedes all prior and contemporaneous
iv
agreements relating to the Software, whether oral or written (including any inconsistent terms contained in a purchase order), except that the terms of a
separate written agreement executed by an authorized Juniper representative and Customer shall govern to the extent such terms are inconsistent or conflict
with terms contained herein. No modification to this Agreement nor any waiver of any rights hereunder shall be effective unless expressly assented to in
writing by the party to be charged. If any portion of this Agreement is held invalid, the Parties agree that such invalidity shall not affect the validity of the
remainder of this Agreement. This Agreement and associated documentation has been written in the English language, and the Parties agree that the English
version will govern. (For Canada: Les parties aux 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
vi
Abbreviated Table of Contents
About the Documentation xxvii
Part 1 Chapters
Chapter 1 Planning Your Network 3
Chapter 2 Command-Line Interface 29
Chapter 3 Installing JUNOSe Software 125
Chapter 4 Configuring SNMP 147
Chapter 5 Managing the System 251
Chapter 6 Managing Modules 355
Chapter 7 Passwords and Security 417
Chapter 8 Writing CLI Macros 473
Chapter 9 Booting the System 509
Chapter 10 Configuring the System Clock 521
Chapter 11 Configuring Virtual Routers 539
Part 2 Reference Material
Appendix A Abbreviations and Acronyms 553
Appendix B References 571
Part 3 Index
Index 595
Abbreviated Table of Contents vii
viii
JUNOSe 11.1.x System Basics Configuration Guide
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 ..................................................................................9
General Configuration Tasks ............................................................................9
Configuring Virtual Routers ...........................................................................10
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 ...............................15
Configuring Ethernet Interfaces ..............................................................16
Configuring IPSec-Service Interfaces .......................................................16
Configuring Tunnel Service Interfaces .....................................................16
Table of Contents ix
Configuring Data Link-Layer Interfaces ..........................................................17
Configuring IP/Frame Relay ....................................................................17
Configuring IP/ATM .................................................................................19
Configuring IP/PPP ..................................................................................20
Configuring IP/HDLC ...............................................................................22
Configuring IP/Ethernet ..........................................................................22
Configuring IP Tunnels, Shared IP Interfaces, and Subscriber Interfaces .......23
Configuring IP Tunnels ............................................................................23
Configuring Shared Interfaces and Subscriber Interfaces ........................23
Configuring Routing Protocols .......................................................................24
Configuring VRRP ..........................................................................................25
Configuring Routing Policy ............................................................................25
Configuring QoS ............................................................................................25
Configuring Policy Management ....................................................................26
Configuring Remote Access ...........................................................................26
Chapter 2 Command-Line Interface 29
Overview .......................................................................................................29
Command Modes ...................................................................................29
Command-Line Prompts .........................................................................31
Keywords and Parameters ......................................................................31
Keywords .........................................................................................31
Parameters .......................................................................................32
Keywords and Parameters Together .................................................32
Using CLI Commands .............................................................................33
Abbreviated Commands ...................................................................33
The ? Key .........................................................................................33
Backspace or Delete .........................................................................34
Enter ................................................................................................34
Tab ...................................................................................................34
Arrow Keys ......................................................................................34
The no Version .................................................................................35
run and do Commands .....................................................................35
show Commands .............................................................................37
Redirection of show Command Output ............................................40
Regular Expressions .........................................................................41
The - -More- - Prompt .......................................................................43
Responding to Prompts ....................................................................46
CLI Status Indicators ...............................................................................47
Levels of Access ......................................................................................48
User Level ........................................................................................48
Privileged Level ................................................................................48
Initialization Sequence ............................................................................48
Platform Considerations ................................................................................48
Accessing the CLI ..........................................................................................48
Logging In ...............................................................................................48
Privileged-Level Access ...........................................................................49
Defining CLI Levels of Privilege ........................................................49
Accessing the Privileged Exec Level ..................................................50
x Table of Contents
JUNOSe 11.1.x System Basics Configuration Guide
Moving from Privileged Exec to User Exec Mode ....................................51
Logging Out ............................................................................................52
CLI Command Privileges ...............................................................................52
CLI Privilege Groups ................................................................................52
Examples Using Privilege Group Membership .........................................53
CLI Command Exceptions .......................................................................57
CLI Keyword Mapping ............................................................................58
Setting Privileges for Ambiguous Commands ..........................................58
Setting Privilege Levels for no or default Versions ...................................59
Setting Privilege Levels for Multiple Commands ......................................59
Setting Privilege Levels for All Commands in a Mode .......................59
Setting Privilege Levels for a Group of Commands ...........................60
Using the Order of Precedence .........................................................60
Superseding Privilege Levels with the all Keyword ...........................61
Removing the all Keyword ...............................................................61
Setting Default Line Privilege ..................................................................61
Viewing CLI Privilege Information ...........................................................62
Viewing the Current User Privilege Level ..........................................62
Viewing Privilege Levels for All Connected Users ..............................63
Viewing Privilege Levels for Changed CLI Commands ......................63
Using Help .....................................................................................................63
? (Question Mark Key) .............................................................................64
help Command .......................................................................................66
Partial-keyword <Tab> .........................................................................66
Using Command-Line Editing ........................................................................67
Basic Editing ...........................................................................................67
Command-Line Editing Keys ...................................................................67
Command History Keys ..........................................................................68
Pagination Keys ......................................................................................69
Accessing Command Modes ..........................................................................69
Exec Modes ............................................................................................86
Password Protection .........................................................................87
Global Configuration Mode .....................................................................88
Executing a Script File ......................................................................88
AAA Profile Configuration Mode .............................................................89
Address Family Configuration Mode .......................................................89
ATM VC Configuration Mode ...................................................................90
ATM VC Class Configuration Mode ..........................................................90
Classifier Group Configuration Mode .......................................................91
Color Mark Profile Configuration Mode ...................................................91
Control Plane Configuration Mode ..........................................................92
Controller Configuration Mode ................................................................92
DHCP Local Pool Configuration Mode .....................................................93
Domain Map Configuration Mode ...........................................................93
Domain Map Tunnel Configuration Mode ...............................................94
DoS Protection Group Configuration Mode .............................................94
Drop Profile Configuration Mode ............................................................95
Explicit Path Configuration Mode ............................................................95
Flow Cache Configuration Mode .............................................................96
Interface Configuration Mode .................................................................96
IP NAT Pool Configuration Mode .............................................................97
Table of Contents xi
Table of Contents
IP PIM Data MDT Configuration Mode ....................................................97
IP Service Profile Configuration Mode .....................................................98
IPSec CA Identity Configuration Mode ....................................................98
IPSec Identity Configuration Mode ..........................................................98
IPSec IKE Policy Configuration Mode ......................................................99
IPSec Manual Key Configuration Mode ...................................................99
IPSec Peer Public Key Configuration Mode ...........................................100
IPSec Transport Profile Configuration Mode ..........................................100
IPSec Tunnel Profile Configuration Mode ..............................................100
IP Tunnel Destination Profile Mode .......................................................101
IPv6 Local Pool Configuration Mode .....................................................102
L2 Transport Load-Balancing-Circuit Configuration Mode ......................102
L2TP Destination Profile Configuration Mode .......................................103
L2TP Destination Profile Host Configuration Mode ...............................103
L2TP Tunnel Switch Profile Configuration Mode ...................................103
Layer 2 Control Configuration Mode .....................................................104
Layer 2 Control Neighbor Configuration Mode ......................................104
LDP Configuration Mode .......................................................................105
Line Configuration Mode .......................................................................105
Local IPSec Transport Profile Configuration ..........................................106
Local User Configuration Mode .............................................................106
Map Class Configuration Mode ..............................................................107
Map List Configuration Mode ................................................................107
Parent Group Configuration Mode .........................................................107
Policy List Configuration Mode .............................................................108
Policy List Parent Group Configuration Mode ........................................108
Policy Parameter Configuration Mode ...................................................109
PPPoE Service Name Table Configuration Mode ...................................109
Profile Configuration Mode ...................................................................110
QoS Interface Set Configuration Mode ..................................................110
QoS Interface Superset Configuration Mode ..........................................110
QoS Parameter Definition Configuration Mode .....................................111
QoS Profile Configuration Mode ............................................................111
QoS Shared Shaper Control Configuration ............................................112
Queue Profile Configuration Mode ........................................................112
RADIUS Configuration Mode .................................................................113
RADIUS Relay Configuration Mode .......................................................113
Rate Limit Profile Configuration Mode ..................................................114
Redundancy Configuration Mode ..........................................................115
Remote Neighbor Configuration Mode ..................................................115
Route Map Configuration Mode ............................................................116
Router Configuration Mode ...................................................................116
RSVP Configuration Mode .....................................................................117
RTR Configuration Mode .......................................................................117
Scheduler Profile Configuration Mode ...................................................118
Service Session Profile Configuration Mode ..........................................118
SNMP Event Manager Configuration Mode ...........................................119
Statistics Profile Configuration Mode ....................................................119
Subinterface Configuration Mode ..........................................................119
Subscriber Policy Configuration Mode ..................................................120
Traffic Class Configuration Mode ..........................................................120
xii Table of Contents
JUNOSe 11.1.x System Basics Configuration Guide
Traffic Class Group Configuration Mode ................................................121
Tunnel Group Configuration Mode ........................................................121
Tunnel Group Tunnel Configuration Mode ............................................121
Tunnel Profile Configuration Mode .......................................................122
Tunnel Server Configuration Mode ........................................................122
VRF Configuration Mode .......................................................................123
VR Group Configuration Mode ..............................................................123
Chapter 3 Installing JUNOSe Software 125
Overview .....................................................................................................125
Identifying the Software Release File ....................................................126
Platform Considerations ..............................................................................127
Installing Software When a Firewall Exists ..................................................127
Task 1: Obtain the Required Information ..............................................127
Task 2: Divert Network Traffic to Another Router .................................128
Task 3: Access Privileged Exec Mode ....................................................128
Task 4: Configure IP on an Interface .....................................................128
Task 5: Copy the Release Files to the Network Host ..............................129
Task 6: Configure Access to the Network Host ......................................129
Task 7: Enable the FTP Server on the Router ........................................130
Task 8: Identify the Files to Transfer .....................................................130
Task 9: Transfer Files to the User Space ................................................131
Task 10: Install Files on the System Space ............................................131
Task 11: Save the Current Configuration ...............................................131
Task 12: Reboot the System .................................................................131
Installing Software When a Firewall Does Not Exist ....................................132
Installing Software in Normal Operational Mode ...................................132
Task 1: Obtain the Required Information .......................................133
Task 2: Divert Network Traffic to Another Router ...........................133
Task 3: Access Privileged Exec Mode .............................................133
Task 4: Configure IP on an Interface ..............................................133
Task 5: Configure Access to the Network Host ...............................134
Task 6: Copy the Release Files to the Network Host .......................135
Task 7: Copy the Software Release File to the Router .....................135
Task 8: Save the Current Configuration ..........................................136
Task 9: Reboot the System .............................................................136
Installing Software in Boot Mode ..........................................................137
Task 1: Obtain the Required Information .......................................137
Task 2: Divert Network Traffic to Another System ..........................137
Task 3: Access the Boot Mode ........................................................137
Task 4: Assign an IP Address ..........................................................138
Task 5: Configure Access to the Network Host ...............................138
Task 6: Resetting the SRP Module ..................................................138
Task 7: Copy the Release Files to the Network Host .......................138
Task 8: Copy the Software Release File to the Router .....................139
Task 9: Reboot the System .............................................................139
Copying Release Files from One Router to Another .....................................140
Upgrading Systems That Are Operating with Two SRP Modules ..................140
Table of Contents xiii
Table of Contents
Upgrading from Release 5.1.1 or Lower-Numbered Releases ......................142
Upgrading Software Remotely Through Telnet or FTP ..........................143
Upgrading Software from an NVS Card .................................................143
Upgrading a System That Contains One SRP Module .....................143
Upgrading a System That Contains Two SRP Modules ....................144
Downgrading JUNOSe Software ...................................................................144
Chapter 4 Configuring SNMP 147
Overview .....................................................................................................147
Terminology .........................................................................................148
SNMP Features Supported ....................................................................149
SNMP Client ..........................................................................................149
SNMP Server .........................................................................................150
SNMP MIBs ...........................................................................................150
Standard SNMP MIBs ......................................................................150
Juniper Networks E Series Enterprise MIBs .....................................150
Accessing Supported SNMP MIBs ...................................................150
SNMP Versions .....................................................................................150
Security Features ..................................................................................151
Management Features ..........................................................................152
Virtual Routers ......................................................................................153
Creating SNMP Proxy .....................................................................153
Disabling and Reenabling SNMP Proxy ..........................................154
Communicating with the SNMP Engine ................................................154
SNMP Attributes ....................................................................................155
SNMP Operations ..................................................................................155
SNMP PDU Types ..................................................................................156
Platform Considerations ..............................................................................156
References ..................................................................................................157
Before You Configure SNMP ........................................................................157
SNMP Configuration Tasks ..........................................................................158
Enabling SNMP .....................................................................................159
Configuring SNMP v1/v2c Community ..................................................159
Community Name ..........................................................................159
Privilege Levels ...............................................................................159
IP Access List ..................................................................................160
Configuring SNMPv3 Users ...................................................................160
Configuring SNMP Dynamic Groups and Views .....................................160
Setting Server Parameters .....................................................................161
Configuring SNMP Packet Size ..............................................................162
Configuring Memory Warning ..............................................................162
Configuring Encoding Method ...............................................................162
Managing Interface Sublayers ...............................................................163
Compressing Interfaces ..................................................................163
Controlling Interface Numbering ....................................................165
Monitoring Interface Tables ............................................................166
Configuring Traps ........................................................................................167
IP Hosts ................................................................................................167
Trap Categories .....................................................................................168
xiv Table of Contents
JUNOSe 11.1.x System Basics Configuration Guide
Trap Severity Levels ..............................................................................169
Specifying an Egress Point for SNMP Traps ...........................................174
Configuring Trap Queues ......................................................................174
Configuring Trap Notification Logs ........................................................175
Recovering Lost Traps ...........................................................................176
Configuring the SNMP Server Event Manager ..............................................177
Event MIB Purpose ...............................................................................177
Event MIB Structure ..............................................................................178
Trigger Table ..................................................................................178
Objects Table .................................................................................179
Event Table ....................................................................................179
Configuration Tasks ..............................................................................179
Defining a Boolean Test ..................................................................182
Defining an Existence Test .............................................................182
Defining a Threshold Test ...............................................................183
Monitoring Events .................................................................................189
Collecting Bulk Statistics ..............................................................................195
Interface Strings ....................................................................................196
Understanding Counter Discontinuity ...................................................198
Configuring Collectors and Receivers ....................................................199
Deleting All Bulkstats Configurations ....................................................204
Monitoring Collection Statistics .............................................................204
Understanding Schemas .......................................................................215
If-Stats Schema Objects ..................................................................215
IGMP Schema Objects ....................................................................217
Policy Schema Objects ...................................................................217
QoS Schema Objects ......................................................................218
Configuring Schemas ............................................................................220
Mapping Bulkstats Output to MIB Flies and CLI Configurations for Bulk
Statistics Schema ............................................................................223
Monitoring Schema Statistics ................................................................235
Configuring Interface Numbering Mode ................................................236
Using the Bulk Statistics Formatter ..............................................................237
Setting Remote Filenames ....................................................................237
Guidelines ......................................................................................238
Specifying End of Line Format ..............................................................238
Managing Virtual Routers ............................................................................238
Monitoring SNMP ........................................................................................239
Establishing a Baseline ..........................................................................239
Viewing SNMP Status ............................................................................240
Output Filtering ....................................................................................249
Chapter 5 Managing the System 251
Overview .....................................................................................................252
Platform Considerations ..............................................................................252
Naming the System .....................................................................................252
Configuring the Switch Fabric Bandwidth ....................................................253
Configuring Timing .....................................................................................253
Monitoring Timing ................................................................................255
Table of Contents xv
Table of Contents
Using the CLI ...............................................................................................255
Managing vty Lines .....................................................................................258
Configuring vty Lines ............................................................................259
Monitoring vty Lines .............................................................................260
Clearing Lines ..............................................................................................261
Monitoring the Current Configuration ..........................................................261
Defining the Configuration Output Format ............................................262
Customizing the Configuration Output ..................................................266
Detecting Corrupt File Configurations ...................................................271
Automatically Recovering Corrupt Configuration Files ..........................272
Configuring the System Automatically .........................................................276
Saving the Current Configuration ................................................................277
Using the Desktop Tool for Viewing Uncompressed Text Configuration ......280
Installation Prerequisites for the Desktop Tool ......................................280
Requirements for Microsoft Windows Systems ..............................280
Requirements for Sun Solaris Systems ...........................................280
Requirements for Linux Systems ....................................................281
Usage Notes for the Perl Script ..............................................................281
Customizing the User Interface ...................................................................281
Setting the Console Speed .....................................................................282
Configuring the Display Terminal .........................................................282
Specifying the Character Set .................................................................283
Configuring Login Conditions ................................................................284
Setting Time Limits for User Login ........................................................284
Setting Time Limits for User Input ........................................................285
Configuring CLI Messages .....................................................................285
Monitoring the Console Settings ...........................................................287
Sending Messages .......................................................................................288
Managing Memory ......................................................................................290
Managing Files ............................................................................................290
Managing the User Space from a Network Host ....................................292
File Commands and FTP Servers ..........................................................293
Renaming Files .....................................................................................293
Deleting Files ........................................................................................294
Monitoring Files ....................................................................................296
Viewing Files .........................................................................................299
Transferring Files ........................................................................................300
References ............................................................................................301
Copying and Redirecting Files ...............................................................301
Using the copy Command .....................................................................302
copy Command Examples ....................................................................307
Using TFTP to Transfer Files .................................................................309
Configuring the FTP Server ...................................................................309
Features .........................................................................................309
FTP Passive Mode ..........................................................................309
Configuring Authentication .............................................................310
Configuration Tasks ........................................................................310
Configuration Example ...................................................................310
Monitoring the FTP Server ....................................................................312
Copying Partial Releases .......................................................................313
xvi Table of Contents
JUNOSe 11.1.x System Basics Configuration Guide
Configuring the NFS Client ..........................................................................316
References ............................................................................................316
Prerequisites .........................................................................................316
Configuration Tasks ..............................................................................316
Monitoring the NFS Client .....................................................................317
Using a Loopback Interface .........................................................................318
Using the Telnet Client ................................................................................318
Configuring DNS ..........................................................................................319
References ............................................................................................320
Assigning Name Servers .......................................................................320
Using One Name Resolver for Multiple Virtual Routers .........................322
Monitoring DNS ....................................................................................322
Troubleshooting the System ........................................................................323
Creating Core Dump Files .....................................................................323
Boot Mode ......................................................................................323
Global Configuration Mode .............................................................324
Managing Core Dump Files ...................................................................326
Enabling and Disabling the Core Dump Monitor .............................327
Specifying the Core Dump Monitor Interval ....................................328
Viewing Core Dump Monitor Status ................................................328
Accessing the Core Dump File ..............................................................329
Capturing and Writing Core Dumps ......................................................330
Understanding the Core Dump File .......................................................331
Tracking IP Prefix Reachability .............................................................332
Gathering Information for Customer Support ........................................333
Managing and Monitoring Resources ...........................................................335
Enabling and Disabling the Resource Threshold Monitor ......................335
Viewing Resource Threshold Information .............................................335
Monitoring the System ................................................................................337
Chapter 6 Managing Modules 355
Overview .....................................................................................................355
Platform Considerations ..............................................................................356
ERX7xx Models, ERX14xx Models, and the ERX310 Broadband Services
Router ............................................................................................356
Line Modules and I/O Modules .......................................................356
SRP Modules ..................................................................................356
E120 and E320 Broadband Services Routers ........................................357
Line Modules and IOAs ...................................................................357
SRP Modules and SFMs ..................................................................359
Disabling and Reenabling Line Modules, SRP Modules, and SFMs ...............360
Disabling and Reenabling IOAs ...................................................................362
Removing an SRP Module ...........................................................................363
Replacing Line Modules on ERX Routers, the E120 Router, and the E320
Router ...................................................................................................364
Replacing a Line Module by Erasing the Slot Configuration ...................365
Replacing a Line Module Without Erasing the Slot Configuration ..........366
Replacing IOAs on the E120 Router and the E320 Router ...........................368
Replacing SRP Modules and SFMs .........................................................368
Table of Contents xvii
Table of Contents
Software Compatibility ................................................................................372
Line Modules ........................................................................................372
I/O Modules and IOAs ...........................................................................372
Configuring Performance Rate of Line Modules on ERX7xx Models and the
ERX1410 Router ...................................................................................373
Choosing a Combination of Line Modules .............................................373
Slot Groups .....................................................................................373
SRP Modules Bandwidth .................................................................374
Line Modules Bandwidth and Switch Usage ....................................374
Allowed Combinations for Line Rate Performance .........................375
Specifying the Type of Performance .....................................................376
Monitoring Bandwidth Oversubscription ...............................................377
Troubleshooting Bandwidth Oversubscription ......................................378
Managing Flash Cards on SRP Modules .......................................................378
Flash Features .......................................................................................378
Flash Features on the E120 Router and the E320 Router ......................379
Installing and Removing Flash Cards ....................................................380
Synchronizing Flash Cards ....................................................................381
Synchronizing Flash Cards of Different Capacities ..........................383
Disabling Autosynchronization .......................................................383
Validating and Recovering Redundant SRP File Integrity ......................384
Reformatting the Primary Flash Card ....................................................387
Copying the Image on the Primary SRP Module ....................................388
Scanning Flash Cards ............................................................................389
Monitoring Flash Cards .........................................................................391
Updating the Router with JUNOSe Hotfix Files ............................................392
Hotfix Compatibility and Dependency ..................................................393
Removing Hotfixes ...............................................................................394
Hotfixes and Backup Settings ................................................................394
Hotfixes and Standby SRP Modules ......................................................394
Hotfixes and Line Modules ....................................................................394
Monitoring Hotfixes ..............................................................................397
Example: Using and Monitoring Hotfixes .......................................400
Managing the Ethernet Port on the SRP Module ..........................................402
Monitoring Statistics .............................................................................403
Monitoring the Ethernet Configuration for the SRP Module ...................403
Enabling Warm Restart Diagnostics on Modules .........................................404
Enabling Warm Restart Diagnostics ......................................................405
Enabling Diagnostics .............................................................................406
Ignoring Diagnostic Test Failures .................................................................406
Monitoring Modules ....................................................................................408
Chapter 7 Passwords and Security 417
Overview .....................................................................................................417
Platform Considerations ..............................................................................417
Setting Basic Password Parameters .............................................................418
Creating Encrypted Passwords ..............................................................418
Creating Secrets ....................................................................................419
Encrypting Passwords in Configuration File ..........................................419
xviii Table of Contents
JUNOSe 11.1.x System Basics Configuration Guide
Commands and Guidelines ...................................................................419
Setting and Erasing Passwords ....................................................................421
Privilege Levels .....................................................................................421
Accessing Privilege Levels ..............................................................422
Setting Enable Passwords .....................................................................422
Erasing Enable Passwords ....................................................................422
Setting a Console Password ..................................................................424
Erasing the Console Password ..............................................................425
Monitoring Passwords ...........................................................................426
Vty Line Authentication and Authorization ..................................................427
Configuring Simple Authentication .......................................................427
Configuring AAA Authentication and AAA Authorization .......................430
Virtual Terminal Access Lists .......................................................................434
Secure System Administration with SSH .....................................................435
Transport ..............................................................................................436
User Authentication ..............................................................................437
Connection ...........................................................................................437
Key Management ..................................................................................437
User Key Management ...................................................................437
Host Key Management ...................................................................437
Performance .........................................................................................438
Security Concerns .................................................................................438
Before You Configure SSH ....................................................................439
SSH Configuration Tasks .......................................................................439
Configuring Encryption ..................................................................439
Configuring User Authentication .....................................................440
Configuring Message Authentication ..............................................442
Enabling and Disabling SSH ...........................................................443
Displaying SSH Status .....................................................................444
Terminating an SSH Session ...........................................................445
Restricting User Access ...............................................................................446
Restricting Access to Commands with RADIUS .....................................446
Per-User Enable Authentication ............................................................447
Restricting Access to Virtual Routers .....................................................447
VSA Configuration Examples ..........................................................448
Commands Available to Users ........................................................449
Denial of Service (DoS) Protection ...............................................................450
Suspicious Control Flow Detection ........................................................451
Suspicious Control Flow Monitoring ......................................................452
Configurable Options ............................................................................453
Display Options ....................................................................................453
Traps and Logs .....................................................................................453
Suspicious Control Flow Commands .....................................................454
Monitoring Suspicious Control Flow ......................................................456
Denial-of-Service Protection Groups ......................................................461
Group Parameters .................................................................................461
Attaching Groups ..................................................................................462
Protocol Mapping ..................................................................................462
DoS Protection Group Configuration Example ......................................465
DoS Protection Group Commands ........................................................466
Monitoring DoS Protection Groups ........................................................472
Table of Contents xix
Table of Contents
Chapter 8 Writing CLI Macros 473
Platform Considerations ..............................................................................473
Writing Macros ............................................................................................473
Environment Commands ......................................................................475
Capturing Output of Commands ...........................................................476
Adding Regular Expression Matching to Macros ...................................476
Extracting a Substring Based on Regular Expression Matching .............477
Adding Global Variables for Availability to the onError Macro ...............477
Unique IDs for Macros ..........................................................................478
Accurate Use of Error Status When Accessed Ourside of onError
Macro .............................................................................................478
Variables ...............................................................................................479
Literals ..................................................................................................479
Operators ..............................................................................................480
Assignment ....................................................................................482
Increment and Decrement .............................................................482
String Operations ...........................................................................483
Extraction Operations ....................................................................483
Arithmetic Operations ..........................................................................484
Relational Operations .....................................................................484
Logical Operations ..........................................................................484
Miscellaneous Operations ...............................................................485
Conditional Execution ...........................................................................486
If Constructs ...................................................................................486
While Constructs ............................................................................487
Passing Parameters in Macros ..............................................................488
Generating Macro Output ......................................................................489
Invoking Other Macros .........................................................................489
Detecting and Recording Macro Errors ........................................................491
Detectable Macro Errors .......................................................................491
Logging Macro Results ..........................................................................492
Viewing Macro Errors ...........................................................................492
onError Macro Examples ......................................................................493
Detecting Invalid Command Formats .............................................493
Detecting Invalid Commands .........................................................494
Detecting Missing Macros ...............................................................495
Running Macros ..........................................................................................496
Scheduling Macros ......................................................................................499
Practical Examples ......................................................................................502
Configuring Frame Relay ......................................................................502
Configuring ATM Interfaces ..................................................................506
Chapter 9 Booting the System 509
Platform Considerations ..............................................................................509
Configuring Your System for Booting ..........................................................509
Booting the GE-2 Line Module ...............................................................510
xx Table of Contents
JUNOSe 11.1.x System Basics Configuration Guide
/