Jncia-er Lab Manual

  • View
    216

  • Download
    0

Embed Size (px)

Text of Jncia-er Lab Manual

  • 8/9/2019 Jncia-er Lab Manual

    1/34

  • 8/9/2019 Jncia-er Lab Manual

    2/34

  • 8/9/2019 Jncia-er Lab Manual

    3/34

    ()CI*-E+ ab anual

    AB. ABS DESCRIPTION PAGE

    NO.

    1 Junos Basic and J-web Basics 2 

    2  Accessing the Juniper Router through Telnet/SSH/HTTP 11

    3  Static Routing   12 

    4  Dynamic Routing

    ! R"P#! $SP%

    14 

    16 

    5  %irewall %iltering ! Simple %irewall %iltering #! Ad&ance 'irewall %iltering

    18 

      20 

    6  Port Address Translation (PAT)   22 

    7  "mplement *RRP 24 

    8  "nter-&lan routing 26 

    9 +on'iguring dhcp 28 

    10   Password reco&ery  

    30 

    11 PPP Authentication 32 

     

    1

  • 8/9/2019 Jncia-er Lab Manual

    4/34

    ()CI*-E+ ab anual

    Lab # 1

    Junos Basic

    Configuration

    After connecting your PC to the Console Port.

    .GI)root P*SS0.+abc1!

    +oo& 

    4o En&er In&o .era&ional oe 6ro7 8ni9 Shell : ;ice- ;ersa<

    "oot $ cli

    "oot %

    &o 'nter (nto Configuration )ode.

    "oot% configureEn&erin% con=i%ura&ion 7oe

    "oot #

    J*eb e+uivalent , Configuration

    se Coit coand to activate your changes.

    "oot# coit

    &o change the /ost 0ae of "outer.

    "oot# set syste host-nae host

    "oot# coit

     

    2

  • 8/9/2019 Jncia-er Lab Manual

    5/34

    ()CI*-E+ ab anual

    J*eb e+uivalent , Configuration % uic2 Configuration % setup

    3et the 3yste Date 4 &ie on the "outer

    "oot% set date 1,15,6 7hh,,ss8

    "oot% set date 559-15-: 7;;-))-DD8 "oot# coit

    J*eb e+uivalent , Configuration % uic2 Configuration % setup >se& &i7e 7anuall$?

  • 8/9/2019 Jncia-er Lab Manual

    6/34

    ()CI*-E+ ab anual

    Displays per-second real-tie statistics for a physical interface

    "oot% onitor interface se-5?5?

    Coand prints pac2et headers to your terinal screen for inforation sent or

    received by the "outing 'ngine

    "oot%onitor traffic interface se-5?5?

    )ove connection to another port for testing purpose

    "oot#renae interfaces fe-5?5?5 to fe-5?5?1

    7in this e>aple you *ill ove the configuration for fe-5?5?5 to fe-5?5?18

    "uplicate an e>isting configuration and change a fe* coponents.

     "oot#copy interfaces fe-5?5?5 to fe-5?5?1

    7*e are replicating an e>isting configuration so *e can change a fe* coponents8

    Configuring the 'ncapsulation on a Physical (nterface

    "oot#set interfaces se-5?5? encapsulation ppp

    3ho* Active Configuration.

     

    "oot%sho* configuration

    or

    "oot%sho* syste rollbac2 5

    or

    "oot#sho*

    J*eb e+uivalent, Configuration %

  • 8/9/2019 Jncia-er Lab Manual

    7/34

    ()CI*-E+ ab anual

    3ho* Active Configuration in set display"oot # 3ho* @ display set

    3ho* Active Configuration in >l forat

    "oot # 3ho* @ display >l

    s ho* candidate Configuration. 

    "oot% sho* syste rollbac2 

    7&eporary Configuration and becoes active *hen coit it8

    J*eb e+uivalent , Configuration % history

    Copare "ollbac2 Configuration.

    "oot% sho* syste rollbac2 5 copare 

    J*eb e+uivalent , Configuration % history % copare

    Configure "ollbac2 Configuration.

    "oot#rollbac2 

    "oot#coit

    Deactivate or Activate configuration.

    "oot#deactivate Anyconfiguration

    or e>aple

    "oot#deactivate interfaces se-5?5?

     

    5

  • 8/9/2019 Jncia-er Lab Manual

    8/34

    ()CI*-E+ ab anual

    "oot#sho*

      interfaces

      inactive se-5?5?

      

    3hut do*n an (nterface

    "oot# set interfaces se-5?5? disable

     

    "oot# delete interface se-5?5? disable

    3et "escue Configuration.

    "oot% re+uest 3yste configuration rescue save

    73ave Active configuration as rescue configuration8

     

    J*eb e+uivalent , configuration %rescue

    Coit "escue Configuration.

     "oot% rollbac2 rescue

    =r 7"eset C=0( button on the front of E-series router *ill load and coit the

    rescue configuration 8

    J*eb e+uivalent , Configuration % history 7Se& rescue con=i%ura&ion?

     3ho* "escue Configuration.

    "oot% 3ho* 3yste configuration rescue

    J*eb e+uivalent , Configuration % history 7;ie rescue con=i%ura&ion ?

    &o loo2 ho* any users are logged in Eunos

    "oot%sho* syste user

     

    !

    http://10.0.0.10/?m%5B%5D=rescue&mode=set-rescue http://10.0.0.10/?m%5B%5D=rescue&mode=view-rescue http://10.0.0.10/?m%5B%5D=rescue&mode=set-rescue http://10.0.0.10/?m%5B%5D=rescue&mode=view-rescue

  • 8/9/2019 Jncia-er Lab Manual

    9/34

    ()CI*-E+ ab anual

    &o loo2 at files stored in lash eory

    "oot%sho* syste storage

    &o loo2 at used tcp and udp ports

    "oot%sho* syste connection

    &o loo2 at syste license

    "oot%sho* syste license

    &o loo2 at syste fir*are

    "oot%sho* syste fir*are

    3ho* chassis coponent and teperature of cpu

    "oot % sho* chassis environent

    J*eb e+uivalent , )onitor % chassis

    3ho* chassis hard*are

    "oot % sho* chassis hard*are detail

    J*eb e+uivalent , )onitor % chassis

     3et the pass*ord of "oot in clear te>t.

    "oot# set syste root-authentication plain-te>t-pass*ord  )e Passor abc1! +e&$e ne assor abc1!

     

    A

  • 8/9/2019 Jncia-er Lab Manual

    10/34

    ()CI*-E+ ab anual

    J*eb e+uivalent , Configuration % uic2 Configuration % setup

    3et the pass*ord of "oot in encrypted te>t.

    "oot# set syste root-authentication encrypted-pass*ord abc1!

    J*eb e+uivalent , Configuration % uic2 Configuration % setup

    &o shutdo*n and restart the router

    "oot% re+uest syste po*eroff 

    "oot% re+uest syste reboot

    J*eb e+uivalent , )anage % "eboot

    &o a2e the router on factory default setting

    "oot # load factory-default arnin% ac&ia&in% =ac&or$ con=i%ura&ion

    Dei&

    "oot # set syste root-authentication plain-te>t-pass*ord

     )e assor abc1!

    +e&$e ne assor abc1!

    Dei&

    "oot # coit

     

    @

  • 8/9/2019 Jncia-er Lab Manual

    11/34

    ()CI*-E+ ab anual

    Assign the (P Address on the 'thernet (nterface of the "outer.

    Configuration

    Assign the (P Address on the 'thernet (nterface of the "outer .

    "oot# set interfaces fe-5?5?5 unit 5 faily inet address 15.5.5.15?6

    "oot#edit interface fe-5?5?5

    "oot#3et description F&his is the 'thernet anageent interfaceF

    "oot#top

    "oot#coit

    Delete the (P Address on the 'thernet (nterface of the "outer .

    "oot#delete interface fe-5?5?5 unit 5 faily inet address 15.5.5.15?6

    "enae the (P Address on the 'thernet (nterface of the "outer .

    "oot#renae interface fe-5?5?5 unit 5 faily inet address 15.5.5.15?6 to 1G.5.5.15?6

    J*eb e+uivalent , Configuration % uic2 Configuration % interfaces

  • 8/9/2019 Jncia-er Lab Manual

    12/34

    ()CI*-E+ ab anual

    Assign the (P Address on the 3erial (nterfaces of the

    "outer.

    Configuration

    Assign the (P Address on the 3erial (nterface of the "outer "1 7DC'8 .

    "oot# set interfaces se-5?5? unit 5 faily inet address 1G.5.5.1?6

    "oot# set interfaces se-5?5? serial options cloc2ing-ode dce

    "oot# set interfaces se-5?5? serial options cloc2-rate :H.52hI

    "oot# coit

    J*eb e+uivalent , Configuration % uic2 Configuration % interfaces

    Assign the (P Address on the 3erial (nterface of the "outer " .

    "oot# set interfaces se-5?5? unit 5 faily inet address 1G.5.5.?6

    "oot# coit

    J*eb e+uivalent , Configuration % uic2 Configuration % interfaces

  • 8/9/2019 Jncia-er Lab Manual

    13/34

    ()CI*-E+ ab anual

    Lab # 

      Accessing "outer through &elnet?33/?/&&P

    7&elnet?33/?/&&P bet*een t*o "outers8

    Configuration

    Configuring telnet on "1.

    "oot"1# set syste services telnet

    "oot"1# set syste services ssh

    "oot"1# set syste login user "1 class super-user authentication plain-te>t-

    pass*ord

    En&er assor abc1!

    +e&$e assor abc1!

    Configuring telnet on ".

    "oot"# set syste services telnet

    "oot"#set syste services ssh

    "oot"1# set syste login user " class super-user authentication plain-te>t-

    pas