Targeting JNCIA - .Targeting JNCIA Study Guide for Exam JN0-201 By Jeffrey Ringwelski, John Jacobs,

  • View
    229

  • Download
    7

Embed Size (px)

Text of Targeting JNCIA - .Targeting JNCIA Study Guide for Exam JN0-201 By Jeffrey Ringwelski, John Jacobs,

  • Targeting JNCIA

    Study Guide for Exam JN0-201

    By

    Jeffrey Ringwelski, John Jacobs, Tyler Wessels

  • 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, or

    transmitted 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

  • 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.

  • iv

  • v

    Contents

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

    OVERVIEW........................................................................................ 3 INTRODUCTION ................................................................................. 3

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

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

    THE INTERNET .................................................................................. 9 IP ADDRESSING .............................................................................. 10 IP SUBNETTING .............................................................................. 12 KEY POINTS.................................................................................... 16 RFC................................................................................................ 16

    CHAPTER 2: HARDWARE............................................ 19 OVERVIEW...................................................................................... 19 INTRODUCTION ............................................................................... 19 M-SERIES ROUTING ENGINE (RE)................................................... 20 M-SERIES PACKET-FORWARDING ENGINE (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

  • 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

    KEY POINTS .................................................................................... 37

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

    OVERVIEW ...................................................................................... 43 INTRODUCTION ............................................................................... 43 BOOT PROCESS ............................................................................... 44 PROCESSES (DAEMONS) .................................................................. 44 COMMAND LINE INTERFACE (CLI) ................................................. 45

    Operational Mode ........................................................................ 48 Configuration Mode ..................................................................... 50 Candidate Configuration and Commit............................................ 57 Loading files ................................................................................ 58 Rollback ...................................................................................... 59

    TRACEOPTIONS ............................................................................... 60 INTRODUCTION TO ROUTING........................................................... 60 STATIC VS DYNAMIC ROUTES ......................................................... 62

    Configuring Static Routes ............................................................. 63 INTERFACE AND ROUTING-OPTIONS CONFIGURATION.................... 64

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

    KEY POINTS .................................................................................... 69

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

    OVERVIEW ...................................................................................... 73 INTRODUCTION ............................................................................... 73 PROTOCOL FUNDAMENTALS ........................................................... 74 VERSION 1 VS. VERSION 2 .............................................................. 74 COMMUNICATION BETWEEN RIP HOSTS ......................................... 75 RIP PACKETS.................................................................................. 78 CONTROLLING ROUTING UPDATES .................................................. 79 CONFIGURATION............................................................................. 81

  • 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 KEY POINTS.................................................................................... 86 ADDITIONAL INFORMATION............................................................ 86

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

    OVERVIEW...................................................................................... 89 INTRODUCTION ............................................................................... 89 ADJACENCIES ................................................................................. 91

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

    AREA AND ROUTER TYPES ............................................................. 96 Area 0......................................................................................... 97 Site Areas ................................................................................... 97 Communicating between Areas ................................................. 98 Types of Areas.......................................................................... 100 Virtual Links ............................................................................ 100

    LINK-STATE ADVERTISEMENTS (LSAS)........................................ 101 OSPF CONFIGURATION WITHIN JUNOS....................................... 102

    Metric....................................................................................... 104 Authentication.......................................................................... 104 Configuring OSPF Timers....................................................... 105

    POLICY IN OSPF........................................................................... 106 MONITORING OSPF IN JUNOS .................................................... 106 KEY POINTS.................................................................................. 110 ADDITIONAL INFORMATION