Skip to Content
JUNOS High Availability
book

JUNOS High Availability

by James Sonderegger, Orin Blomberg, Kieran Milne, Senad Palislamovic
August 2009
Intermediate to advanced
690 pages
20h 14m
English
O'Reilly Media, Inc.
Content preview from JUNOS High Availability

Test Optical Interfaces

The purpose of this section is to do a quick test on all optical interfaces on the router. The configuration might change according to the type of interface being tested; configuration examples are provided for some of the most commonly used interfaces.

You will need a fiber loop and an optical attenuator for Intermediate Reach and Long Haul interfaces. No attenuation is required for multimode Gigabit Ethernet interfaces.

Configure a Private IP Address and Run Ping Tests

You must configure a private IP address to ping through the fiber loop. In this example, we use 10.0.0.1/30 as the private IP address; you can change it if you are already using addresses in the same range (e.g., for the management interface).

To quickly see how many interfaces are present on the router, use the show interfaces terse command. Consider only interfaces whose name is in the form type-fpc/pic/port—for example, so-0/1/0, at-1/2/0, and so on. Ignore the internal interfaces (e.g., pimd, pime, tun, tap, lo0, and dsc).

Run a loopback test on SONET/SDH interfaces

To configure the 10.0.0.1 address on SONET interfaces, use these commands in configuration mode, replacing so-0/0/0 with the actual interface you are configuring:

[edit interfaces]
lab@r1-re0# set so-0/0/0 encapsulation cisco-hdlc no-keepalives

[edit interfaces]
lab@r1-re0# set so-0/0/0 unit 0 family inet address 10.0.0.1/30

Check that the configuration is correct, and then commit:

[edit]
lab@rl-re0# show interfaces so-0/0/0 no-keepalives; ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

JUNOS Enterprise Switching

JUNOS Enterprise Switching

Harry Reynolds, Doug Marschke
Junos Security

Junos Security

Rob Cameron, Brad Woodberg, Patricio Giecco, Timothy Eberhard, James Quinn
Juniper QFX5100 Series

Juniper QFX5100 Series

Douglas Richard Hanks
Juniper QFX10000 Series

Juniper QFX10000 Series

Douglas Richard Hanks

Publisher Resources

ISBN: 9780596805449Errata Page