Targeting JNCIA

  • View
    213

  • Download
    0

Embed Size (px)

Text of Targeting JNCIA

  • 8/20/2019 Targeting JNCIA

    1/288

     

    Targeting JNCIA

    Study Guide for Exam JN0-201 

    By

    Jeffrey Ringwelski, John Jacobs,

    Tyler Wessels 

  • 8/20/2019 Targeting JNCIA

    2/288

     

    This book is a work of non-fiction. Names and places have been changed to

     protect the privacy of all individuals. The events and situations are true.

    © 2003 by Jeffrey Ringwelski, John Jacobs, Tyler Wessels.

    All rights reserved.

     No part of this book may be reproduced, stored in a retrieval system, ortransmitted by any means, electronic, mechanical, photocopying, recording,

    or otherwise, without written permission from the author.

    ISBN: 1-4107-6496-6 (e-book)

    ISBN: 1-4107-6495-8 (Paperback)

    Library of Congress Control Number: 2003094108

    This book is printed on acid free paper.

    Printed in the United States of America

    Bloomington, IN

    1stBooks - rev. 07/28/03

  • 8/20/2019 Targeting JNCIA

    3/288

     

    iii

    Acknowledgements

    The authors would like to thank, in no particular order of

    appreciation:

    Evan Mennillo for his great work and continued attention to detail.

    Max Gabriel and Brandon Gaither for feedback and assistance.

    All those who contributed, in their own way, to a project that ended

    up a bit more complex than originally thought.

  • 8/20/2019 Targeting JNCIA

    4/288

     

    iv

  • 8/20/2019 Targeting JNCIA

    5/288

     

    v

    Contents TARGETING JNCIA .............................................................3

    OVERVIEW........................................................................................ 3

    I NTRODUCTION ................................................................................. 3

    Objective ...................................................................................... 4  Using this Book............................................................................ 5 

    BASICS ..................................................................................9

    THE I NTERNET .................................................................................. 9

    IP ADDRESSING .............................................................................. 10 IP SUBNETTING .............................................................................. 12

    K EY POINTS .................................................................................... 16 RFC................................................................................................ 16

    CHAPTER 2: HARDWARE ............................................19

    OVERVIEW...................................................................................... 19

    I NTRODUCTION ............................................................................... 19

    M-SERIES R OUTING E NGINE (RE)................................................... 20 M-SERIES PACKET-FORWARDING E NGINE (PFE)............................ 21

     M-series PICs & FPCs ........................................................ 21   M-series PFE ASICs..................................................................... 22 

    M160 OVERVIEW ........................................................................... 24

     M160 Chassis .............................................................................. 24   M160 Flexible PIC Concentrator (FPC) ........................................ 25   M160 Switching & Forwarding Modules (SFMs)............................ 26    M160 Packet Flow ....................................................................... 27   The following steps walk through packet on a M160 router: ............ 27    Physical Interface Cards (PICs) .................................................... 28   M160 PFE Clock Generators (PCGs) ............................................ 28   M160 Host Module....................................................................... 29   M160 Miscellaneous Control Subsystem (MCS) ............................. 29 

     M40e Overview...................................................................... 29  M40 OVERVIEW ............................................................................. 29

     M40 Backplane ............................................................................ 31 

  • 8/20/2019 Targeting JNCIA

    6/288

     

    vi

     M40 System Control Board (SCB) ................................................. 31 

     M40 Packet Flow ......................................................................... 32  M20 OVERVIEW ............................................................................. 33

     M20 Packet Forwarding Engine .................................................... 34   FPCs ........................................................................................... 34 

    M-5/M-10 OVERVIEW .................................................................... 34

     M5/M10 PFE ............................................................................... 35 

    K EY POINTS .................................................................................... 37

    CHAPTER 3: JUNOS..........................................................43

    OVERVIEW ...................................................................................... 43

    I NTRODUCTION ............................................................................... 43

    BOOT PROCESS ............................................................................... 44 PROCESSES (DAEMONS) .................................................................. 44

    COMMAND LINE I NTERFACE (CLI)................................................. 45 Operational Mode ........................................................................ 48  Configuration Mode ..................................................................... 50  Candidate Configuration and Commit ............................................ 57    Loading files ................................................................................ 58   Rollback ...................................................................................... 59 

    TRACEOPTIONS ............................................................................... 60

    I NTRODUCTION TO R OUTING........................................................... 60 STATIC VS DYNAMIC R OUTES ......................................................... 62

    Configuring Static Routes ............................................................. 63  I NTERFACE AND R OUTING-OPTIONS CONFIGURATION....................64

     Interface Configuration................................................................. 64  Configuring Routing-Options ........................................................ 68 

    K EY POINTS .................................................................................... 69

    CHAPTER 4: RIP ................................................................73

    OVERVIEW ...................................................................................... 73 I NTRODUCTION ............................................................................... 73

    PROTOCOL FUNDAMENTALS ........................................................... 74

    VERSION 1 VS. VERSION 2 .............................................................. 74

    COMMUNICATION BETWEEN RIP HOSTS ......................................... 75 RIP PACKETS.................................................................................. 78

    CONTROLLING ROUTING UPDATES .................................................. 79 CONFIGURATION............................................................................. 81

  • 8/20/2019 Targeting JNCIA

    7/288

     

    vii

    Send Compatibility Parameter Configured via ‘send X’........... 82 

     Receive Compatibility Parameter Configured via ‘receive Y’ .. 82  POLICY IN RIP ................................................................................ 83

    MONITORING RIP IN JUNOS.......................................................... 84 K EY POINTS .................................................................................... 86

    ADDITIONAL I NFORMATION............................................................ 86

    CHAPTER 5: OSPF.............................................................89

    OVERVIEW...................................................................................... 89 I NTRODUCTION ............................................................................... 89

    ADJACENCIES ................................................................................. 91

     Hello Protocol ............................................................................. 91 

     Network Types ........................................................................... 93   Multi-Access Networks and Designated Router Elections................ 96  

    AREA AND R OUTER TYPES ............................................................. 96

     Area 0......................................................................................... 97  

    Site Areas ................................................................................... 97   Communicating between Areas .............................................