Juniper Demo Lab Manual
Juniper Demo Lab Manual
Juniper Demo Lab Manual
Version 1.0
CONTENTS:
1. About Juniper Routers
2. Classification of Juniper Routers
2.1. Difference between J, M, T, E and MX series of juniper routers
3. Juniper Router Architecture
3.1. Routing Engine
3.2. Packet Forwarding Engine
3.2.1. Switching Control Board
3.2.2. FPC
3.2.3. PIC
3.3. Routing Engine Hardware Components
3.4. Router Boot Methods
4. J-Series Router Overview
4.1. J2320 Router Front Panel and its components
4.2. Rear Panel of J2320 router
4.3. J-Series Router Configuration
4.4. PIM Modules for J-Series
4.5. PIM and VOIP Module Overview
4.5.1. Gigabit Ethernet uPIMs
4.5.2. Dual-Port Serial PIM
4.5.3. Dual-Port T1 or E1 PIM
4.6. Brief Overview of J2320, J2350, J4350, J6350 Routers
5. M-Series Router Overview
5.1. M7i Front Panel and its Components
5.2. M7i Rear Panel
5.3. Brief Overview of M7i, M10i, M40e, M120 and M320 Routers
6. JUNOS Command Line Interface
Version 1.0
7. Router Interfaces
7.1. Permanent Interfaces
7.2. Transient Interfaces
8. Interface Representation
8.1. On J-Series Routers
8.2. On M-Series and T-Series Routers
8.3. On MX-Series Routers
9. Routing Fundamental Labs
9.1. Lab Exercise 1 : Entering configuration mode on a router and exit
9.2. Lab Exercise 2 : Setting host name
9.3. Lab Exercise 3 : Setting routers domain name
9.4. Lab Exercise 4 : Configure the root password (Encrypted Password)
9.5. Lab Exercise 5 : Configure a DNS name server
9.6. Lab Exercise 6 : Configure a backup router
9.7. Lab Exercise 7 : Router interface address configuration
9.8. Lab Exercise 8 : Shut down an interface
9.9. Lab Exercise 9 : Set interface description
9.10. Lab Exercise 10 : Configuring encapsulation on a physical interface
9.11. Lab Exercise 11 : Configuring keepalives
9.12. Lab Exercise 12 : Set keepalive timers
9.13. Lab Exercise 13 : Configuring management ethernet interface(fxp0)
9.14. Lab Exercise 14 : Setting bandwidth on an interface
9.15. Lab Exercise 15 : Setting the hold-time value on a physical interface
9.16. Lab Exercise 16 : Setting the DTE clock rate
9.17. Lab Exercise 17 : Basic gigabit ethernet configuration on a J-series router
9.18. Lab Exercise 18 : Configuring speed on sonet interface
9.19. Lab Exercise 19 : Show chassis commands on J and M series routers
9.20. Objective Test 1
10. Static Routing Labs
10.1. Lab Exercise 1 : Configuring static routes
10.2. Lab Exercise 2 : Ping Test
10.3. Lab Exercise 3 : Telnet
10.4. Lab Exercise 4 : Traceroute
10.5. Objective Test 2
11. Policies Configuration Labs
11.1. Lab Exercise 1 : Routing policy lab 1
11.2. Lab Exercise 2 : Routing policy lab 2
11.3. Objective Test 3
Version 1.0
Version 1.0
Version 1.0
Version 1.0
Version 1.0
10
Version 1.0
11
Color
State
Description
Blinking
Router is starting up or
performing diagnostics
On steadily
Router is operating
normal
Blinking
Green
Red
Alarm LED
The alarm LED lights can be either yellow or red. If yellow, indicates a minor condition
that requires monitoring or maintenance. If red, indicates major condition that can result in
a system shutdown.
HA LED
The High availability (HA) LED lights when the router starts but otherwise remains unlit
and this is mostly for future use.
Reset Config Button
This button is used to return the router to either the rescue configuration or the factory
default configuration.
Console Port
Through the console port, a RJ-45 serial cable can be used to connect to the routing engine
and the router can be configured using CLI from the chassis console port.
USB Port
The USB ports on the front panel of the router accept a USB storage device or USB storage
device adapter with a compact flash installed and can act as a secondary boot device if the
internal compact flash fails on startup.
ESD Point
The electrostatic discharge point located at the front of the chassis minimizes the risk of
electrical discharge in potentially hazardous environments.
Version 1.0
12
13
Avaya VoIP modules are controlled by the Avaya Communication Manager (CM) software
rather than the JUNOS software and are installed in the router chassis like PIMs.
Version 1.0
14
Gigabit Ethernet uPIM can be inserted in any slot on J2320, J2350, J4350 and
J6350 service routers. High-speed slots are slots 3 and 6 on the J4350 router,
and slots 2, 3, 5, and 6 on the J6350 router.
Gigabit Ethernet uPIMs features are
The multiport uPIMs can be used as switches in the access layer
Link speed for 8-port and 16-port Gigabit Ethernet uPIMs is
configurable to 10, 100, or 1000 Mbps, and transmission mode is
configurable to half or full duplex. The 1-port and 6-port SFP Gigabit
Version 1.0
15
Version 1.0
16
Version 1.0
17
3. J4350
The J4350 Services Router is designed primarily for regional and branch
offices. The J4350 enterprise router gives up to 1Gbps in performance. They
are usually used for DS3, E3, and Metro Ethernet interfaces with integrated
services. It has six PIM slots. Two of these slots are enhanced-performance
slots that provide additional performance to multiple Gigabit Ethernet
configurations.
Version 1.0
18
Advanced routing features supported include MPLS, multicast, QoS, and high availability. Services
supported include a broad array of VPNs, network-based security, real-time voice and video,
bandwidth on demand, rich multicast of premium content, IPv6 services, granular accounting and much
more.
19
FIC Receives incoming packets and transmits outgoing packets to the network, displays
alarm status, and takes PICs online and offline.
ESD Point
The ESD Point (Electrostatic discharge point) located at the front of the chassis minimizes
the risk of electrical discharge in potentially hazardous environments.
Routing Engine
Routing Engine maintains the routing tables, manages the routing protocols, controls the
interfaces, controls some chassis components, and provides the interface for system
management and user access.
Version 1.0
20
5.3 Brief overview of M7i, M10i, M40e, M120 and M320 Routers
1. M7i
The M7i Multiservice Edge Router is 3.5 inches (8.9 cm) in height and supports
7+ Gbps throughput. The M7i is ideal as an IP/MPLS provider edge router in
small PoPs or as an enterprise routing solution for Internet gateway or branch
aggregation.
The M7i router supports various PICs, including ATM, channelized, Ethernet,
IP services, and SONET/SDH interfaces.
The router accommodates up to four Physical Interface Cards (PICs). In
addition to the PICs, the Fixed Interface Card (FIC) provides two Fast Ethernet
ports or one Gigabit Ethernet port, depending on your configuration.
PICs are interchangeable between the M7i and M10i routers.
2. M10i
The M10i Multiservice Edge Router is cost-effective fully redundant M Series
edge router, combined with Junos OS reliability features, the M10i router is the
product of choice for enabling reliable and secure services in small and medium
PoPs.
The router supports up to eight PICs, including ATM, Channelized, Gigabit
Ethernet, IP Services, and SONET/SDH interfaces
The M10i router supports up to eight Physical Interface Cards (PICs). PICs are
interchangeable between the M7i and M10i routers.
3. M40e
The M40e Multiservice Edge Router provides a dense, highly redundant
platform primarily targeted for dense dedicated access aggregation and provider
edge services in medium and large PoPs.
PICs are available in supported media types, including Asynchronous Transfer
Mode (ATM), Channelized DS3, E1, E3, T1, Ethernet, SONET/SDH, and IP
services.
The router accommodates up to eight Flexible PIC Concentrators (FPCs) (FPC
0 to FPC 7), which can each be configured with a variety of network media
types, altogether providing up to 32 OC12/STM4, 32 Gigabit Ethernet, or eight
OC48/STM16 ports per system. FPCs supported by M40e router are FPC,
Enhanced Plus FPC1, Enhanced Plus FPC2
PICs are compatible with the M120 and Juniper Networks T320 and T640 Core
Routers.
Version 1.0
21
4. M120
M120 router is the newest addition to M-Series, capable of supporting MPLS
services at Layers 2 and 3, including Layer 3 VPNs, the M120 is designed to
deliver superior redundancy and facilitate the transport of legacy Frame Relay
and ATM traffic over high-bandwidth Ethernet links.
The router supports various PICs, including ATM, Channelized, Gigabit
Ethernet, IP services, and SONET/SDH interfaces.
The M120 delivers support for 128 GE subscriber ports, with 10 GB Ethernet
or OC 192 uplink capability in an affordable, compact form factor
The router is a quarter-rack chassis that supports up to six FPCs. Four slots
accept FPCs of Types 1, 2, and 3 and two slots accept Compact FPCs (CFPCs).
Each FPC can be configured with a variety of network media types, altogether
providing up to 130 physical interface ports per system. The CFPC slots are
identical to the Type 1, 2, and 3 FPC slots, but feature a smaller form factor to
provide higher density 10-Gigabit interfaces.
FPCs supported by M120 router are FPC1, FPC2 and FPC3. PICs are
compatible with M40e, T320, and T640 routers.
5. M320
The M320 Multiservice Edge Router is a high performance, 10 Gbps-capable,
distributed architecture edge router ideal for medium-size backbone cores
requiring predictable performance for feature-rich infrastructures.
The router supports up to eight FPCs providing SONET/SDH OC-48/STM16,
SONET/SDH OC192/STM64, and 160-Gigabit Ethernet media.
The router is a half-rack chassis that supports up to eight Flexible PIC
Concentrators (FPCs) providing up to 64 SONET/SDH OC48/STM16, 16
SONET/SDH OC192/STM64, or 160 Gigabit Ethernet ports for the router.
FPCs supported by M320 router are Enhanced II FPC 1, Enhanced III FPC 1,
Enhanced II FPC 2, Enhanced II FPC 3, Enhanced III FPC 2, Enhanced III FPC
3. PICs are compatible with M40e, M120, T320, and T640 routers.
Version 1.0
22
23
below:
user@host>configure
Entering configuration mode
[edit] ----Top level
user@host#edit protocols ospf
[edit protocols ospf] ----protocols ospf hierarchy level
user@host#
"set" commands are used to configure specific leaf statements.
Ex: user@host#set hello-interval 14
7. Router Interfaces
Juniper Networks platform has primarily two types of interface. These are:
Permanent interfaces, these are always present in the router and
Transient interfaces, these can be inserted or removed from the router by user.
Version 1.0
24
8. Interface Representation
8.1. On J-Series routers
On the J-series routing platform, when information about an interface is displayed, the
interface type, the slot in which the Physical Interface Module (PIM) is installed, 0, and the
configured port number is specified.
In the physical part of the interface name, a hyphen (-) separates the media type from the
PIM number, and a slash (/) separates the PIM, 0, and port numbers. And the syntax is:
type-pim/0/port
Each of the terms are explained below:
type: is the one that uniquely identifies the type of physical interface. It is a two-character
word and can be one of the following:
ae-Aggregated Ethernet interface
at-ATM interface
e1-E1 interface (including channelized STM-1 interfaces)
e3-E3 interface
fe-Fast Ethernet interface
fxp-Management and internal Ethernet interfaces
ge-Gigabit Ethernet interface
gr-Generic Route Encapsulation tunnel interface
ip-IP-over-IP encapsulation tunnel interface
lo-Loopback interface
ml-Multilink interface
so-SONET/SDH interface
t1-T1 interface (including channelized DS-3 and OC-3 interfaces)
t3-T3 interface (including channelized OC-12 interfaces
se-Serial interface
pim: Physical Interface Module (PIM) provides the physical connection to various network
media types. It is the slot in which the PIM is installed.
0: it is the pim module number
port: it is the port number to be configured
For example, on a J-series router J2320, assuming that slot 1 is populated with single port
gigabit ethernet card, the interface is uniquely identified as below:
ge-1/0/0
25
Version 1.0
26
Version 1.0
27
28
29
30
A. family ip
B. family ip6
C. family inet
D. family inet4
7. Which operational command allows a user to view the exhaust temperatures of a Juniper
device?
A. show chassis state
B. file list alarm
C. show chassis alarms
D. show chassis environment
8. In which mode are users allowed to configure the device, including interfaces, protocols,
user access, and system hardware properties?
A. priviledged mode
B. configuration mode
C. monitoring mode
D. operational mode
9. Which command is used to retrieve the serial numbers of a Juniper device?
A. show version
B. show chassis hardware
C. show hardware detail
D. view hardware database
10. What are the primary responsibilities of the RE?
A. Control routing protocol traffic, perform route look-ups
B. Forward data traffic, perform route filtering
C. Maintain routing protocols, control software processes
D. Manage interfaces, reassemble packets from shared memory
Version 1.0
31
Version 1.0
32
Version 1.0
33
Version 1.0
34
Version 1.0
35
Mask
R1
R2
R3
36
37
38
user@R3#exit
[edit policy-options policy-statement R3pol term R3term]
user@R3#edit then
[edit policy-options policy-statement R3pol term R3term then]
user@R3#set accept
[edit policy-options policy-statement R3pol term R3term then]
user@R3#exit
[edit policy-options policy-statement R3pol term R3term]
user@R3#exit
[edit]
user@R3#edit protocols rip group R3grp
[edit protocols rip group R3grp]
user@R3#set export R3pol
[edit protocols rip group R3grp]
user@R3#edit neighbor so-0/0/0
[edit protocols rip group R3grp neighbor so-0/0/0]
user@R3#set import R3pol
[edit protocols rip group R3grp neighbor so-0/0/0]
user@R3#exit
[edit protocols rip group R3grp]
user@R3#edit neighbor so-0/0/1
[edit protocols rip group R3grp neighbor so-0/0/1]
user@R3#set import R3pol
[edit protocols rip group R3grp neighbor so-0/0/1]
user@R3#exit
[edit protocols rip group R3grp]
user@R3#exit
[edit]
user@R3#commit
commit complete
[edit]
user@R3#
On R1:
user@R1>ping 192.168.2.2
user@R1>ping 192.168.2.1
Back
13.2 : Lab Exercise 2 : Ping test by configuring OSPF with multiple areas
Not available in demo version
Version 1.0
39
40
Back
Note: This Lab is divided in to 7 sections. Please refer the figure above for all the sections
41
Section III : Create BGP group and add the External neighbor addresses
Not available in demo version
Section V : Add the peer D and set the AS number at the individual neighbor level
Not available in demo version
Version 1.0
42
Version 1.0
Model Number
Access Ports
EX2200-24T-4G
24 Gigabit Ethernet
43
EX2200-24P-4G
24 Gigabit Ethernet
All 24 ports
EX2200-48T-4G
48 Gigabit Ethernet
EX2200-48P-4G
48 Gigabit Ethernet
All 48 ports
Mode button
Version 1.0
44
LED Label
Color
ALM
Unlit
There is no alarm
Amber
Red
Green
SYS
Version 1.0
USB port
Console port
ESD point
Air exhaust
Copyright 2002 2012 CertExams.com
45
Description
EX2500-24F-FB
EX2500-24F-BF
Note: SFP+ Ports: 24 Small Form-Factor Pluggable (SFP+) ports are located on the front panel.
These ports accept approved optical SFP+ transceivers or direct access cables (DACs).
Version 1.0
46
Access Ports
EX3200-24T
24 Gigabit Ethernet
First 8 ports
EX3200-48T
48 Gigabit Ethernet
First 8 ports
EX3200-24P
24 Gigabit Ethernet
All 24 ports
EX3200-48P
48 Gigabit Ethernet
All 48 ports
EX3200-24T-DC
24 Gigabit Ethernet
EX3200-48T-DC
48 Gigabit Ethernet
Version 1.0
47
Model
Ports
EX4200-24T
24 Gigabit Ethernet
First 8 ports
EX4200-48T
48 Gigabit Ethernet
First 8 ports
EX4200-24P
24 Gigabit Ethernet
All 24 ports
EX4200-48P
48 Gigabit Ethernet
All 48 ports
EX4200-24F
24 Gigabit Ethernet
EX4200-24T-DC
24 Gigabit Ethernet
EX4200-48T-DC
48 Gigabit Ethernet
EX4200-24F-DC
24 Gigabit Ethernet
Version 1.0
Model
EX4500-40F-FB
EX4500-40F-BF
EX4500-40F-FB-C
EX4500-40F-BF-C
EX4500-40F-DC-C
48
EX4500-40F-VC1-FB
EX4500-40F-VC1-BF
EX4500-40F-VC1-DC
Note: The FB and BF in the model number indicate the direction of airflow of the chassis:
FBFront-to-back airflow
BFBack-to-front airflow
The C in the model number indicates the Converged Enhanced Ethernet (CEE) status of switch:
CCEE capable
NoneNot CEE capable
The DC in the model number indicates that the switch model supports DC power supply.
The VC in the model number indicates that the switch model can be used in a Virtual Chassis
configuration.
Version 1.0
49
EX820048F/EX820048F-ES
EX82008XS/EX82008XS-ES
EX8200-40XS
EX8200EX8200-2XS48PL/EX8200 4OP/EX8200-48TL
2XS-4OT
48 RJ-45
48 SFP
8 SFP+
40 SFP/SFP+
48 RJ-45
40 RJ-45 / 4 SFP
/2 SFP+
PoE/PoE 0
+ ports
48/12 (48PL
only)
Port
speed
1 Gbps/10 Gbps
10/100/1000
Mbps
10/100/1000
Mbps; 100/1000
Mbps; 10 Gbps
Port
quantity
and type
10/100/1000
Mbps
Baud Rate9600
Flow ControlNone
Data8
ParityNone
Stop Bits1
DCD StateDisregard
To connect and configure the switch from the console using the CLI:
1. Connect the console port to a laptop or PC using the RJ-45 to DB-9 serial port adapter. The RJ-45
cable and RJ-45 to DB-9 serial port adapter are supplied with the switch.
EX2200, EX3200, or EX4200 switchThe console port is located on the rear panel of the
switch.
EX4500 switchThe console port is located on the front panel of the switch.
EX8200 switchThe console port is located on the Switch Fabric and Routing Engine (SRE)
module in slot SRE0 in an EX8208 switch or on the Routing Engine (RE) module in slot RE0
in an EX8216 switch.
2. At the Junos OS shell prompt root%, type ezsetup.
3. Enter the hostname. This is optional.
4. Enter the root password you plan to use for this device. You are prompted to re-enter the root
password.
Note: The initial login name and password on EX-series switches:
login: root
password: <no password>
Version 1.0
50
The device is shipped with no password; simply press the enter key.
Note: For security reasons, create a password for the Root ID.
5. Enter yes to enable services like Telnet and SSH. By default, Telnet is not enabled and SSH is
enabled.
6. Use the Management Options page to select the management scenario:
Configure in-band management. In this scenario you have the following two options:
Use the default VLAN.
Create a new VLANIf you select this option, you are prompted to specify the VLAN name,
VLAN ID, management IP address, and default gateway. Select the ports that must be part of
this VLAN.
Configure out-of-band management. Specify the IP address and gateway of the management
interface. Use this IP address to connect to the switch.
7. Specify the SNMP Read Community, Location, and Contact to configure SNMP parameters. These
parameters are optional.
8. Specify the system date and time. Select the time zone from the list. These options are optional.
9. The configured parameters are displayed. Enter yes to commit the configuration. The configuration is
committed as the active configuration for the switch.
10.(For EX4500 switches only) Enter the request chassis pic-mode intraconnect operational mode
command to set the PIC mode to intraconnect.
You can now log in with the CLI or the J-Web interface to continue configuring the switch.
Up to 48 of the access ports can be used for SFP+ transceivers or SFP+ direct attach copper cables.
10-Gigabit Ethernet SFP+ transceivers and SFP+ direct attach copper cables can be used in any
access port. 2-Gbps, 4-Gbps, or 8-Gbps Fibre Channel SFP+ transceivers can be used in ports 0
Version 1.0
51
Up to 36 of the access ports can be used for SFP transceivers. Gigabit Ethernet SFP transceivers can
be used in ports 6 - 41.
Note: Please refer to the below network diagram for the switch exercises given in the next sections.
52
53
54
Version 1.0
55
56
[edit]
user@SW1#commit
[edit]
user@SW1#exit
user@SW1>show configuration
Note: i. Hello-Time: Determines how often the switch broadcasts hello messages to other
switches.
ii. Forward-Time: Determines how long each of the listening and learning states last before the
interface begins forwarding.
iii. Max-Age: Determines the amount of time the switch stores protocol information received on
an interface.
Back
57
23.6 : Lab Exercise 6 : Enabling VSTP on a VLAN using a single VLANID / VLAN-Name
Not available in demo version
58
[edit]
user@SW2#show
user@SW2>show poe interface
Note:
Guard-band: Reserve a specified amount of power out of the PoE power budget in case of a
spike in PoE consumption.
Maximum-Power: Set the maximum amount of power that the switch can supply to the PoE
port.
Back
26. Appendix
26.1. Answer keys for objective test 1
1. C, D
2. C
3. A
4. D
Version 1.0
59
5. D
6. C
7. D
8. B
9. B
10. C
Disclaimer:
CertExams.com is not associated with Juniper Systems Inc nor any other company.
Junos is a trade mark of Juniper Systems Inc. and duly recognized.
Version 1.0
60