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
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.
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
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.
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)).
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.
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
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
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,
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 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
This chapter describes planning steps that will make it easier to configure the physical
interfaces, logical interfaces, and routing protocols for the Juniper Networks E Series
Broadband Services Routers in:
•
A new network that you are creating and implementing
•
An existing network that you are expanding
This chapter contains the following sections:
•
Platform Considerations on page 3
•
Edge Applications Overview on page 4
•
Layered Approach on page 6
•
Line Modules, I/O Modules, and IOAs on page 7
•
Interfaces on page 8
•
General Configuration Tasks on page 9
•
Configuring Virtual Routers on page 9
•
Configuring IPSec on page 10
•
Configuring Physical Layer Interfaces on page 10
•
Configuring Data Link-Layer Interfaces on page 16
•
Configuring IP Tunnels, Shared IP Interfaces, and Subscriber Interfaces on page 22
•
Configuring Routing Protocols on page 23
•
Configuring VRRP on page 24
•
Configuring Routing Policy on page 24
•
Configuring QoS on page 24
•
Configuring Policy Management on page 25
•
Configuring Remote Access on page 25
Platform Considerations
For information about the modules supported on E Series routers:
See the ERX Module Guide for modulessupported on ERX7xx models, ERX14xxmodels,
and the Juniper Networks ERX310 Broadband Services Router.
•
See the E120 and E320 Module Guide for modules supported on the Juniper Networks
E120 and E320 Broadband Services Routers.
Interface Specifiers
The configuration task examples in this chapter use the slot/port format to specify an
interface. However, the interface specifier format that you use depends on the router
that you are using.
For ERX7xx models, ERX14xx models, and ERX310 router, use the slot/port format. For
example,the following commandspecifies an ATM interface on slot0, port 1 of an ERX7xx
model, ERX14xx model, or ERX310 router.
host1(config)#interface atm 0/1
For E120 and E320 routers, use the slot/adapter/port format, which includes an identifier
for the bay in which the I/O adapter (IOA) resides. In the software, adapter 0 identifies
the right IOA bay (E120 router) and the upper IOA bay (E320 router); adapter 1 identifies
the left IOA bay (E120 router) and the lower IOA bay (E320 router). For example, the
following command specifies an ATM interface on slot 5, adapter 0, port 0 of an E320
router.
host1(config)#interface atm 5/0/0
For more information about supported interface types and specifiers on E Series routers,
see Interface Types and Specifiers in JunosE Command Reference Guide.
Edge Applications Overview
The E Series router can be used for a number of edge aggregation applications. Two of
the most common are:
•
Private line aggregation
•
xDSL session termination
Private Line Aggregation
A majorapplication ofthe E Series routeris for private lineaggregation—theconsolidation
of multiple high-speed access lines into one access point. See Figure 1 on page 5.
In this application, the service provider can use a single router to offer high-speed access
(FT1/FE1 throughT3/E3) to thousands of subscribers. The individual subscriberlines can
be multiplexed into T3 lines by the service provider and fed into the router. (The router
can also accept unchannelized T3 or E3 connections from high-speed users and
channelized E1 connections directly into the unit.) Once the traffic is received, the router
then handles all IP packet processing, including the assignment of QoS and routing
policies. The packets are then routed into the backbone network.
Figure 1: Private Line Aggregation with the E Series Router
The router supports a number of access and uplink methods; the most common pairings
are listed in Table 3 on page 5.
Chapter 1: Planning Your Network
Table 3: Common Access/Uplink Pairings
Frame Relay
ATM
xDSL Session Termination
The router supports Broadband Remote Access Server (B-RAS) applications, as shown
in Figure 2 on page 6. In this application, the router handles the aggregated output from
the digital subscriber line access multiplexers (DSLAMs). Directly connected to the
subscriber premises, theDSLAMs handle the coppertermination and aggregate the traffic
into a higher-speed uplink. The output from the DSLAM is fed into the router through a
DS3 or OC3 link.
PPP session termination and authentication checking through PAP or CHAP
•
Coordination with DHCP servers and local IP pools to assign IP addresses
•
Connection to RADIUS servers or use of domain names to associate subscribers with
user profile information
•
Support for RADIUS accounting to gather detailed billing information
•
Application of the user profile to the user traffic flow, which could include QoS, VPN,
and routing profiles
The output of the router is typically a high-speed link, such as OC3/STM1 to feed a core
backbone router. Virtual routers can also be used to keep the traffic logically separate
and to direct packets to different destinations. As shown in Figure 2 on page 6, the
packets can be directed to a CLEC, ISP, corporate VPN, or the Internet.
A large number of xDSL protocols are supported, including:
•
IP/PPP/ATM
•
IP/PPP/Ethernet/ATM
•
IP/bridged Ethernet/ATM
See JunosE Broadband Access Configuration Guide, for information about configuring
B-RAS.
Layered Approach
The JunosE CLI enables you to configure your network based on the hierarchy of the OSI
model. Therefore, the JunosE configuration guides use a bottom-upapproach to describe
the configuration process. Figure 3 on page 7 shows the relationship of layers, protocols,
and interfaces to the configuration process. Software functions are layered on top of
physical (copper oroptical) interfaces. Therouter supportsa number of accessprotocols
(PPP/POS, Frame Relay, ATM) that allow service providers to offer a number of access
methods and line speeds to their subscribers. The router is optimized to handle IP
connections regardless of the access protocol used. The router also supports a number
of protocols that are specific to the B-RAS application. These are shown in Figure 3 on
page 7, and include IP/PPP/ATM and IP/PPP/Ethernet/ATM.
Figure 3: Network Configuration Using a Bottom-Up Approach
Layer 2 (data link) defines how the data is packaged and sent to an IP data connection
point in layer 3 (IP interfaces). In layer 3, you define the global attributes for IP services
that serve as a platform from which you add routing information.
Line Modules, I/O Modules, and IOAs
A range of line modules, I/O modules, andI/O adapters (IOAs) are available for therouter.
On the ERX14xx models, ERX7xx models, and the ERX310 router, most line modules pair
with a corresponding I/O module. On the E120 and E320 routers, a single line module
pairs with all available IOAs.
I/O modules and IOAs provide the input and output connections from the network to the
router. Line modules connect to their corresponding I/O modules or IOAs through a
passive midplane. A line module receives packets through its I/O module or IOA and
processes those packets. The router then routes the packets out to the network through
the designated I/O module or IOA.
Each line module, I/O module,and IOA has a labelon itsfaceplate. In thisdocumentation,
these modules areidentified by that label. For example, the high-density Gigabit Ethernet
line module has two ports, and is called the GE-HDE line module. Its corresponding I/O
modules are the GE-HDE I/O module and the GE-2 SFP I/O module.
When we refer to a related set of line modules, I/O modules, or IOAs, the generic
information from the modulelabels is used in this documentation. Forexample, theterm
“ OCx/STMx line modules” refers to both the OCx/STMx ATM and the OCx/STMx POS
line modules. Similarly, the term “ GE I/O modules” refers to both the GE Multimode I/O
module and the GE Single Mode I/O module.
For a complete list of the line modules and I/O modules available for ERX14xx models,
ERX7xx models, and the ERX310 router, see ERX Module Guide, Table 1, ModuleCombinations. For more information aboutline modulesand IOAsavailablewith the E120
and E320 routers, see E120 and E320 Module Guide, Table 1, Modules and IOAs.
For more information about managing these modules, see “Managing Modules” on
page 341.
Interfaces
The term interfaces is used in avery specificway inthe JunosE CLI and thisdocumentation.
Interfaces are both physical and logical channels on the router that define how data is
transmitted to and received from lower layers in the protocol stack. Conceptually, you
configure an interface as part of the physical layer, layer 1.
For example, you can configure the physical and logical characteristics of T3 and T1 lines
coming directly fromthe customerpremises or from a central officeswitch and OC3 lines
going out to the core of your network infrastructure. These physical and logical
characteristics define an interface.
Subinterfaces
Interfacelayering mustalways be configured in order from the lowest layer to thehighest
layer. For example, if you have already configured IP to run over ATM and you want to
reconfigure the interface to run IP over PPP over ATM, you must first remove the IP
interface, apply PPP, and then reapply IP.
A subinterface is a mechanism that allows a single physical interface to support multiple
logical interfaces or networks. Several logical interfaces or networks can be associated
with a single physical interface. Configuring multiple virtual interfaces, or subinterfaces,
on a single physical interface allows greater flexibility and connectivity on the network.
Protocols such as Frame Relay and ATM require that you create one or more virtual
circuits over which your data traffic is transmitted to higher layers in the protocol stack.
The router requires that you define a subinterface on top of a physical interface as a
platform for a virtual circuit, such as a permanent virtual circuit (PVC).
Once you have defined the underlying characteristics of an interface, use the interface
command to:
1. Assign an interface type, such as POS or ATM.
2. Assign the associated interface specifier to the interface, such as the slot/port or
Each interface type has an interface specifier associated with it. The interface specifier
identifies the physical location of the interface on the router, such as the chassis slot and
port number, and logical interface information, such as a T1 channel on a channelized
T3 interface.
For detailed information about interface types and specifiers and for specific syntax for
the interface command, see the Interface Types and Specifiers in JunosE CommandReference Guide.
General Configuration Tasks
The configuration process for E Series routers involves the following general tasks:
1. Determine IP-addressing information and information about the physical and logical
characteristics of the various interfaces that you want to configure.
2. Determine information about the link-layer protocols.
3. Determine how to organize virtual routers on the router.
4. Determine how IPSec will be used to provide security.
Chapter 1: Planning Your Network
5. Determine routing information that defines all or part of the network.
6. Create the virtual routers.
7. Configure the interfaces and subinterfaces (such as channelized T3, OCx/STMx, and
HDLC data channels) over which the higher-layer protocols run.
8. Configure the data link-layer protocols, such as Frame Relay, PPP, and ATM, that run
over these physical interfaces.
9. Configure the general IP information from which the other routing protocols will
operate.
10. Configure IP tunnels, shared interfaces, and subscriber interfaces.
11. Configure IPSec.
12. Configure the routing protocols that will run on the router, such as IP multicasting
protocols, OSPF, IS-IS, RIP, BGP-4, and MPLS.
13. Configure the Virtual Router Redundancy Protocol (VRRP) on IP/Ethernet interfaces.
14. Configure QoS and policy management.
15. Configure the router for remote access.
16. Use the appropriate show commands to display network activity on each of the
interfaces that you have configured. Do this to verify that they are operating as you
expect and to help improve the management of your network.
Configuring Virtual Routers
Multiple distinct virtual routers are supported within a single router, which allows service
providers to configure multiple, separate, secure routers within a single chassis. These
routers are identified as virtual routers (VRs). Applications for this function include the
creation of individual routers dedicatedto wholesale customers, corporate virtual private
network (VPN) users, or a specific traffic type.
The router implements the virtual routers by maintaining a separate instance of each
data structure for each virtual router and allowing each protocol to be enabled on a
case-by-case basis. Virtual routers provide full support for all supported routing protocols
(unicast, multicast, and MPLS).
For information about configuring virtual routers, see “Configuring Virtual Routers” on
page 525.
Configuring IPSec
IPSec provides security to IP flows through the use of authentication and encryption.
•
Authentication verifies that data is not altered during transmission and ensures that
users are communicating with the individual or organization that they believe they are
communicating with.
•
Encryption makes data confidential by making it unreadable to everyone except the
sender and intended recipient.
IPSec comprises two encapsulating protocols:
•
Encapsulating Security Payload (ESP) provides confidentiality and authentication
functions to every data packet.
•
Authentication header (AH) provides authentication to every data packet.
For information about configuring IPSec, see JunosE IP Services Configuration Guide.
Configuring Physical Layer Interfaces
The router supports a number of line rates; some of these are listed per line module
below.
•
COCX-F3 line module supports unchannelized E3.
•
Channelized OCx/STMx (cOCx/STMx) line module supports DS3 channelized to DS1,
fractional DS1, or the DS0 level; unchannelized DS3; E1/T1 channelized to fractional
DS1; unframed E1.
•
CT3 12-F0 line modules support DS3 channelized to DS1, fractional DS1, or the DS0
level. CT3 12-F0 line modules also support unchannelized T3.
•
IPSec Service module provides tunnel service for secure tunnels.
•
GE/FE line module supports Gigabit Ethernet and Fast Ethernet.
•
GE-2 line module and GE-HDE line module support Gigabit Ethernet.
•
OCx/STMx ATM line module supports OC3/STM1 ATM, OC12/STM4 ATM, and
unchannelized T3.
•
OCx/STMx POS line module supports OC3/STM1 POS and OC12/STM4 POS.
Service Module (SM) provides tunnel service for IP tunnels and LNS termination.
A variety of protocols are supported over these interfaces, including IP/Frame Relay,
IP/ATM, IP/PPP, as well as the protocols to enable B-RAS services. The router’s DSx and
E1/E3 implementations supporttermination, statistics gathering, alarm surveillance,and
performance monitoring. These links can be used for either network ingress or network
egress.
Figure 4: E Series Router Support for Fractional T1/E1 Through T3/E3 Interfaces
Line Module Features
As shown in Figure 4 on page 11, the router can support fractional, full, and channelized
interfaces.
NOTE: See ERX Hardware Guide, Chapter 4, Installing Modules and E120 and
E320 Hardware Guide, Chapter 4, Installing Modules, for a discussion of slot
groups and modules. See the ERX Module Guide and the E120 and E320Module Guide, for a discussion of the combination of line modules allowed
in E Series routers.
The following features are supported by the system line modules:
•
Three different clocking options: internal timing, loop timing, and chassis timing
•
DS3 framing type—Both M23 framing and C-bit parity
•
DS1 framing type—Both D4 framing mode and ESF framing mode
•
DS3 loopback—For line, payload, diagnostic, and DS1 loopbacks
•
DS1 loopback—For line, payload, and diagnostic loopbacks
DS1 line coding type—Both AMI line encoding and B8ZS line encoding
•
Unique IP interface support—For each PPP or Frame Relay PVC interface
Configurable HDLC Parameters
The following HDLC parameters are configurable:
•
Mapping of DS0 timeslots for T1/FT1 DS0 mapping
•
Setting the speed of the DS0 to Nx56 or Nx64
•
HDLC CRC checking (enable/disable)
•
HDLC CRC algorithm (CRC16 or CRC32)
•
Channel data inversion (enable/disable)
•
Maximum receive unit (MRU)
•
Maximum transmit unit (MTU)
Statistics are also gathered per line module.
Configuring Channelized T3 Interfaces
There12 T3 controllers available on each CT3 12-F0 line module. When you configure
these T3 controllers, you are actually configuring T3 (DS3) lines. Each T3 controller has,
by definition, 28 T1 controllers representing T1 (DS1) lines.
Use the T3 and T1 commands described in JunosE Physical Layer Configuration Guide, to:
•
Specify the line characteristics, such as framing format and clock source, for T3s and
associated T1s.
•
Assign full and fractional T1 channels (DS0) to a virtual channel.
Figure 5 on page 12 shows sample parameters for a channelized T3 interface
configuration.
Figure 5: Channelized T3 Interface Configuration Parameters
The following sample command sequence configures a serial interface for a
CT3 12-F0 module. See JunosE Physical Layer Configuration Guide, for details.
host1(config)#controller t3 0/1
host1(config-controll)#framing c-bit
host1(config-controll)#clock source line
host1(config-controll)#cablelength 220
host1(config-controll)#t1 2/1
host1(config-controll)#t1 2 framing esf
host1(config-controll)#t1 2 lineCoding b8zs
host1(config-controll)#t1 2/1 timeslots 2/1 1,3-8,10-12
host1(config-controll)#interface serial 0/1:2/1
Configuring T3 and E3 Interfaces
The COCX-F3 line module supports the following wide area network (WAN) protocol
encapsulations:
•
IP over PPP
•
IP over ATM
Chapter 1: Planning Your Network
•
IP over PPP over ATM
•
IP over PPP over PPPoE over ATM
•
IP over Frame Relay
Figure 6 on page 13 shows sample configuration parameters for a T3 interface
configuration.
Figure 6: T3 Interface Configuration Parameters
The following sample command sequence configures a serial interface for a T3 module.
See JunosE Physical Layer Configuration Guide, for details.
host1(config)#controller t3 0/1
host1(config-controll)#framing m23
host1(config-controll)#cablelength 300
host1(config-controll)#ds3-scramble
host1(config-controll)#exit
host1(config)#interface serial 0/1
host1(config-if)#invert data
host1(config-if)#mtu 1600
host1(config-if)#mru 1600
The router supports IP/ATM, IP/Frame Relay, and IP/PPP over SONET on the OCx/STMx
interfaces. OC48 interfaces support IP/Frame Relay and IP/PPP over SONET, but do not
support ATM operation. This interface support allows service providers toaccept incoming
optical connections or connect the router to the backbone network through optical
connections. The router’s SONETimplementationsupports termination, statistic gathering,
and alarm surveillance at the section, line, and path layers of a SONET interface.
Figure 7: SONET Interfaces
The following sample command sequence configures POS for an OC3 interface. See
JunosE Link Layer Configuration Guide, for details.
The cOCx/STMx modules are generally used for circuit aggregration on the router. These
line modules supportthe followingcontrollersover OC3/STM1 or OC12/STM4, depending
on the I/O module used with the line module:
•
Fractional T1/E1 over SONET/SDH virtual tributaries or T3
•
Unframed E1
•
Unchannelized DS3
Figure 8 on page 15 shows theconfigurationparameters for a sample T1 over DS3interface
configuration.
Figure 8: Parameters for T1 over DS3 Interface Configuration
The following sample command sequence configures T1 over DS3 on a channelized
SONET interface as described in Figure 8 on page 15. See JunosE Physical LayerConfiguration Guide, for details.
Ethernet interfaces support IP, PPPoE, multinetting (multiple IP addresses), and VLANs
(subinterfaces). Ethernet modules use the Address Resolution Protocol (ARP) to obtain
MAC addresses for outgoing Ethernet frames and support quality of service (QoS)
classification. See JunosEPhysical Layer ConfigurationGuide, fora description of limitations
of individual modules.
Use the Fast Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet commands described
in JunosE Physical Layer Configuration Guide to:
•
Configure with IP only, with PPPoE only, with both IP and PPPoE, and with or without
VLANs.
•
Specify the line speed and duplex mode.
•
Specify the MTU.
The following sample command sequence configures an IP interface on a VLAN on an
Ethernet interface:
IPSecService modules supportinterfacesassociatedwith secureIP tunnels.Youconfigure
and delete these interfaces statically;however, the router assigns tunnels to the interfaces
dynamically. This mechanism means that you must manage the interfaces for tunnels
manually; however, the router will add and remove tunnels when required.
For information about configuring secure IP interfaces, see JunosE IP Services Configuration
Guide . For information about managing IPSec service interfaces, see JunosE Physical
Layer Configuration Guide.
Configuring Tunnel Service Interfaces
You can configure both dynamic tunnels associated with L2TP and static IP tunnels on
your E Series router; however, you must first install a Service Module (SM). Dynamic
tunnels, which are not associated with a particular interface, are described in JunosEBroadband Access Configuration Guide. Static tunnels, in which the tunnel is assigned to
a particular interfaceand specified in slot/port format, are described inJunosE IP ServicesConfiguration Guide.
For information about managing thesetypes oftunnels on the router, see JunosEPhysicalLayer Configuration Guide.
Configuring Data Link-Layer Interfaces
You can configure the following data link-layer interfaces:
•
IP/Frame Relay or multilink Frame Relay
•
IP/ATM
•
IP/PPP or multilink PPP
•
IP/Cisco HDLC
•
IP/Ethernet
Configuring IP/Frame Relay
The router supports IP over Frame Relay PVCs on the CT3 12-F0 and OCx/STMx POS
modules. The interface presented to the incoming traffic is an IP/Frame Relay router. In
addition, IP/PPP/Frame Relayis supportedon the T3 and E3 modules. With thisinterface,
the service provider can:
Receive traffic from subscribers that have CPE equipment, such as routers with Frame
Relay interfaces
•
Take in traffic from other network devices that use Frame Relay, such as DSLAMs and
Frame Relay switches
•
Use Frame Relay as an uplink technology on an unchannelized T3 or E3 link
Figure 9 on page 17 shows the structure of the Frame Relay interface. Each Frame Relay
major interface sits on top of an HDLC interface. The Frame Relay implementation is
divided into two levels: a major interface and one or more subinterfaces. This division
allows a single physical interface to support multiple logical interfaces. Multiple IP
interfaces can also be assigned to each Frame Relay major interface through the
subinterfaces.
Figure 9: Frame Relay Interface Design
Figure 10 on page 17 shows the structure of the Frame Relay protocols with the physical
layer as the foundation. For Frame Relay, the physical layer can be channelized E1, E3,
channelized T1, T3, ora fractional service, assupported by the different line module ports.
The HDLC layer is on top of the physical layer and can support flexible assignment of
physical resources.
For example, an HDLC channel can support one DS0, a fractional T1, or an entire T1. The
major Frame Relay interface sits on top of the HDLC resource, and the subinterfaces sit
on top of the major interface. The Frame Relay subinterfaces connect to the IP interface
layer.
Figure 10: Structure of Frame Relay Protocols
The router supports Frame Relay LMI (local management interface) to provide the
operator with configuration and status information relating to the Frame Relay VCs in
operation. LMI specifies a polling mechanism to receive incremental and full-status
updates from the network. The router can represent either side of the User-to-Network
Interface (UNI) and supports unidirectional LMI. Bidirectional support for the
Network-to-Network Interface (NNI) is also supported.
The router supports IP over ATM PVCs on ATM line modules. This support allows service
providers to receive traffic from subscribers who have CPE equipment, such as routers
with ATM interfaces, to take in traffic from other network devices that use ATM, such as
DSLAMs, and to connect to service providers with ATM backbone structures.
Figure 12 on page 18 shows an IP/ATM access connection.
Figure 12: E Series Router IP/ATM Access Connection
Figure 13 on page 19 shows the structure of the ATM interface. For ATM, this can be
SONET, DS3, or E3 as supported by the different line modules. The major ATM interface
sits on top of the SONET/DS3/E3 resource, and the subinterfaces sit on top of the major
interface. The ATM subinterfaces connect to the IP interface layer.
Figure 13: Structure of the ATM Interface Design
Figure 14 on page 19shows thestructure of the ATM protocols. The physicallayer(SONET
and/or DSx/Ex) is the foundation and provider of layer 1 framing service. The ATM layer
is on top and provides cell, circuit, and OAM services. The AAL5 layer provides a
frame-oriented interface to the ATM layer. The integrated local management interface
(ILMI) provides local management across the UNI.
Figure 14: Structure of ATM Protocol
Figure 15 on page 19 shows sample configuration parameters for a typical ATM interface
configuration.
The following sample command sequence configures an ATM interface on port 0 of the
line module in slot 1. See JunosE Link Layer Configuration Guide, for information about
how to configure an ATM interface.
The router supports IP/PPP on the channelized T3, E1, and T3/E3 interfaces and
IP/PPP/SONET onthe OC3/STM1 and OC12/STM4interfaces. This support allows service
providers to accept traffic from subscribers who have CPE equipment, such as routers
with PPP interfaces, and to transmit traffic in PPP format to other network devices.
Figure 16 on page 20 shows that the router supports the incoming IP/PPP traffic from
the CPE. This traffic can then be routed to the uplink(s) attached to the router or to other
CPEs that are attached to the router.
Figure 16: IP/PPP Connections from the CPE on an E Series Router
As shown in Figure 17 on page 20, the PPP protocol can exist directly on top of the HDLC
layer or on top of a layer 2 Frame Relay or ATM interface. In either case, IP rides on top
of PPP, providing support for IP/PPP/ATM, IP/PPP/HDLC, and IP/PPP/Frame Relay.
Both SONET and DSx/Ex interfaces are supported at the physical layer.
Figure 17: Structure of PPP
Figure 18 on page 21 showssample configurationparametersfor PPPon a serial interface.
The following sample command sequence configures PPP on a serial interface. See
JunosE Link Layer Configuration Guide, for details.
host1(config)#interface serial 3/0:2/5
host1(config-if)#encapsulation ppp
host1(config-if)#ip address 192.32.22.10 255.255.255.0
The E Series router supports IP over Cisco HDLC on many types of serial interfaces. Cisco
HDLCmonitors linestatus ona serial interface by exchangingkeepalive request messages
with peer network devices. It also allows routers to discover IP addresses of neighbors
by exchanging Serial Link Address Resolution Protocol (SLARP) address request and
address response messages with peer network devices.
The E Series router Cisco HDLC is compatible with the Cisco Systems Cisco-HDLC
protocol, the default protocol for all Cisco serial interfaces.
The router supports the following framing features:
•
HDLC for data-link framing
•
18,000-byte information field size
Figure 19: Structure of Cisco HDLC Protocol
As shown in Figure 19 on page 21, the Cisco HDLC protocol can exist directly on top of
the HDLC layer or ATM or SONET interface. Both SONET and DSx/Ex interfaces are
supported at the physical layer.
The following example configures HDLC on a serial interface. See JunosE Link LayerConfiguration Guide , for details.
host1(config)#interface serial 3/1:2/1
host1(config-if)#encapsulation hdlc
host1(config-if)#ip address 192.32.10.2 255.255.255.0
Figure 20 on page 22 shows an IP/Ethernet interface stack.
Figure 20: Example of IP over Ethernet Stacking Configuration Steps
Configuring IP Tunnels, Shared IP Interfaces, and Subscriber Interfaces
The E Series router supports IP tunnels, shared IP interfaces, and subscriber interfaces.
Configuring IP Tunnels
IP tunnels provide a way of transporting datagrams between routers separated by
networks that do not support all the protocols that those routers support. To configure
an IP tunnel, you mustfirst configure a tunnel-service interface. (See “Configuring Tunnel
Service Interfaces” on page 16.)
When you have configured a tunnel-service interface, treat it in the same way as any IP
interface on the router. For example, you can configure static IP routes or enable routing
protocols on the tunnel interface. The IP configurations that you apply to the tunnels
control how traffic travels through the network.
Configuring Shared Interfaces and Subscriber Interfaces
A shared IP interface is one of a group of IP interfaces that use the same layer 2 interface.
Shared IP interfaces are unidirectional—they can transmit but not receive traffic. A
subscriber interface is an extension of a shared IP interface. Subscriber interfaces are
bidirectional—they can both receive and transmit traffic.
You can create multiple shared IP interfaces over the same layer 2 logical interface—for
example, atm 5/3.101—enabling more than one IP interface to share the same logical
resources. This capability is useful, for example, when data received in one VRF needs
to be forwardedout aninterfacein another VRF, such as for BGP/MPLS VPNs(see JunosEBGP and MPLS Configuration Guide, for more information).You canconfigure one or more
shared IP interfaces. Data sent over shared interfaces uses the same layer 2 interface.
You can configure shared interfaces as you would other IP interfaces. Each shared
interface has its own statistics.
The ESeries router supports subscriber interfaces on a particulartype of layer 2 interface,
Ethernet. In the absence of VLANS, Ethernet does not have a demultiplexing layer. A
subscriber interfaceadds a demultiplexing layer for anEthernet interface that is configured
without VLANs. Using subscriber interfaces, the router can demultiplex or separate the
traffic associated with different subscribers. You can use subscriber interfaces toseparate
traffic for cable modem subscribers withdifferent levels of service and to separate traffic
for VPNs.
For information aboutconfiguring shared interfaces and subscriber interfaces, see JunosEIP, IPv6, and IGP Configuration Guide.
Configuring Routing Protocols
After you have set up the interfaces on which IP traffic flows, you can configure the
following routing protocols:
•
IP multicast protocols—IP multicasting allows a device to send packets to a group of
hosts, rather than to a list of individual hosts. Routers use multicast routing algorithms
to determine the best route and transmit datagrams throughout the network. See
JunosE Multicast Routing Configuration Guide, for information about how to configure
IP multicast.
Chapter 1: Planning Your Network
•
Open Shortest Path First (OSPF)—This interior gateway protocol (IGP) advertises the
states of network links within an autonomous system. An autonomous system is a set
of routers having a single routing policy running undera singletechnical administration.
See JunosE IP, IPv6, and IGP Configuration Guide , for information about howto configure
OSPF.
•
Integrated Intermediate System–to–Intermediate System (integrated IS-IS)—The
integrated IS-IS protocol provides routing for IP networks and is an extension of the
original IS-IS protocol, which provides routing for pure Open Systems Interconnection
(OSI) environments. This link-state protocol builds a complete and consistent picture
of a network’s topology by sharing link-state information across network devices in a
routing domain. A routing domain is a collection of contiguous networks that provide
full connectivity to all end systems located within them. See JunosE IP, IPv6, and IGPConfiguration Guide , for information about how to configure IS-IS.
•
Border Gateway Protocol (BGP)—BGP, an external gateway protocol (EGP), provides
loop-free interdomain routing between autonomous systems. See JunosE BGP andMPLS Configuration Guide , for information about how to configure BGP.
•
Routing Information Protocol (RIP)—RIP is an IGP created for use in small,
homogeneous networks. RIP uses distance-vectorrouting torouteinformation through
IP networks. See JunosE IP, IPv6, and IGP Configuration Guide , for information about
how to configure RIP.
•
Multiprotocol Label Switching (MPLS)—MPLS is a hybrid protocol that integrates
network layer routing with label switching to provide a layer 3 network with traffic
management capability. Traffic engineering enables more effective use of network
resources while maintaining high bandwidth and stability. MPLS enables service
providers to offer their customers the best service available given the provider’s
resources. There are two fundamental aspects to MPLS:
•
Label distribution—The set of actions MPLS performs to establish and maintain a
label-switched path (LSP), also known as an MPLS tunnel.
Data mapping—The process of getting data packets onto an established LSP.
See JunosE BGP and MPLS Configuration Guide , for information about configuring
MPLS.
In addition, if you want to make configuration adjustments to IP, see JunosE IP, IPv6, andIGP Configuration Guide, for details.
Configuring VRRP
The Virtual RouterRedundancy Protocol (VRRP) can prevent lossof networkconnectivity
to end hosts if the static default IP gateway fails. By implementing VRRP, you can
designate a number of routers as “ backup” routers in case the default “ master” router
fails. You can configure VRRP on IP/Ethernet interfaces.
For information about configuring VRRP, see JunosE Services Availability ConfigurationGuide.
Configuring Routing Policy
Configuring QoS
The router supports a number of features that allow the service provider to control the
exchange of routing information between virtual routers in the router, between routers
in the network, and between protocols within a router:
•
Accesslists—Provide filters thatcan be applied to route maps or distribution lists. They
allow policies to be created, such as a policy to prevent forwarding of specified routes
between the BGP-4 and IS-IS routing tables.
•
Route maps—Modify the characteristics of a route (generally to set its metric or to
specify additional attributes) as it is transmitted or accepted by a router. Route maps
can use access lists to identify the set of routes to modify.
•
Distribution lists—Control the routing information that is accepted or transmitted to
peer routers. Distribution lists always use access lists to identify routes for distribution.
For example, distribution lists could use access lists to specify routes to advertise.
•
Redistribute routes—Allow routes to be shared between routing protocols and routing
domains. For example, a subset of BGP-4 routes could be leaked into the IS-IS routing
tables.
See JunosE IP Services Configuration Guide, for details.
QoS is a suite of features that configure queuing and scheduling on the forwarding path
of your E Series router. QoS provides a level of predictability and control beyond the
best-effort service that is the E Series router’s default data delivery service. Packets not
assigned to a specific traffic class are carried in the best-effort traffic class. Best-effort
service provides packet transmission with no guarantee of results.
The major QoS features that the E Series router provides are:
For information about configuringQoS, see JunosE Quality of Service Configuration Guide.
Configuring Policy Management
Policy management allows network service providers to implement packet forwarding
and routing specifically tailored to their customer’s requirements. Using policy
management, customers can implement policies that selectively cause packets to take
different paths. Policy management provides several types of services:
•
Policy routing—Predefines packet flow to a destination port or IP address
•
QoS classification and marking—Marks packets of a packet flow.
•
Packet forwarding—Allows forwarding of a packet flow.
•
Packet filtering—Drops packets of a packet flow.
Chapter 1: Planning Your Network
•
Packet logging—Logs packets of a packet flow.
•
Ratelimiting—Enforces line ratesbelow thephysical line rate ofthe port andsets limits
on packet flows.
•
RADIUS policy support—Allows you to attached a preconfigured policy to an interface
through RADIUS.
See JunosE Policy Management Configuration Guide, for details about configuring policy
management.
Configuring Remote Access
The E Series router supports the following remote access functionality:
•
Broadband Remote Access Server (B-RAS)—This application runs on the router and
is responsible for:
•
Aggregating the output from DSLAMs
•
Providing user PPP sessions and PPP session termination
•
Enforcing QoS policies
•
Routing traffic into an ISP’s backbone network
See JunosE Broadband Access Configuration Guide.
•
Layer 2 Tunneling Protocol (L2TP)—A method of encapsulating layer 2 packets, such
as PPP, for transmission across a network. In an L2TP relationship, an L2TP access
concentrator (LAC) forms a client-server relationship with a destination, known as an
L2TP network server (LNS), on a remote network.
You can configure the router to act as an LAC in PPP pass-through mode. The router
creates tunnels dynamically by using AAA authentication parameters and transmits
L2TP packets to the LNS through IP/UDP. See JunosE Broadband Access ConfigurationGuide.
•
Non-PPP equal access—A method of allowing remote access in which the router
provides IP addresses to subscribers’ computers through Dynamic Host Configuration
Protocol (DHCP). This method is particularly convenient for broadband (cable and
DSL) environments or environments that use bridged Ethernet over ATM, because
network operators can support one central system rather than an individual PPPoE
client on each subscriber’s computer. See JunosE Broadband Access ConfigurationGuide.
This chapter provides information about the E Series router command-line interface
(CLI).
This chapter contains the following sections:
•
Overview on page 27
•
Platform Considerations on page 45
•
Accessing the CLI on page 45
•
CLI Command Privileges on page 49
•
Using Help on page 60
•
Using Command-Line Editing on page 63
•
Accessing Command Modes on page 66
Overview
Command Modes
The CLI is the interface to the software that you use whenever you access the
router—whether from the console or through a remote network connection. The CLI,
which automatically starts after the router finishes booting, provides commands that
you use to perform various tasks, including configuring theJunosE Software and monitoring
and troubleshooting the software, network connectivity, and the router hardware.
Managing your router using the CLI gives you access to thousands of commands. The
router’s CLI uses an industry de facto standard look and feel, which might be familiar to
you. If you are new to this CLI, it is helpful to read this entire chapter, where you can learn
about CLI shortcuts and other helpful information.
Command modes set a context for the CLI. Each command in the CLI is available from
one or more command modes. From some command modes you can only view router
information; from others you can perform configuration tasks. For example, you can
access User Exec mode to display information and then access Global Configuration
mode to set parameters or enable a particular feature. By recognizing the command-line
prompt, you can identify where you are in the CLI at any given point. When you can easily
identify where you are, it is easy to get to where you want to be.
Figure 21 on page 28illustrates the command mode architecture. Only some of the many
configuration modes are shown.
Command modes are discussed in greater detail in the section “Accessing Command
Modes” on page 66 . See the JunosE Command ReferenceGuide to find related command
modes for any command.
Figure 21: Command Mode Architecture
Command-Line Prompts
Within the CLI, thecommand-line promptidentifies boththe hostname and the command
mode. The hostname is the name of your router; the command mode indicates your
CLI commands are made up of two primary elements: keywords and parameters.
Keywords
Every command requires at least one keyword; however, a command can contain other
optional keywords. The keyword(s) must be typed into the CLI accurately for it to be
recognized. These are examples of keywords:
Chapter 2: Command-Line Interface
reload
run
router
map-class
map-list
clear ip isis redistribution
show vlan subinterface
qos-port-type-profile
no rtr reset
radius calling-station-delimiter
You can abbreviate keywords; however, you must enter enough initial characters to
unambiguously identify the command. For example, if the keyword you want to specify
is map-class and you enter only map-, an error appears. The error indicates that one or
more possible keywords begin with map-, thus making your entry ambiguous.
Parameters
Parameters are often required elements of a command; however, for some commands,
parameters are not required. A parameter is most often a value that you specify after
the keyword. There are different types of parameters, such as strings, integers, or IP
addresses.
The CLI indicates the type of parameter that you must enter. When you see a range of
numbers or uppercase letters, it indicates that you must specify a value. For example:
Sample Parameter User InputCLI Parameter Placeholder or Range
By combining keywords and parameters in the correct sequence, youcan begin using the
CLI to configure and monitor your router. For example, you could specify the command
hostname to change the name of your router by entering a keyword and a parameter.
You need to type only the portion of the keyword that makes it unambiguous, such as
hostn. Here, the value of the parameter, which is the name you assign to the host, is a
string of up to 64 characters.
Sample Parameter User InputCLI Parameter Placeholder or Range
windtunnelWORD
5600<0–4294967295>
192.56.32.2A.B.C.D
Using CLI Commands
When you enter this command, the new hostname appears in the prompt.
Another example is a command that requires you to enter a number from within a given
range. The command ip http port requires that a value be entered for the portNumber
parameter. The value of this parameteris a number in therange of 0–65535. Forexample,
you could enter:
juniper(config)#ip http port 56789
NOTE: You can find detailed information about command syntax, with
parameter values defined, in the JunosE Command Reference Guide.
This section introduces some useful shortcuts and command-related highlights. These
include:
Remember, you can abbreviatekeywordsto save time ifyou enterat least enoughleading
characters to uniquely identify the desired keyword. For example:
host1(config-if)#ip re
This abbreviation is for the command ip redirects. The string ip re is enough information
for the CLI toidentify thecommand youare using. See the section “Using Help” on page 60
for additional information.
The ? Key
Use the ? key at any time to see all the choices you can enter next. For example:
host1(config)#router ?
bgpConfigure the Border-Gateway Protocol (BGP)
isisConfigure ISO IS-IS
ospfConfigure the Open Shortest Path First protocol (OSPF)
ripConfigure the Routing Information Protocol
host1(config)#router
When you enter the ? character, all available choices are displayed. The router again
displays the command you typed. You then have to type in only the choice you want and
press Enter.
A <cr> in the list of choices means that you can press Enter to execute the command.
For example:
NOTE: If the list of options extends beyond one screen, the last line on your
screen displays the --More-- prompt. If you want to use the ? character as
part of a string, such as a hostname or a regular expression, you must enter
the following key sequence: Ctrl+v+?. Otherwise, the CLI considers the ? to
be a request for assistance in completing the command.
Backspace or Delete
Use either key to delete the character immediately preceding the cursor.
Enter
Always use this key to execute the command you entered.
Use this key to complete the current keyword. For example, if you entered a portion of a
lengthy command, such as
host1(config)#class
and press Tab, the full name of the command appears:
host1(config)#classifier-list
Arrow Keys
Some terminals have arrow (or cursor) keys on their keyboards. These arrow keys are
very useful; however, to use them you must have an ANSI/VT100 emulating terminal.
The UpArrow and Down Arrow keys display command history.The Up Arrow key displays
the previous command; you can also use Ctrl+p. The Down Arrow key displays the next
command; you can also use Ctrl+n.
The Left Arrow and Right Arrow keys allow the user to move the cursor back and forth
in the command line.
The no Version
With very few exceptions, every system configuration command has a no version, which
you can use to negate a command (or aportion of it as specified by an optional keyword)
or to restore its default setting. When you use a command without the keyword no, you
can reenable a disabled feature or override a default setting.
You have the option of using the default keyword whenever the no keyword is also a
choice; simply enter the keyword default instead of no.
In most cases, when you execute the default version of a command, it produces the
exact results as the no version. There are some commands for which the default version
yields a different result from the no version.
Commands for which the default behavior differs from the no behavior are clearly
identified inthe JunosECommand Reference Guide. Unless otherwise specified,therefore,
the default command is identical to the no command and is neither documented nor
discussed.
The syntax for each no command is described in the JunosE Command Reference Guide.
The few system configuration commands that do not have a no version are indicated in
the individual command description.
Because show commands are for the purpose of monitoring your configurations, they
do not have no versions. Most User Exec and Privileged Exec mode commands do not
have no versions.
The CLI can act onno versionsof commandswhen youhave entered sufficient information
to distinguish the command syntactically; the CLI ignores all subsequent input on that
line.
To be compatible with some non-Juniper Networks implementations, the no versions of
commands will accept the same options as the affirmative version of the commands.
The CLI ignores the optional input if it has no effect on the command behavior. If using
the option changes the behavior of the no version, the individual command entry in this
guide describes the difference in behavior.
run and do Commands
You can run Exec mode commands while in any configuration mode by preceding the
command with the keyword run or do. For example:
host1(config)#run show users
NOTE: The run and do commands are interchangeable.
By using the run or do command in this way, you can obtain showcommand information
without leaving configuration mode.
The only commands that cannot be preceded by run or do are the configure command
and those commands that are already available in all modes, such as sleep or exit.
Example 1host1(config)#run show config | begin interface
snmp-server community private view everything rw
snmp-server contact Mary
snmp-server
!
! End of generated configuration script.
host 1(config)#int fa 0/0
Example 2host1(config-if)#do dir
Please wait...
unshared in
file size size date (UTC) use
You have access to a variety of show commands that display router and protocol
information. You can filter the output of a show command by specifying | (the UNIX pipe
symbol), one of thefollowingkeywords,and either a case-sensitive text string or a regular
expression.
•
begin—Displays output beginning with the first line that contains the text string or
regular expression
•
include—Displays output lines that contain the text string or regular expression and
excludes lines that do not contain the text string or regular expression
•
exclude—Displays output lines that donot contain the text string or regular expression
and excludes lines that do contain the text string or regular expression
For a list of regular expressions, see “Regular Expressions” on page 39. You can press
Ctrl+c to interrupt the show command output.
NOTE: The system does not recognize beginning spaces of the text string.
For example, if you enter include IP as the text string on which to filter, the
system ignores the space and displays lines that include words such as RIP.
Example 1In the following example, the output display starts with the first line that contains the
string inter. The system omits all the preceding lines of the output from the display
because none of them contains the string inter.
no shutdown
no atm atm1483 shutdown
no atm atm1483 snmp trap link-status
ip route 0.0.0.0 0.0.0.0 10.13.5.1
ip debounce-time 0
ip source-route
Redirection of show Command Output
You can redirect the output of show commands to network files or local files (in NVS
memory) using the redirection operators described in Table 4 on page 38 .
Table 4: Redirect Operators
UseRedirect Operator
>
>>
&>
&>>
Redirects output to the specified file, overwriting the file if it
already exists, creating the file if it does not.
Appends output to the end of the specified file, creating the
file if it does not exist.
Redirects output to the specified file, overwriting the file if it
already exists, and displays the output on the screen. The
redirection is synchronized with the screen display; for
example, if a --More-- prompt appears, the redirection halts
until you take further action.
Appends output to the end of the specified file and displays
the outputto the screen. The redirectionis synchronized with
the screendisplay; forexample, if a --More-- promptappears,
the redirection halts until you take further action.
For example, you can redirect the output of the show config command to a script file
and later run that script:
host1#show config > showconfig.scr
The following command writes the output to a text file, version.txt, on a remote router:
host1#show hardware > pc:/erxfiles/version.txt
The following command appends the output to version.txt:
host1#show hardware >> version.txt
Only one instance of a file can be open for file redirection. An error message is generated
if you attempt to redirect output to a file that is already open. You cannot redirect output
to a file that includes a local path in the filename.
You can use redirection with output filtering. The general syntax is:
The filtering is performed before redirection. In the following example, the cnfgfltr.txt file
will contain theoutput ofshow configinclude-defaults beginning with the first occurrence
of the string inter.
host1#show config include-defaults &> cnfgfltr.txt | begin inter
Regular Expressions
A regular expression uses special characters—often referred to as metacharacters—to
define a pattern that is compared with an input string. You can use regular expressions
to filter the output of show commands andto defineAS-path access listsand community
lists to more easily filter routes.
For examples of using regular expressions withAS-path access lists and community lists,
see JunosE IP Services Configuration Guide.
Metacharacters
Table 5 on page 39 describes the metacharacters supported for regular expression
pattern-matching.
Alternatively, when used as the first character within brackets—[^]—matches
any number except the ones specified within the brackets.
Matches the end of the input string.$
Matches any single character, including white space..
Matches0 or more sequencesof the immediately previous character or pattern.*
Matches1 or more sequencesof theimmediatelyprevious character or pattern.+
Matches 0 or 1 sequence of the immediately previous character or pattern.?
Specifies patterns for multiple use when followed by one of the multiplier
metacharacters: asterisk *, plus sign +, or question mark ?
Matches any enclosed character; specifies a range of single characters.[ ]
Used within brackets to specify a range of AS or community numbers.– (hyphen)
Matches a ^, a $, a comma, a space, a {, or a }. Placedon either side of a string
to specify a literal and disallow substring matching. Numerals enclosed by
underscorescan be precededor followed by anyof thecharacters listed above.
Matches characters on either side of the metacharacter; logical OR.|
You can remove thespecial meaning of a metacharacter by preceding it with a backslash
(\). Sucha constructiondenotes that the metacharacteris not treated as a metacharacter
for that regular expression. It is simply a character or token with no special meaning, just
as a numeral has no special meaning. The backslash applies only to the character
immediately following it in the regular expression.
On the E Series router, you are likely to do this only for the parentheses characters,
( or ). BGP indicates a segment of an AS path that is of type AS-confed-set or
AS-confed-seq by enclosing that segment within parentheses.
The - -More- - Prompt
When command output continues beyond the available space on your monitor screen,
the system displays the --More-- prompt. If you press Enter, the system displays the next
line of output. If you press the Spacebar, the system displays the next screen of output.
You can begin filtering the output from the --More-- prompt, or change a filter that is
already in effect, by entering one of the following characters and a text string:
Displays all output lines that contain the text string+ (plus)
– (minus)
/ (forward
slash)
Displays all output lines that do not contain the text
string
Displays all output lines starting at the first line that
contains the text string
Initial spaces are not ignored when you filter at the --More-- prompt.
Example 1In thefollowing example, the output isdisplayed until the screen is filled andthe --More--
prompt appears. By entering the filter /interf, the user forces the system to filter out all
output lines until the first occurrence of the string interf. The system displays that line
and all following lines of the output.
host1#show config include-defaults
! Configuration script being generated on FRI AUG 04 2006 12:48:48 UTC
! Juniper Edge Routing Switch ERX-700
! Version: 7.3.0 beta-1.6 [BuildId 5672] (July 11, 2006 11:58)
! Copyright (c) 1999-2006 Juniper Networks, Inc. All rights reserved.
!
boot config running-configuration
boot system erx_7-3-0.rel
no boot backup
no boot subsystem
no boot backup subsystem
boot revert-tolerance 3 1800
no boot force-backup
!
aaa domain-map jacksonville
virtual-router miami
strip-domain disable
!
aaa domain-map jak
virtual-router default
(Suppressing output until 'interf' is found, press ^C to end...)
interface null 0
interface ip 0/0
arp timeout 21600
!
interface ip 2/0
arp timeout 21600
!
interface ip s10
arp timeout 21600
!
interface atm 2/0
no shutdown
atm sonet stm-1
loopback line
atm uni-version 3.0
atm oam loopback-location 0xFFFFFFFF
--More--
Example 2In thefollowing example, the output isdisplayed until the screen is filled andthe --More--
prompt appears. By entering the filter +ip, the user forces the system to filter out all lines
from the remainder of the output that do not contain the string ip. The system displays
only lines that contain the string ip.
host1#show config include-defaults
! Configuration script being generated on FRI AUG 04 2006 12:48:48 UTC
! Juniper Edge Routing Switch ERX-700
! Version: 7.3.0 beta-1.6 [BuildId 5672] (July 11, 2006 11:58)
! Copyright (c) 1999-2006 Juniper Networks, Inc. All rights reserved.
!
boot config running-configuration
boot system erx_7-3-0.rel
boot config running-configuration
boot system 3-3.1.rel
no boot backup
no boot subsystem
no boot backup subsystem
boot revert-tolerance 3 1800
no boot force-backup
!
aaa domain-map jacksonville
virtual-router miami
strip-domain disable
!
aaa domain-map jak
virtual-router default
strip-domain disable
!
aaa domain-map northeast
virtual-router default
--More-+ip
(Displaying only lines that include 'ip', press ^C to end...)
strip-domain disable
Example 3In thefollowing example, the output isdisplayed until the screen is filled andthe --More--
prompt appears. By entering the filter -!, the user forces the system to filter out all
comments from the remainder of the output; that is, output lines that contain the string
!. The system displays only lines that do not contain the string !.
host1#show config include-defaults
! Configuration script being generated on FRI AUG 04 2006 12:48:48 UTC
! Juniper Edge Routing Switch ERX-700
! Version: 7.3.0 beta-1.6 [BuildId 5672] (July 11, 2006 11:58)
! Copyright (c) 1999-2006 Juniper Networks, Inc. All rights reserved.
!
boot config running-configuration
boot system erx_7-3-0.rel
boot config running-configuration
boot system 3-3.1.rel
no boot backup
no boot subsystem
no boot backup subsystem
boot revert-tolerance 3 1800
no boot force-backup
!
aaa domain-map jacksonville
virtual-router miami
strip-domain disable
!
aaa domain-map jak
virtual-router default
strip-domain disable
!
aaa domain-map northeast
virtual-router default
--More--
-!
(Displaying only lines that exclude '!'. press ^C to end...)
strip-domain disable
• Acceptable responses to a prompt are not case sensitive.
• Use the no version to restore the default state, where pressing y or Enter alone
responds in the affirmative, and any other entry is accepted as a negative response.
• See confirmations explicit.
CLI Status Indicators
NOTE: The system’s CLI supports a powerful command-line editor,
enabling you to easily correct, edit, and recall previously entered
commands. For more information, see “Using Command-Line Editing”
on page 63.
For a description of the commands that you use to get around the CLI,
see “Managing the System” on page 239.
The E Series software includes two types of indicators to inform you of the status of your
CLI operation.
•
The dotservice indicator is used when your operation does not finish within 2 seconds.
The service displays the Please wait message and a dot every 5 seconds until the
operation is completed. The dot service is used for all CLI operations, except those
that use the more descriptive progress indicator.
•
The progress indicator is an animated representationof how much progress has been
made on a CLI operation that does not finish within the expected completion time.
This type of status indicator is supported for the file systemsynchronization application
and the file copy application.
The progress indicator displays a series of dots that represents the time required to
complete the operation. The dots are followed by the actual percentage of the total
that has been completed and by an oscillating asterisk that indicates ongoing activity.
As the application progresses, the dots are replaced with asterisks, starting at the left,
to represent how much of the operation is finished. The actual percentage is also
adjusted accordingly. When theoperation iscomplete,all dotsare replaced by asterisks,
and the message DONE replaces the numerical percentage.
The number of dots that appears and the percentage of completion represented by
each dot or asterisk are based on the terminal width. For example, if the terminal is set
to 80 characters, each of the 50 dots indicates 2 percent of the total time (2 percent
x 50characters= 100 percent). See“Managing theSystem”on page239 forinformation
about setting the terminal width.
The following examples show progress indicator output for a 50-character-wide
display.
The CLI has two levels of access: user and privileged.
User Level
User level allows you only to view a router’s status. This level restricts you to User Exec
mode.
Privileged Level
Privileged level allows you to view a router configuration, change a configuration, and
run debugging commands. You need a password to access this level. This level gives you
full CLI privileges. Passwords are covered in more detail in “Managing the System” on
page 239.
Initialization Sequence
Each line module in a router is initialized independently. As a result, the CLI on the SRP
module can become available before the line modules have completed initialization.
Commands relating toa linemodule canfail ifthe modulehas notcompletedinitialization.
The show version command can be used to display line module status. Do not enter
commands for a line module until its state is online.
Platform Considerations
The CLI is supported on all E Series routers.
For information about the modules supported on E Series routers:
•
See the ERX Module Guide for modulessupported on ERX7xx models, ERX14xxmodels,
and the ERX310 Broadband Services Router.
•
See the E120 and E320 Module Guide for modules supported on the E120 and E320
Broadband Services Routers.
Accessing the CLI
This section describes logging in to and exiting from the router.
Logging In
The system supports a local console session and up to 30 virtual terminal (vty) sessions
simultaneously. A virtual terminal session can be a Telnet session, Secure Shell Server
(SSH) protocol session, or File Transfer Protocol (FTP) server session.
NOTE: The vty session factory default is 5. Use the line command to configure
up to a maximum of 30 vtys. The configured vtys are shared among all types
of connections; for example, if you configure 7 vtys, then no more than a total
of 7 SSH plus FTP plus Telnetsessions can simultaneously exist on the router.
To access the system through a local console, attach a terminal to the system console
port. To access the system through Telnet, Telnet client software must be installed on
your host system. To access the system through SSH, SSH version 2.0 client software
must be installed on your host system. To access the system through FTP, FTP client
software must be installed on your host system.
You can configure Telnet to validate login requests. See “Vty Line Authentication and
Authorization”on page413 in “Passwordsand Security”on page 403, for more information.
Once Telnet is running on your host system, type in the E Series router name or its IP
address and press Enter. To use a name, your network must have a name server.
For example, for Microsoft Windows NT enter:
or
You are connected to your E Series router when the following prompt appears:
To connect through SSH, refer to your SSH client documentation.
Privileged-Level Access
You access the CLI Privileged Exec commands using the enable command.
Defining CLI Levels of Privilege
The CLI has the ability to map any command to one of 16 levels of command privilege
(0 to 15). When you access thePrivilegedExec mode, you have access to thosecommands
that map to your access level or below. In other words, if you access the Privileged Exec
mode at access level 10 (the default), you have access to all commands with an access
level setting of 10 or lower.
telnet 192.168.1.13
telnet westford2
Logging in.
host1>
NOTE: At this point, you have access only to User Exec commands.
In general, command privileges fall within one of the following levels:
•
0—Allows you to execute the help, enable, disable, and exit commands
•
1—Allows you to execute commands in User Exec mode plus commands at level 0
5—Allows you to execute Privileged Exec show commands plus the commands at
levels 1 and 0
•
10—Allows you to execute all commands except support commands, which may be
provided by Juniper Networks Customer Service, or the privilege command to assign
privileges to commands
•
15—Allows you to execute support commands and assign privileges to commands
For information about how to set individual command levels, see “CLI Command
Privileges” on page 49.
Accessing the Privileged Exec Level
You can access the Privileged Exec commands using one of 16 levels of command
privilege. If you do not enter a privilege level and you are not accessing the router through
a RADIUS authentication account, the default CLI access level is 10.
To access the default Privileged Exec mode:
1. At the prompt, type enable and press Enter.
enable
host1>enable
Password:
NOTE: You will be prompted for a password only if your system has been
configured with one. Refer to the enable secret and enable password
Global Configuration commands described in “Managing the System” on
page 239.
2. Type your password and press Enter.
Password:******<Enter>
host1#
You can tell thatyou have access to Privileged Exec mode whenthe command prompt
changes from a > character to a # character.
• Use to move from User Exec to Privileged Exec mode.
• Privileged Exec mode allows you to access all other user interface modes. From here
you can configure, monitor, and manage all aspects of the router.
• You can access the Privileged Exec commands using one of 16 levels of command
privilege. If you do not enter a privilege level and you are not accessing the router
through a RADIUS authentication account, the default CLI access level is 10.
• Set apassword for this mode by using either theenable password or the enable secret
command in Global Configuration mode. This protects the system from any
unauthorized use.
• Once a password is set, anyone trying to use Privileged Exec mode will be asked to
• Example 1 (accessing Privileged Exec mode at the default level [10])
host1>enable
password:*******
host1#
• Example 2 (accessing Privileged Exec mode at the highest level [15]; a password is
not set for this example)
host1>enable 15
host1#
• There is no no version.
• See enable.
Moving from Privileged Exec to User Exec Mode
To move from the Privileged Exec mode to the User Exec mode, enter the disable
command. For example:
host1#disable
host1>
disable
NOTE: Using the exit command from either the Privileged Exec or User Exec
mode logs out of the CLI.
To move to a lower Privileged Exec mode, follow the disable command with an access
level value. For example:
host1#show privilege
Privilege level is 10
host1# disable 5
host1#show privilege
Privilege level is 5
Use to exit Privileged Exec mode and return to User Exec mode.•
• Use toshift toa lower Privilege Exec mode level withoutreturning to User Exec mode.
Specifying a privilege level after the disable command changes the Privileged Exec
mode to the lower level that you specify; you do not return to User Exec mode.
• Example 1
host1#disable
host1>
• Example 2
host1#show privilege
Privilege level is 10
host1#disable 5
host1#show privilege
You can log out ofthe CLI from either the User Execand Privileged Exec modes by entering
the exit command. For example:
host1>exit
logging out.
or
host1#exit
logging out.
CLI Command Privileges
Chapter 2: Command-Line Interface
Privilege level is 5
CLI Privilege Groups
You can change the privilege level of most commands by using the privilege command
that is available in Global Configuration mode. To use this command, you must enable
your CLI session to privilege level 15.
You can change privilege group accessibility. Privilege groups are no longer required to
be hierarchical. Youcan modify the privilegegroup membershipand define which privilege
group is a member of another privilege group.
A privilege group can contain commandsand other privilege groupsas members. Agroup
always has access to commands in its own privilege group and in privilege group 0. By
default, all groups have one member and a specific privilege group has access to all
commands in all privilege groups with a lower number than the specific group.
A privilege group is reachable from another privilege group when it is a member of that
privilege group, or a member of a group that is a member of that privilege group until a
search ofall member groups is exhausted. This can go through severalrecursions as long
as there are no circular dependencies.
Privilege group 0 is not a member of any group and you cannot assign member groups
to it, but it is reachable from every privilege group.
Numbers in the range 0—15 identify the 16 privilege groups. Each of the 16 groups can
have a name or an alias. The default internal name is the privilege group number. By
default, the groups are hierarchical and each group, with the exception of groups 1 and
0, contains one group. When a group contains a group, the contained group is a member
of the original group: privilege group p has one member, privilege group p-1. For example,
privilege group 15 has member 14, privilege group 14 has member 13, and privilege group
2 has member 1.
For hierarchical groups, groups 0 through 14 are reachablefrom privilege group15, groups
0 through 13 are reachable from privilege group 14, groups 0 to 4 are reachable from 5,
and so forth. Hierarchical groups can also contain other privilege groups. For example,
group A is reachable from group B if group A is a member of group B or is a member of a
group that is a member of group B. If group X has member Y and Y has member Z then
Z is reachable from X.
You cannot configure circular dependencies.For example, you cannot configurea circular
dependency where group X has member Y, Y has member Z, Z has member P, and X can
reach Z and P. Group X cannot have member Z or P because Z and P are reachable
through Y.
Examples Using Privilege Group Membership
In each of the following examples, privilege groups are at the default setting, where
privilege group 0 is reachable from every privilege group, 15 contains 14, 14 contains 13,
13 contains 12, and so forth. The commands in each example change the privilege group
settings from the default.
Example 1host1(config)#privilege-group membership clear 11
Example 6host1(config)#privilege-group alias 13 LI
host1(config)#privilege-group alias 10 dailyAdmin
host1(config)#privilege-group alias 7 weekendAdmin
host1(config)#privilege-group alias 6 dailyTroll
host1(config)#privilege-group alias 5 basicUser
host1(config)#privilege-group alias 0 minUser
host1(config)#privilege-group alias 15 superUser
In Example 6, a number or name can specify the seven privilege groups 0, 5, 6, 7, 10, 13,
and 15.
Example 7host1(config)#privilege-group membership clear dailyAdmin
Example 8 reverts one privilege group membership to its default setting. Prior to the
execution of this command, the following group memberships were in place:
Reverting privilege group 9 to its default gives it one member: privilege group 8. This
creates the circular dependency: 8 contains 12, 12 contains 11, 11 contains 10, 10 contains
9, and 9 contains 8.
reachablemembergroup
12,0128
0--9
9,0910
10,9,01011
11,10,9,01112
Example 9host1(config)#no privilege-group membership
In Example 9, privilege group membership reverts to the default setting. All privilege
groups revert to hierarchical settings: 15 contains 14, 14 contains 13, 13 contains 12, and
so forth. Privilege group 0 is reachable from every privilege group.
Example 10host1(config)#no privilege-group membership 7
In this example, one privilege group membership reverts to its default setting. Privilege
group 7 contains group 6.
Example 11host1(config)#no privilege-group alias
In Example 11, all alias settings are removed.
Example 12host1#show privilege group
privilege privilege directly all
group group reachable reachable
alias groups groups *
Example 12 shows privilege group overrides in effect.
Example 13host1#show privilege group 15 superUser
The following groups are directly reachable:
14
dailyAdmin
The following groups are reachable:
1
14
2
3
4
basicUser
dailyAdmin
dailyTroll
minUser
Chapter 2: Command-Line Interface
privilege
In Example 13, groups 14 and dailyAdmin are directly reachable and groups 1, 14, 2, 3, 4,
basicUser, dailyAdmin, dailyTroll, and minUser are reachable.
• Use to change the privilege level of any command within a specified mode.
• Use to give the privilege group name alias to the privilege group.
• Example
host1(config-if)#privilege-group alias
• Use the no version to remove the privilege group alias.
• See privilege-group alias.
privilege-group membership
• Use toadd themember groupto orremove the member group from the privilege group.
• Example
host1(config-if)#privilege-group membership
• Use the no version to restore one or all privilege groups to the default settings. When
all privilege groups are reset to the default settings, the privilege group membership is
hierarchical.
• See privilege-group membership.
privilege-group membership clear
• Use to clear a privilege group or all members from a privilege group.
• Example
host1(config-if)#privilege-group membership clear
• There is no no version.
• See privilege-group membership clear.
CLI Command Exceptions
Changing command privilege levels can be a powerful security tool. However, changing
the command privilege for some commands could render the CLI unusable and require
you to reboot the router.To eliminate this possibility, the CLI does not allow you to remap
the following commands:
•
disable
•
enable
•
exit
•
help
•
privilege
•
support
CLI Keyword Mapping
You cannot changethe privilegelevel of keywords that are separated from the command
string by a parameter in the command sequence. In other words, once the privilege
algorithm reaches a parameter, the privilege algorithm that maps the commands to the
desired privilege level stops and allows any keyword options that may follow in the
command sequence. The algorithm then waits for a carriage return before looking at the
next command sequence.
For example, you can change the command privilege level for the telnet command.
However, because the telnet command is immediately followed by a variable (that is, a
hostname or IP address) and not a keyword, you cannot change the privilege level for
any keywords that follow the command.
host1#telnet ?
HOSTNAME or A.B.C.D The ip address of the remote system
host1#telnet router2 ?
<0 - 65535> The port on which to send the request
bgp Border Gateway Protocol (179)
chargen Character generator (19)
cmd Remote commands (rcmd, 514)
Setting Privileges for Ambiguous Commands
The privilege commandallows you toset commandprivilege levels for parts ofcommands
that the CLI would normally consider ambiguous. In other words, you can set privilege
levels by specifying letters that represent only the beginning part of a command or group
of commands (even the first letter of a command or group of commands).
Chapter 2: Command-Line Interface
The following example sets the privilege level to12 for any Exec mode (user or privileged)
command that start with the letter “ t” :
host1(config)#privilege exec level 12 t
The list of affected commands includes telnet, terminal, test, and traceroute.
The following example changes all the above commands, with the exception of the
traceroute command, to level 15:
host1(config)#privilege exec level 15 te
The following example changes all commands thatstart withthe letters “ te” (for example,
telnet, terminal, and test) and any second keyword that starts with the letter “ i” and
follows a command that starts with the letters “ te” (for example, the keyword “ ip” in
the command test ip) to level 1:
host1(config)#privilege exec level 1 te i
When you enter an ambiguous command and an exact match of the command is found,
partial matches are ignored and are not modified.
For example,the traffic-class and traffic-class-group commands areavailablein Global
Configuration mode. If you issue the privilege configure level 5 traffic-class command,
an exact match is made to traffic-class, and traffic-class-group is not modified.
If you want to set the privilege level for both traffic-class and traffic-class-group and
you do not want the exact match to be made to traffic-class, issue a partial command
such as traffic-c. The privilege level of all commands that begin with traffic-cis modified.
Setting Privilege Levels for no or default Versions
The privilege command allows you to set command privilege levels for no and default
versions of commands. However, setting the privilege level for either the no or default
versions of a command does not set the privilege level of the affirmative version of the
command. This means that you can have the no or default version of a command at a
different privilege level than its affirmative version.
NOTE: You can set the no or default command to a separate privilege level
without specifying any other command to follow. This would force all
commands that have a no or defaultversion to function onlyfor that privilege
level and higher.
For example, if you issue the privilege exec level 10 no command, all no
versions in the Privileged Exec mode are available to users at level 10 and
higher.
Setting Privilege Levels for Multiple Commands
The allkeywordis a wildcard parameter that enablesyou toset privilege levels for multiple
commands rather than setting them individually.
Setting Privilege Levels for All Commands in a Mode
You can set the privilege level for all commands within a specified mode. This setting
includes all commands in modes that you can access from a specified mode.
If the command specified in the privilege command changes the configuration mode,
all commands in the configuration will also be set to the specified privilege level. For
more information about accessingmodes, see “Accessing Command Modes”on page 66.
For example, issuing the configure command in Privileged Exec mode changes the
configuration mode to Global Configuration. If you issue the privilege exec all level 5configure command, all commands in Global Configuration mode become accessible
to users who have CLI privileges at level 5 and higher. For more information about user
privilege levels, see “Privileged-Level Access” on page 46.
Setting Privilege Levels for a Group of Commands
You can set the privilege level for a group of commands by using the beginning keyword
in a command.
For example,if you issue the privilege configureall level5 snmp command, allcommands
in Global Configuration mode that begin with snmp become accessible to users who
have CLI privileges at level 5 and higher.
Using the Order of Precedence
The effectiveness of a privilege level that is set with the all keyword depends on its
precedence level in the CLI. A privilege level is considered to be in effect only if a privilege
level that is configured at a higher precedence level does not override it.
1. Privilege level set for allcommands withina mode, including modes that are accessed
from another mode; for example, Global Configuration mode
2. Privilege level set for all commands that begin with the same keyword; for example,
snmp commands
3. Privilege level set for individual commands; for example, snmp-server community
NOTE: This order of precedence does not apply to privilege levels that
are set without the all keyword.
In the following example, the privilege level of the snmp-server community command
is set to level 11, the privilege level for all commands that begin with snmp is set to level
10, and the privilege level for all commands in Global Configuration mode is set to level
5.
host1(config)#privilege configure level 11 snmp-server community
host1(config)#privilege configure all level 10 snmp
host1(config)#privilege exec all level 5 configure
The following show configuration output displays the privilege levels set above. The
privilege levels for the snmp-server community command and the snmp-server group
of commands are still present in the output. However, the privilege level of Global
Configuration mode takes precedence, and the privilege levels of the other commands
are rendered ineffective. Users can access all snmp commands at level 5 or higher.
host1#show config category management cli command-privileges
privilege configure level 11 snmp-server community
privilege configure all level 10 snmp-server
privilege exec all level 5 configure
Superseding Privilege Levels with the all Keyword
Issuing the all keyword supersedes privilege levels that were previously set without the
all keyword.
In the following example, the snmp-server-community command is set to level 7, and
the snmp keyword is set to level 6. The privilege level of the snmp keyword does not
override the snmp-server community setting, because both of these commands are set
without the all keyword.
All snmp commands are then changed to level 5 with the all keyword.
host1(config)#privilege configure all level 5 snmp
The show configuration output displays all snmp commands at level 5, superseding the
existing level 6 setting. The snmp-server community command is still present in the
show configuration output, but it is ineffective.
host1#show config category management cli command-privileges
privilege configure level 7 snmp-server community
privilege configure all level 5 snmp-server
Removing the all Keyword
Using theno version or reset version removes theall keywordand restores defaultprivilege
levels.
If the privilege setting of the mode or command for which you are restoring default
privilege levels takes precedence over any ineffective privilege settings, those settings
will automatically take effect according to the order of precedence (see “Using the Order
of Precedence” on page 56 ).
The difference between the no version and the reset version is that the reset version
removes the configuration from the show configuration output. This is useful when you
want to remove a configuration that has been overridden and rendered ineffective by a
privilege level that takes precedence.
Setting Default Line Privilege
The factory default privilege level for the console line and all vty lines is 1. However, you
can use the privilege level command in Line Configuration mode to set the default login
privilege for the console line or any number of vty lines.
To change the default privilege level:
1. Access line configuration mode on the router for the console.
host1(config)#line console 0
host1(config-line)#
or on one or more vty lines
host1(config)#line vty 0 12
host1(config-line)#
NOTE: The latter command configures vty lines 0 to 12.
2. Specify a starting privilege level for the line or lines.
host1(config-line)#privilege level 5
The default privilege level for the specified line (or lines) changes. The new values
take effect immediately for any new users. If using the console line, you must exit out
of the CLI and reestablish a connection before the default takes effect.
If you are validating through RADIUS or TACACS+ and the server specifies an enable
level, that enable level takes precedence over the line privilege level.
privilege level
• Use to change the default privilege level of the console line or one or more vty lines.
• Use the no or default version to restore the default privilege level for the command.
• See privilege level.
Viewing CLI Privilege Information
You can view CLI privilege information for yourself (the current user), all connected users
on the router, or for any modified CLI commands.
Viewing the Current User Privilege Level
Use the show privilege command to view your current privilege level.
show privilege
Chapter 2: Command-Line Interface
NOTE: You must access the CLI at privilege level 15 to view or use this
command.
• Use to view your current privilege level.
• Example
host1#show privilege
Privilege level is 10
• There is no no version.
• See show privilege.
Viewing Privilege Levels for All Connected Users
Use the show users detail command to view the privilege levels for all users currently
connected to the router. See “Monitoring the FTP Server” on page 298 for information
about the show users detail command.
Viewing Privilege Levels for Changed CLI Commands
Use the show configuration command to view the changed privilege levels for any
modified CLI commands. See “Saving the Current Configuration” on page 264 for
information about the show configuration command.
NOTE: The show configuration command output displays output specific
to the session access level. For example, if the session is enabled at level 5,
issuing the show configuration command displays only output for commands
at level 5 and below.
host1(config-if)#show privilege group superUser
The following groups are directly reachable:
14
dailyAdmin
The following groups are reachable:
1
14
2
3
4
basicUser
dailyAdmin
dailyTroll
minUser
• There is no no version.
• See show privilege group.
Using Help
? (Question Mark Key)
The system CLI providesa variety of useful context-sensitive help features. An important
thing to remember about using the help features is that the use of a space or the lack of
a space before the? gives different results. Table6 onpage 60describes the help system.
Table 6: Help Commands
DescriptionCommand
Lists all keywords applicable to the current command mode?
help
partial-keyword<Tab>
Commands listed in the left column of Table 6 on page 60 are further described with
examples in the following sections.
Displays a brief description of the help system
(available in all command modes)
Lists the keywords that begin with a certain character stringpartial-keyword?
Completes the partial keyword you entered, if you have provided an
unambiguous abbreviation
Lists the set of all valid next available choicescommand<Space>?
You can use the question mark (?) key whenever you need additional information. When
you enter ?, all available choices are displayed. The CLI then redisplays the command
you typed. The following examples show different ways you can use the ? key.
When you use ? on a line by itself or when it is preceded by one or more spaces, a list of
all next available choices is displayed.
aaa Configure authentication, authorization, and
accounting characteristics
access-list Configure an access list entry
arp Configure a static ARP entry
bandwidth Configure slot-group bandwidth control
banner Define a banner line
baseline Configure baseline operations
boot Configure boot time behavior
bulkstats Configure bulkstats parameters
classifier-list Configure a classifier list entry
clns Configure CLNS characteristics
clock Set the system's clock
confirmations Configure confirmation mode
controller Configure controller parameters
crypto Configure cryptographic parameters
default Set a command to its default(s)
disable-autosync Disable automatic synchronization of redundant
system controller file system
disable-switch-on-error Disable automatic switch to redundant system
controller upon software/hardware error
do Run an exec mode command (alias command run)
enable Configure security related options
end Exit Global Configuration mode
exception Configure core dump
exclude-subsystem Exclude copying a subsystem from the release
exit Exit from the current command mode
ftp-server Configure FTP Server characteristics
help Describe the interactive help system
host Add/modify an entry to the host table
hostname Set the host (system) name
interface Enter Interface Configuration mode
ip Configure IP characteristics
l2tp Configure L2TP parameters
license Configure licenses
line Enter Line Configuration mode
log Configure logging settings
macro Run a CLI macro
map-list Create an NBMA static map
memory Configure and administer memory operations
mpls Configure MPLS global parameters
no Negate a command or set its default(s)
ntp Configure the Network Time Protocol
policy-list Enter Policy Configuration mode
pppoe Configure PPPoE
profile Specify a profile
radius Configure RADIUS server
rate-limit-profile Enter rate limit profile configuration mode
redundancy Perform a redundancy configuration
route-map Configure a route map
router Configure a routing protocol
rtr Configure rtr parameters
run Run an exec mode command (alias command do)
service Configure system-level services
set Configure
sleep Make the Command Interface pause for a specified
duration
slot Configure and administer slot operation
snmp-server Configure SNMP parameters
sscc The SSC Client telnet
telnet telnet daemon configuration
timing Configure network timing
traffic-shape-profile Enter traffic shape profile configuration mode
virtual-router Specify a virtual router
Example 2host1(config)#ip ?
address-pool Configure address pool for PPP Broadband RAS
clients
as-path Configure a path filter for AS-Paths in BGP
bgp-community Format for BGP community
community-list Configure an entry in a community list
debounce-time Specify the minimum amount of time that an event
needs to be in same state before being reported
dhcp-local The DHCP Local Server protocol
dhcp-server DHCP Server for Proxy Client
domain-lookup Enable DNS lookup
domain-name Specify local Domain name
dvmrp configure dvmrp paramaters
dynamic-interface-prefix Specify name prefix for dynamic Ip shared
interfaces
explicit-path Configure an explicit path
extcommunity-list The extended community list
ftp Configure FTP characteristics
http Configure http server
local Local IP address assignment
multicast-routing Enable IP multicast forwarding
name-server Configure DNS server
pim Configure PIM Protocol
prefix-list Configure a prefix list entry
prefix-tree Configure a prefix tree entry
route Define a static IP route
router-id Configure the router-id to be used
rpf-route Define a static IP route for mcast RPF check
source-route Configure source-routing capabilities
ssh Configure SSH characteristics
ttl Configure the default value to be used by IP for
Time-To-Live
tunnel Configure tunnel parameter
vpn-id Configure the VPN ID associated with this router
vrf Specify a VRF
host1(config)#ip
Example 3host1(config)#ip community-list ?
<1 - 99> The community list
host1(config)#ip community-list
When you want to see a list of commands that begin with a particular set of characters,
type a question mark ( ? ) immediately after the last letter. Do not use a space between
the partial keyword and the ? key. For example:
NOTE: If you want to use the ? character as part of a string, such as a
hostname or a regular expression, you must enter the following key sequence:
Ctrl+v+?. Otherwise, the CLI considers the ? to be a request for assistance
in completing the command.
Use the help command whenyou wantto seea briefdescription of the context-sensitive
help system.
host1>help
Use the help options as follows:
?, or command<Space>? - Lists the set of all valid next keywords or arguments
partial-keyword? - Lists the keywords that begin with a certain character
string
partial-keyword<Tab> - Completes the partial keyword
host1>
Partial-keyword <Tab>
When you cannot recall a complete command name or keyword, type in the first few
letters, press Tab, and the system completes your partial entry. You must type enough
characters to provide a unique abbreviation. If you type a few letters, press Tab, and your
terminal beeps, then you have not typed enough characters to be unambiguous.
host1(config)#int<Tab>
host1(config)#interface
Using Command-Line Editing
This section provides information about the command-line editor.
Basic Editing
Here are a few basic command-line editing notes:
•
Case—Keywords are not case sensitive; that is, they can be entered in uppercase,
lowercase, or a mix of both. Filenames may be case sensitive. Localfilenames are case
sensitive; remote filenames are case sensitive if the host system treats filenames as
case sensitive. Passwords are case sensitive.
•
Abbreviating keywords—You may abbreviate keywords using as few characters as you
want, as long as the characters provide a unique abbreviation.
•
Executing a command—Always use the Enter key.
Command-Line Editing Keys
You can use several keys to edit the command line. Table 7 on page 64 defines the keys
for editing the command line. Arrow keys functions only on ANSI-compatible terminals,
such as VT100s.
Removes characters to left of cursorDeleteor Backspace
Moves cursor one character to leftLeft Arrow
Moves cursor one character to rightRight Arrow
Moves cursor to beginning of command lineCtrl+a
Moves cursor back one characterCtrl+b
Deletes character at cursorCtrl+d
Moves cursor to end of command lineCtrl+e
Moves cursor forward one characterCtrl+f
Ctrl+q
Ctrl+v
Ctrl+x
Deletes character to left of cursorCtrl+h
Deletes all characters from cursor to end of command lineCtrl+k
Redisplays system prompt and command lineCtrl+l
Toggles overwrite/insert modeCtrl+o
Resumes a Telnet or console session; use if the Telnet or console session
appears frozen or unresponsive
Suspends a Telnet or console sessionCtrl+s
Transposes character to left of cursor with character located at cursorCtrl+t
Deletes entire command lineCtrl+u
Allows the “ ?” character to beused as a character insteadof as a request
for help
Deletes the previous wordCtrl+w
In all modes, reboots the system. This feature is useful if a command is
taking aprolonged timeto complete and hangsthe console.The command
has no effect if you access the system through Telnet.
Ctrl+y
Set the boot optionflag by using the service ctrl-x-reboot command from
Global Configuration mode.
Recallsmost recent entryfrom delete buffer; recalledcharacters overwrite
or are inserted in current line depending on overwrite/insert toggle
The CLI maintains two separate command histories. The first command history maintains
only Exec mode commands. The second history maintains all commands entered in any
of the configuration modes. The appropriate history will automatically be restored as
you transition between Global Configuration mode and Exec mode.
Table 8 on page 65 defines the keys related to command history. Arrow keys functions
only on ANSI-compatible terminals, such as VT100s.
Table 8: Command History Keys
Ctrl+z
In all modes except User Exec mode, executes any command typed
immediatelybefore the command sequence and then changes the mode
to Privileged Exec mode. In User Exec mode, only executes any command
typed immediately before the command sequence.
Moves cursor back one wordEsc+b
Deletes previous wordEsc+Backspace
Deletes current or next wordEsc+d
Moves cursor forward one wordEsc+f
FunctionKey
Pagination Keys
Up Arrow or Ctrl+p
Down Arrow or
Ctrl+n
Ctrl+r
Recalls commands in history buffer, starting with mostrecent command.
Repeat key sequence to recall successively older commands.
Returns to more recent commands in history buffer after recalling
commands with Up Arrow or Ctrl+p. Repeat key sequence to recall
successively more recent commands.
Begin a reverse search for a previously entered string in the history buffer
by providing a character string when prompted. Enter Ctrl+r to continue
searching. Ctrl+h or Del deletes the last character in the string and starts
a search on the new string.
If the system needsto display more text than youcan fit on the screen,the output pauses
and the --More-- prompt appears. Table 9 on page 66 defines the pagination keys that
you can use when the --More-- prompt appears. For more information, see “The --More-
Table 10 on page 66 describes the command modes available in the CLI.
FunctionKey
Scrolls down one more lineEnter
Displays one more screenSpacebar
Displays all output lines that contain the text string+
Displays all output lines that do not contain the text string–
Displaysall output linesstarting atthe firstline that contains the text string/
Aborts output and returns you to command promptAny other key
Table 10: Command Mode Overview
•
AAA Profile
Configuration
Address Family
Configuration
ATM VC Class
Configuration
Configure new AAA
profiles.
•
Configure BGP or RIP
address family
parameters.
•
Configure a class of
attributes for an ATM
data PVC.
•
From Global Configuration
mode, use aaa-profile
command.
•
Prompt:
host1(config-aaa-profile)#
•
From Global Configuration
mode, use router bgp or
router rip to enter Router
Configurationmode. From
Router Configuration, use
the address-family
command.
•
Prompt:
host1(config-router-af)#
•
From Global Configuration
mode, use the vc-classatm command, and
specify the name of the
VC class.
•
Prompt:
host1(config-vc-class)#
Exit from ModeAccess to ModeUse of ModeMode Name
•
Use the exit command to return
to Global Configuration mode.
•
Press Ctrl+z to return to Exec
mode.
•
Use the exit command twice to
return to Global Configuration
mode.
•
Press Ctrl+z to return to Exec
mode.
•
Use the exit command to return
to Global Configuration mode.
Configure individual
attributes for an ATM
data PVC.
•
Configure classifier
groups with policy rules
used for policy lists.
•
Configure packet color
after exit from rate-limit
hierarchy.
•
From Global Configuration
mode, use the interface
command to enter
Subinterface
Configurationmode. From
Subinterface
Configuration mode, use
the pvc command.
•
Prompt:
host1(config-subif-atm-vc)#
•
To create a classifier
group, from Policy List
Configuration mode use
the classifier-group
command andidentify the
CLACL and precedence.
•
Prompt:
host1(config-policy-listclassifier-group)#
•
From Rate Limit Profile
Configuration Mode, use
the color-mark-profile
command andidentify the
interface type (IP, IPv6,
MPLS).
•
Prompt:
host1(config-color-markprofile)#
•
Use the exit command twice to
return to Global Configuration
mode.
•
Press Ctrl+z to return to Exec
mode.
•
Use the exit command twice to
return to Global Configuration
mode.
•
Press Ctrl+z to return to Exec
mode.
•
Use the exit command once to
return to Global Configuration
mode.
•
Press Ctrl+z to return to Exec
mode.
•
Control Plane
Configuration
Controller Configuration
Configure SRP module
policing.
•
Configure physix`cal
interfaces (for example,
T3).
•
DHCP
Local Pool Configuration
Configure DHCP local
pools.
•
From Global Configuration
Mode, use the
control-plane command.
•
Prompt:
host1(config-control-plane)#
•
From Global Configuration
mode, use the controller
command.
•
Prompt:
host1(config-controll)#
•
From Global Configuration
mode, use the ip
dhcp-local pool
command.
•
Prompt:
host1(config-dhcp-local)#
•
Use the exit command once to
return to Global Configuration
mode.
•
Press Ctrl+z to return to Exec
mode.
•
Use the exit command once to
return to Global Configuration
mode.
•
Press Ctrl+z to return to Exec
mode.
•
Use the exit command once to
return to Global Configuration
mode.