+ All Categories
Home > Documents > LAB MANUAL FOR JNCIA

LAB MANUAL FOR JNCIA

Date post: 24-Nov-2014
Category:
Upload: amit-kumar-saini
View: 183 times
Download: 22 times
Share this document with a friend
Popular Tags:
44
LAB MANUAL FOR JNCIA (ENTERPRISE ROUTING) CONTENTS: 10. Routing Fundamental Labs 10.1. Lab Exercise 1 : Entering configuration mode on a router and exit 10.2. Lab Exercise 2 : Setting host name 10.3. Lab Exercise 3 : Setting routers domain name 10.4. Lab Exercise 4 : Configure the root password (Encrypted Password) 10.5. Lab Exercise 5 : Configure a DNS name server 10.6. Lab Exercise 6 : Configure a backup router 10.7. Lab Exercise 7 : Router interface address configuration 10.8. Lab Exercise 8 : Shut down an interface 10.9. Lab Exercise 9 : Set interface description 10.10. Lab Exercise 10 : Configuring encapsulation on a physical interface 10.11. Lab Exercise 11 : Configuring keepalives 10.12. Lab Exercise 12 : Set keepalive timers 10.13. Lab Exercise 13 : Configuring management ethernet interface (fxp0) 10.14. Lab Exercise 14 : Setting bandwidth on an interface 10.15. Lab Exercise 15 : Setting the hold-time value on a physical interface 10.16. Lab Exercise 16 : Setting the DTE clock rate 10.17. Lab Exercise 17 : Basic gigabit ethernet configuration on a J-series router 10.18 Lab Exercise 18 : Configuring speed on sonet interface 10.19 Lab Exercise 19 : Show chassis commands on J and M series routers 11. Static Routing Labs 11.1. Lab Exercise 1 : Configuring static routes 11.2. Lab Exercise 2 : Ping Test 11.3. Lab Exercise 3 : Telnet 11.4 Lab Exercise 4 : Traceroute
Transcript
Page 1: LAB MANUAL FOR JNCIA

LAB MANUAL FOR JNCIA  (ENTERPRISE ROUTING)

CONTENTS:

10.  Routing Fundamental Labs       10.1. Lab Exercise 1 : Entering configuration mode on a router and exit       10.2. Lab Exercise 2 : Setting host name       10.3. Lab Exercise 3 : Setting routers domain name       10.4. Lab Exercise 4 : Configure the root password (Encrypted Password)       10.5. Lab Exercise 5 : Configure a DNS name server       10.6. Lab Exercise 6 : Configure a backup router       10.7. Lab Exercise 7 : Router interface address configuration       10.8. Lab Exercise 8 : Shut down an interface       10.9. Lab Exercise 9 : Set interface description       10.10. Lab Exercise 10 : Configuring encapsulation on a physical interface       10.11. Lab Exercise 11 : Configuring keepalives       10.12. Lab Exercise 12 : Set keepalive timers       10.13. Lab Exercise 13 : Configuring management ethernet interface (fxp0)       10.14. Lab Exercise 14 : Setting bandwidth on an interface       10.15. Lab Exercise 15 : Setting the hold-time value on a physical interface       10.16. Lab Exercise 16 : Setting the DTE clock rate        10.17. Lab Exercise 17 : Basic gigabit ethernet configuration on a J-series router       10.18  Lab Exercise 18 : Configuring speed on sonet interface       10.19  Lab Exercise 19 : Show chassis commands on J and M series routers

11.  Static Routing Labs       11.1. Lab Exercise 1 : Configuring static routes       11.2. Lab Exercise 2 : Ping Test       11.3. Lab Exercise 3 : Telnet       11.4  Lab Exercise 4 : Traceroute

12.  Policies Configuration Labs      12.1. Lab Exercise 1 : Routing policy lab 1      12.2. Lab Exercise 2 : Routing policy lab 2

13.  RIP Configuration Labs       13.1. Lab Exercise 1 : RIP configuration

14.  Dynamic Routing Labs      14.1. Lab Exercise 1 : Ping test by configuring RIP      14.2. Lab Exercise 2 : Ping test by configuring OSPF with multiple areas

15.  Show Commands Labs      15.1. Lab Exercise 1 : Show commands lab

16.  OSPF Labs

Page 2: LAB MANUAL FOR JNCIA

      16.1. Lab Exercise 1 : OSPF configuration      16.2. Lab Exercise 2 : OSPF configuration and verification

10.1 : Lab Exercise 1 : Entering configuration mode on a Router, and exit

Instructions:

1. Enter into configuration mode 2. Get back to the operational mode

user@R1>configure[edit]user@R1#exituser@R1>

10.2 : Lab Exercise 2 : Setting Host Name

user@R1>configure[edit]user@R1#edit system[edit system]user@R1#set host-name juniper1[edit system]user@juniper1#exit[edit]user@juniper1#exit

10.3 : Lab Exercise 3 : Setting Routers Domain Name

Instructions:

1. Enter into configuration mode2. Set domain name as mydomain.net.

user@R1>configure[edit]user@R1#edit system[edit system]user@R1#set domain-name mydomain.net[edit system]user@R1#exit[edit]user@R1#

Page 3: LAB MANUAL FOR JNCIA

10.4 : Lab Exercise 4 : Configure the Root Password (Encrypted Password)

Instructions:

1. Enter into configuration mode2. Move to the root-authentication hierarchy3. Set the encrypted password as 24adr3e

user@R1>configure[edit]user@R1#edit system root-authentication [edit system root-authentication]user@R1#set encrypted-password 24adr3e[edit system root-authentication]user@R1#exit[edit]user@R1#

10.5 : Lab Exercise 5 : Configure a DNS Name Server

Description: For the Router to resolve hostnames into addresses, one or more DNS name servers have to be configured. 

Instructions:

1. Enter into configuration mode 2. Set the DNS name server as 196.20.32.15

user@R1>configure[edit]user@R1#edit system[edit system]user@R1#set name-server 196.20.32.15[edit system]user@R1#exit[edit]user@R1#

10.6 : Lab Exercise 6 : Configure a Backup Router

Description: This exercise demonstrates configuring a backup router.

Instructions:

1. Enter into configuration mode2. Configure the backup router with an address of 196.20.32.15/24

Page 4: LAB MANUAL FOR JNCIA

user@R1>configure[edit]user@R1#edit system[edit system]user@R1#set backup-router 196.20.32.15/24[edit system]user@R1#exit[edit]user@R1#

 10.7 : Lab Exercise 7 : Router Interface Address Configuration

Description: In this lab, you configure so-0/0/1 interface under unit 0 and family inet on a router with specified ip address and subnet mask. Choose R1 in the network diagram and exit.

Instructions:

1. Enter into configuration mode2. Set ip address of so-0/0/1 as 196.20.32.15 and subnet mask as 243. Issue show interfaces command to verify the configuration

user@R1>configure[edit]user@R1#edit interfaces so-0/0/1[edit interfaces so-0/0/1]user@R1#edit unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R1#set address 196.20.32.15/24[edit interfaces so-0/0/1 unit 0 family inet]user@R1#exit[edit interfaces so-0/0/1]user@R1#exit[edit]user@R1#commitcommit complete[edit]user@R1#exituser@R1>show interfaces so-0/0/1

10.8 : Lab Exercise 8 : Shut down an Interface

Description: By default, an interface will be in up state. We need to issue disable command to bring-down the interface.

Instructions:

Page 5: LAB MANUAL FOR JNCIA

1. View the information about interface serial 02. Bring serial 0 to no shutdown state3. Now view the state of the interface serial 0

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R1#set disable[edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#

10.9 : Lab Exercise 9 : Set Interface Description

Description: In this exercise, description to an interface is set by using set description command.

Instructions:

1. Enter into configuration mode.2. Set the description of interface so-0/0/0 as "interface-so-0/0/0" .

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R1#set description "interface-so-0/0/0"[edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#

10.10 : Lab Exercise 10 : Configuring the Encapsulation on a Physical Interface

Description: The following lab configures the PPP encapsulation on the physical interface so-0/0/0

Instructions:

1. Enter into configuration mode.2. Set the encapsulation of interface so-0/0/0 as ppp.

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0

Page 6: LAB MANUAL FOR JNCIA

[edit interfaces so-0/0/0]user@R1#set encapsulation ppp[edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#

10.11 : Lab Exercise 11 : Configuring Keepalives

Description: By default, physical interfaces configured with Cisco HDLC or PPP encapsulation send keepalive packets at 10-second intervals, use this lab to disable the sending of keepalives and then enable it back on interface so-0/0/0.

Instructions:

1. Enter into configuration mode.2. Disable the sending of keepalives on so-0/0/0.3. Enable the sending of keepalives on so-0/0/0 with an interval of 40 seconds, down-count as 30 and up-count as 20 seconds.

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R1#set no-keepalives[edit interfaces so-0/0/0]user@R1#set keepalives 40 30 20        [edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#

10.12 : Lab Exercise 12 : Set Keepalive Timers

Description: This exercise demonstrates setting keepalive timers on the router.

Instructions:

1. Enter into configuration mode.2. Set keepalive interval as 1000, down count as 12 and up count as 12 of interface so-0/0/0.

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R1#set keepalives 1000 12 12

Page 7: LAB MANUAL FOR JNCIA

[edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#

10.13 : Lab Exercise 13 : Configuring the Management Ethernet interface (fxp0)

Description: By default, the management Ethernet interface (fxp0) autonegotiates whether to operate at 10 megabits per second (Mbps) or 100 Mbps. All other interfaces automatically choose the correct speed based on the PIC type and whether the PIC is configured to operate in multiplexed mode. This lab is used to configure the management Ethernet interface speed. This statement applies only to the management Ethernet interface (fxp0) and to the Fast Ethernet 12-port and 48-port PICs.

Instructions:

1. Enter into configuration mode2. Set the management Ethernet interface (fxp0)  speed to 10 Mbps

user@R1>configure[edit]user@R1#edit interfaces fxp0[edit interfaces fxp0]user@R1#set speed 10m[edit interfaces fxp0]user@R1#exit[edit]user@R1#

10.14 : Lab Exercise 14 : Setting Bandwidth on an interface

Description: This exercise demonstrates setting bandwidth on an interface.

Instructions: 

1. Enter into configuration mode2. Set bandwidth of so-0/0/0 unit 0 as 1000k  

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R1#edit unit 0[edit interfaces so-0/0/0 unit 0]user@R1#set bandwidth 1000k[edit interfaces so-0/0/0 unit 0]

Page 8: LAB MANUAL FOR JNCIA

user@R1#exit[edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#

10.15 : Lab Exercise 15 : Configuring the hold-time value on a physical interface to damp interface transitions

Description: Hold-time value is used to damp interface transitions. When an interface goes from up to down, it is not advertised to the rest of the system as being down until it has remained down for the hold-time period. Similarly, an interface is not advertised as being up until it has remained up for the hold-time period.

Instructions:

1. Enter into configuration mode.2. Set the holdtime value of 200 milliseconds  to use when an interface transitions from down to up and holdtime value of 200 milliseconds  to use when an interface transitions from up to down .

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R1#set hold-time up 200 down 200[edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#

10.16 : Lab Exercise 16 : Configuring the DTE Clock Rate

Description: This lab is used to configure the DTE clock-rate in serial clocking mode.

Instructions:

1. Enter into configuration mode.2. Configure the clock rate of 2.048mhz on so-0/0/0.

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0 serial-options[edit interfaces so-0/0/0 serial-options]user@R1#set clock-rate 2.048mhz[edit interfaces so-0/0/0 serial-options]

Page 9: LAB MANUAL FOR JNCIA

user@R1#exit[edit]user@R1#

           10.17 : Lab Exercise 17 : Basic gigabit ethernet configuration on a J-series router

           Description : This lab exercise demonstrates configuring the gigabit ethernet interface on a J-series router and also setting other basic            parameters like hostname, domain-name, name-server, backup router etc. Show command is issued to verify the configuration set           on the router.

                      Instructions

          1. Enter into system hierarchy on R1          2. Set the router hostname as Router1, domain-name as router.net, root-authentication as vhvc#!, name-server as 10.148.2.32,              backup-router as 192.168.2.34/24             3. Exit from system hierarchy and enter into interfaces hierarchy          4. Set the IP address on all the four fixed Gigabit Ethernet ports of J-Series router          5. Commit the configuration          6. Issue show configuration to verify the configuration set on the router.          7. Issue show interfaces brief command to display brief information about all interfaces configured on the router.          8. Issue show interfaces terse command to display summary information about interfaces.

           user@R1>configure           [edit]           user@R1#edit system           [edit system]           user@R1#set host-name Router1           [edit system]           user@ Router1#set domain-name router.net           [edit system]           user@ Router1#set root-authentication encrypted-password vhvc#!           [edit system]           user@ Router1#set name-server 10.148.2.32

Page 10: LAB MANUAL FOR JNCIA

           [edit system]           user@ Router1#set backup-router 192.168.2.34/24           [edit system]           user@ Router1#exit           [edit]           user@ Router1#edit interfaces           [edit interfaces]           user@ Router1#set ge-0/0/0 unit 0 family inet address 192.168.1.1/24           [edit interfaces]           user@ Router1#set ge-0/0/1 unit 0 family inet address 192.168.2.1/24           [edit interfaces]           user@ Router1#set ge-0/0/2 unit 0 family inet address 192.168.3.1/24           [edit interfaces]           user@ Router1#set ge-0/0/3 unit 0 family inet address 192.168.4.1/24           [edit interfaces]           user@ Router1#exit           [edit]           user@Router1#commit           commit complete           [edit]           user@ Router1#exit           user@Router1>show configuration           user@Router1>show interfaces brief           user@Router1>show interfaces terse

           10.18 : Lab Exercise 18 : Configuring speed on sonet interface

            Description : This lab exercise demonstrates configuring sonet interface speed.

            Instructions                         1. Enter into interfaces hierarchy on R1            2. Set the sonet interface speed to OC48                               user@R1>configure             [edit]             user@R1#edit interfaces             [edit interfaces]             user@R1#set so-0/0/0 speed OC48             [edit interfaces]

           10.19 : Lab Exercise 19 : Show chassis commands on J and M-series routers

         Description: This lab demonstrates the show chassis commands.

Page 11: LAB MANUAL FOR JNCIA

           

              Instructions

              1. Display environmental information about the routing platform chassis,including the temperature and information about the fans, power supplies, and Routing Engine              2. Displays a list of all Flexible Physical Interface Card Concentrators (FPCs) and PICs installed in the router chassis, including the hardware version level and serial number.              3. Displays the FIC information, such as the FIC type, ASIC type, operating status, PIC version,and the amount of time the FIC has been online.The command output also displays port cable information.

11.  STATIC ROUTING LABS

11.1 : Lab Exercise 1 : Configuring Static Routes

Description: Configure static route 172.16.1.0 mask 255.255.255.0 with next hop address of 192.16.2.1.

syntax: ip route prefix mask {address|interface} [distance]

prefix mask: is the ip route prefix and mask for the destination. address|interface: Use either the next hop router ip or the local router outbound interface used to reach the destination.distance: is the administrative distance and an optional parameter.

Instructions:

Page 12: LAB MANUAL FOR JNCIA

1. Enter into Global Configuration Mode 2. Configure a static route to a destination sub-network (172.16.1.0) with 24-bit subnet mask and next hop IP address of 172.16.2.1.  

user@R1>configure[edit]user@R1#edit routing-options[edit routing-options]user@R1#edit static route 172.16.1.0/24[edit routing-options static route 172.16.1.0/24] user@R1#set next-hop 172.16.2.1[edit routing-options static route 172.16.1.0/24]user@R1#exit[edit routing-options]user@R1#exit[edit]user@R1#

11.2 : Lab Exercise 2 : Ping testDescription: The purpose of this lab is to configure IP Address on all the devices and test for connectivity using ping command. Applicable network diagram is given below

 

Instructions:

Page 13: LAB MANUAL FOR JNCIA

1. Assign the IP address of all the devices as given below and commit the configurations

 

Device Interface IP Address Mask

R1So-0/0/0So-0/0/1

192.168.1.1192.168.3.2

255.255.255.0255.255.255.0

R2So-0/0/0So-0/0/1

192.168.3.1192.168.2.1

255.255.255.0255.255.255.0

R3So-0/0/0So-0/0/1

192.168.1.2192.168.2.2

255.255.255.0255.255.255.0

2. From R1 issue a ping command to R2 and R33. Commands to be executed:

On R1:

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R1#edit unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R1#set address 192.168.1.1/24[edit interfaces so-0/0/0 unit 0 family inet]user@R1#exit[edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#edit interfaces so-0/0/1[edit interfaces so-0/0/1]user@R1#edit unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R1#set address 192.168.3.2/24[edit interfaces so-0/0/1 unit 0 family inet]user@R1#exit[edit interfaces so-0/0/1]user@R1#exit[edit]user@R1#commitcommit complete[edit]user@R1#

On R2:

Page 14: LAB MANUAL FOR JNCIA

user@R2>configure[edit]user@R2#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R2#edit unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R2#set address 192.168.3.1/24[edit interfaces so-0/0/0 unit 0 family inet]user@R2#exit[edit interfaces so-0/0/0]user@R2#exit[edit]user@R2#edit interfaces so-0/0/1[edit interfaces so-0/0/1]user@R2#edit unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R2#set address 192.168.2.1/24[edit interfaces so-0/0/1 unit 0 family inet]user@R2#exit[edit interfaces so-0/0/1]user@R2#exit[edit]user@R2#commitcommit complete[edit]user@R2#

On R3:

user@R3>configure[edit]user@R3#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R3#edit unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R3#set address 192.168.1.2/24[edit interfaces so-0/0/0 unit 0 family inet]user@R3#exit[edit interfaces so-0/0/0]user@R3#exit[edit]user@R3#edit interfaces so-0/0/1[edit interfaces so-0/0/1user@R3#edit unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R3#set address 192.168.2.2/24

Page 15: LAB MANUAL FOR JNCIA

[edit interfaces so-0/0/1 unit 0 family inet]user@R3#exit[edit interfaces so-0/0/1]user@R3#exit[edit]user@R3#commitcommit complete[edit]user@R3#

On R1:

user@R1>ping 192.168.2.2user@R1>ping 192.168.2.1

11.3 : Lab Exercise 3 : Telnet

  Description: The purpose of this lab is to configure IP Address on all the devices and test for telnet command. Applicable network diagram is shown below:

  Instructions:

1.Assign the IP address of all the devices as given below and commit the configurations

Device Interface IP Address Mask

Page 16: LAB MANUAL FOR JNCIA

R1So-0/0/0So-0/0/1

192.168.1.1192.168.3.2

255.255.255.0255.255.255.0

R2So-0/0/0So-0/0/1

192.168.3.1192.168.2.1

255.255.255.0255.255.255.0

R3So-0/0/0So-0/0/1

192.168.1.2192.168.2.2

255.255.255.0255.255.255.0

2. From R1 issue a telnet command to R2 and R3 and use quit command to close the telnet connection3. Issue show system users command on R2 to view the logged in users on the router4. Commands to be executed:

On R1:

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R1#edit unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R1#set address 192.168.1.1/24[edit interfaces so-0/0/0 unit 0 family inet]user@R1#exit[edit interfaces so-0/0/0]user@R1#exit[edit]user@R1#edit interfaces so-0/0/1[edit interfaces so-0/0/1]user@R1#edit unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R1#set address 192.168.3.2/24[edit interfaces so-0/0/1 unit 0 family inet]user@R1#exit[edit interfaces so-0/0/1]user@R1#exit[edit]user@R1#commitcommit complete[edit]user@R1#

On R2:

user@R2>configure[edit]

Page 17: LAB MANUAL FOR JNCIA

user@R2#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R2#edit unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R2#set address 192.168.3.1/24[edit interfaces so-0/0/0 unit 0 family inet]user@R2#exit[edit interfaces so-0/0/0]user@R2#exit[edit]user@R2#edit interfaces so-0/0/1[edit interfaces so-0/0/1]user@R2#edit unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R2#set address 192.168.2.1/24[edit interfaces so-0/0/1 unit 0 family inet]user@R2#exit[edit interfaces so-0/0/1]user@R2#exit[edit]user@R2#commitcommit complete[edit]user@R2#

On R3:

user@R3>configure[edit]user@R3#edit interfaces so-0/0/0[edit interfaces so-0/0/0]user@R3#edit unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R3#set address 192.168.1.2/24[edit interfaces so-0/0/0 unit 0 family inet]user@R3#exit[edit interfaces so-0/0/0]user@R3#exit[edit]user@R3#edit interfaces so-0/0/1[edit interfaces so-0/0/1]user@R3#edit unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R3#set address 192.168.2.2/24[edit interfaces so-0/0/1 unit 0 family inet]user@R3#exit

Page 18: LAB MANUAL FOR JNCIA

[edit interfaces so-0/0/1]user@R3#exit[edit]user@R3#commitcommit complete[edit]user@R3#

On R1:

user@R1>telnet 192.168.2.2user@R1>telnet 192.168.2.1user@R2>show system users

11.4 : Lab Exercise 4 : Traceroute                       Description: The purpose of this lab is to configure the routers and test for traceroute command.

         

        Instructions:

        1. Assign the IP address of all the devices as given below

Device Interface IP Address Mask R1 se-0/0/0 192.168.3.1 255.255.255.0

Page 19: LAB MANUAL FOR JNCIA

se-0/0/1 192.168.1.1 255.255.255.0

R2 se-0/0/0se-0/0/1

192.168.1.2192.168.2.1

255.255.255.0255.255.255.0

R3 se-0/0/0se-0/0/1

192.168.3.2192.168.2.2

255.255.255.0255.255.255.0

2. From R1 issue a traceroute command to R3

Commands to be executed:

On R1:

user@R1>configure[edit]user@R1#edit interfaces se-0/0/0[edit interfaces se-0/0/0]user@R1#edit unit 0 family inet[edit interfaces se-0/0/0 unit 0 family inet]user@R1#set address 192.168.3.1/24[edit interfaces se-0/0/0 unit 0 family inet]user@R1#exit[edit interfaces se-0/0/0]user@R1#exit[edit]user@R1#edit interfaces se-0/0/1[edit interfaces se-0/0/1]user@R1#edit unit 0 family inet[edit interfaces se-0/0/1 unit 0 family inet]user@R1#set address 192.168.1.1/24[edit interfaces se-0/0/1 unit 0 family inet]user@R1#exit[edit interfaces se-0/0/1]user@R1#exit[edit]user@R1#commitcommit complete[edit]user@R1#

On R2:

user@R2>configure[edit]user@R2#edit interfaces se-0/0/0[edit interfaces se-0/0/0]user@R2#edit unit 0 family inet

Page 20: LAB MANUAL FOR JNCIA

[edit interfaces se-0/0/0 unit 0 family inet]user@R2#set address 192.168.1.2/24[edit interfaces se-0/0/0 unit 0 family inet]user@R2#exit[edit interfaces se-0/0/0]user@R2#exit[edit]user@R2#edit interfaces se-0/0/1[edit interfaces se-0/0/1]user@R2#edit unit 0 family inet[edit interfaces se-0/0/1 unit 0 family inet]user@R2#set address 192.168.2.1/24[edit interfaces se-0/0/1 unit 0 family inet]user@R2#exit[edit interfaces se-0/0/1]user@R2#exit[edit]user@R2#commitcommit complete[edit]user@R2#

On R3:

user@R3>configure[edit]user@R3#edit interfaces se-0/0/0[edit interfaces se-0/0/0]user@R3#edit unit 0 family inet[edit interfaces se-0/0/0 unit 0 family inet]user@R3#set address 192.168.3.2/24[edit interfaces se-0/0/0 unit 0 family inet]user@R3#exit[edit interfaces se-0/0/0]user@R3#exit[edit]user@R3#edit interfaces se-0/0/1[edit interfaces se-0/0/1]user@R3#edit unit 0 family inet[edit interfaces se-0/0/1 unit 0 family inet]user@R3#set address 192.168.2.2/24[edit interfaces se-0/0/1 unit 0 family inet]user@R3#exit[edit interfaces se-0/0/1]user@R3#exit[edit]

Page 21: LAB MANUAL FOR JNCIA

user@R3#commitcommit complete[edit]user@R3#

On R1:

user@R1>traceroute 192.168.2.2

12.  POLICIES CONFIGURATION LABS

12.1 : Lab Exercise 1 : Routing Policy Lab 1

 Description: Use this lab to configure the routing policy on router, by specifying the match condition to accept all rip routes, that is checked against the source address of the route advertised.

Instructions:

1. Enter into configuration mode.2. Create a policy statement by name as same as riproutes.3. Create a term under the policy created above by the name as AdvRip.4. Create a match condition and specify to accept rip routes under the above term.

user@R1>configure[edit]user@R1#edit policy-options policy-statement riproutes[edit policy-options policy-statement riproutes]user@R1#edit term AdvRip[edit policy-options policy-statement riproutes term AdvRip]user@R1#edit from[edit policy-options policy-statement riproutes term AdvRip from]user@R1#set protocol rip[edit policy-options policy-statement riproutes term AdvRip from]user@R1#exit[edit policy-options policy-statement riproutes term AdvRip]user@R1#edit then[edit policy-options policy-statement riproutes term AdvRip then]user@R1#set accept[edit policy-options policy-statement riproutes term AdvRip then]user@R1#exit[edit policy-options policy-statement riproutes term AdvRip]user@R1#exit[edit policy-options policy-statement riproutes]user@R1#exit

Page 22: LAB MANUAL FOR JNCIA

[edit]user@R1#

12.2 : Lab Exercise 2 : Routing Policy Lab 2

 Description: Use this lab to configure the routing policy on router, by specifying the match condition to reject all rip routes, that is checked against the source address of the route advertised.

Instructions:

1. Enter into configuration mode.2. Create a policy statement by name as same as riproutes.3. Create a term under the policy created above by the name as AdvRip.4. Create a match condition and specify to reject rip routes under the above term.

user@R1>configure[edit]user@R1#edit policy-options policy-statement riproutes[edit policy-options policy-statement riproutes]user@R1#edit term AdvRip[edit policy-options policy-statement riproutes term AdvRip]user@R1#edit from[edit policy-options policy-statement riproutes term AdvRip from]user@R1#set protocol rip[edit policy-options policy-statement riproutes term AdvRip from]user@R1#exit[edit policy-options policy-statement riproutes term AdvRip]user@R1#edit then[edit policy-options policy-statement riproutes term AdvRip then]user@R1#set reject[edit policy-options policy-statement riproutes term AdvRip then]user@R1#exit[edit policy-options policy-statement riproutes term AdvRip]user@R1#exit[edit policy-options policy-statement riproutes]user@R1#exit[edit]user@R1#

13.  RIP CONFIGURATION LAB  13.1 : Lab Exercise 1 : RIP Configuration

Description: Use this lab to configure the RIP on router, by applying an export and import policies at their respective hierarchical levels.

Page 23: LAB MANUAL FOR JNCIA

Instructions:

1. Enter into configuration mode.2. Enable RIP routing on the router.3. Create a group called neighborRouters apply an export policy riproutes to this group.4. Specify the neighbor interface as so-0/0/0 under the above created group and apply an import policy riproutes to this neighbor.

user@R1>configure[edit]user@R1#edit protocols rip[edit protocols rip]user@R1#edit group neighborRouters[edit protocols rip group neighborRouters]user@R1#set export riproutes[edit protocols rip group neighborRouters]user@R1#edit neighbor so-0/0/0[edit protocols rip group neighborRouters neighbor so-0/0/0]user@R1#set import riproutes[edit protocols rip group neighborRouters neighbor so-0/0/0]user@R1#exit[edit protocols rip group neighborRouters]user@R1#exit[edit protocols rip]user@R1#exit[edit]user@R1#

14.  DYNAMIC ROUTING LABS 14.1 : Lab Exercise 1 : Ping test by configuring RIP 

Description: The purpose of this lab is to configure RIP Routing and other required commands to advertise these rip routes on all the devices and test for ping command. Applicable network diagram is given below:

Page 24: LAB MANUAL FOR JNCIA

Note: .1 on router 1 So refers to 192.168.1.1. Similarly other IP addresses to be interpreted.

Instructions:

1. Assign the IP address of all the devices as given below 

Device Interface IP Address Mask

R1So-0/0/0So-0/0/1

192.168.3.1192.168.1.1

255.255.255.0255.255.255.0

R2So-0/0/0So-0/0/1

192.168.1.2192.168.2.1

255.255.255.0255.255.255.0

R3So-0/0/0So-0/0/1

192.168.3.2192.168.2.2

255.255.255.0255.255.255.0

  2. Enable RIP routing on all the devices3. Specify the policy to accept the rip routes on all the devices4. Apply an import policy and an export policy (policy created above) on all the devices.5. Issue show rip neighbor command on all the devices to view its neighbor information6. From R1 issue a ping command to R2 and R3

On R1:

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0 unit 0 family inet

Page 25: LAB MANUAL FOR JNCIA

[edit interfaces so-0/0/0 unit 0 family inet]user@R1#set address 192.168.3.1/24[edit interfaces so-0/0/0 unit 0 family inet]user@R1#exit[edit]user@R1#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R1#set address 192.168.1.1/24[edit interfaces so-0/0/1 unit 0 family inet]user@R1#exit[edit]user@R1#edit policy-options policy-statement R1pol term R1term[edit policy-options policy-statement R1pol term R1term]user@R1#edit from[edit policy-options policy-statement R1pol term R1term from]user@R1#set protocol rip[edit policy-options policy-statement R1pol term R1term from]user@R1#exit[edit policy-options policy-statement R1pol term R1term]user@R1#edit then[edit policy-options policy-statement R1pol term R1term then]user@R1#set accept[edit policy-options policy-statement R1pol term R1term then]user@R1#exit[edit policy-options policy-statement R1pol term R1term]user@R1#exit[edit]user@R1#edit protocols rip group R1grp[edit protocols rip group R1grp]user@R1#set export R1pol[edit protocols rip group R1grp]user@R1#edit neighbor so-0/0/0[edit protocols rip group R1grp neighbor so-0/0/0]user@R1#set import R1pol[edit protocols rip group R1grp neighbor so-0/0/0]user@R1#exit[edit protocols rip group R1grp]user@R1#edit neighbor so-0/0/1[edit protocols rip group R1grp neighbor so-0/0/1]user@R1#set import R1pol[edit protocols rip group R1grp neighbor so-0/0/1]user@R1#exit[edit protocols rip group R1grp]user@R1#exit[edit]user@R1#commit

Page 26: LAB MANUAL FOR JNCIA

commit complete[edit]user@R1#exit user@R1>show rip neighbor

On R2:

user@R2>configure[edit]user@R2#edit interfaces so-0/0/0 unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R2#set address 192.168.1.2/24[edit interfaces so-0/0/0 unit 0 family inet]user@R2#exit[edit]user@R2#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R2#set address 192.168.2.1/24[edit interfaces so-0/0/1 unit 0 family inet]user@R2#exit[edit]user@R2#edit policy-options policy-statement R2pol term R2term[edit policy-options policy-statement R2pol term R2term]user@R2#edit from[edit policy-options policy-statement R2pol term R2term from]user@R2#set protocol rip[edit policy-options policy-statement R2pol term R2term from]user@R2#exit[edit policy-options policy-statement R2pol term R2term]user@R2#edit then[edit policy-options policy-statement R2pol term R2term then]user@R2#set accept[edit policy-options policy-statement R2pol term R2term then]user@R2#exit[edit policy-options policy-statement R2pol term R2term]user@R2#exit[edit]user@R2#edit protocols rip group R2grp[edit protocols rip group R2grp]user@R2#set export R2pol[edit protocols rip group R2grp]user@R2#edit neighbor so-0/0/0[edit protocols rip group R2grp neighbor so-0/0/0]user@R2#set import R2pol[edit protocols rip group R2grp neighbor so-0/0/0]user@R2#exit

Page 27: LAB MANUAL FOR JNCIA

[edit protocols rip group R2grp]user@R2#edit neighbor so-0/0/1[edit protocols rip group R2grp neighbor so-0/0/1]user@R2#set import R2pol[edit protocols rip group R2grp neighbor so-0/0/1]user@R2#exit[edit protocols rip group R2grp]user@R2#exit[edit]user@R2#commitcommit complete[edit]user@R2#exituser@R2>show rip neighbor

On R3:

user@R3>configure[edit]user@R3#edit interfaces so-0/0/0 unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R3#set address 192.168.3.2/24[edit interfaces so-0/0/0 unit 0 family inet]user@R3#exit[edit]user@R3#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R3#set address 192.168.2.2/24[edit interfaces so-0/0/1 unit 0 family inet]user@R3#exit[edit]user@R3#edit policy-options policy-statement R3pol term R3term[edit policy-options policy-statement R3pol term R3term]user@R3#edit from[edit policy-options policy-statement R3pol term R3term from]user@R3#set protocol rip[edit policy-options policy-statement R3pol term R3term from]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

Page 28: LAB MANUAL FOR JNCIA

[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#commitcommit complete[edit]user@R3#exit user@R3>show rip neighbor

On R1:

user@R1>ping 192.168.2.2user@R1>ping 192.168.2.1

 14.2 : Lab Exercise 2 : Ping test by configuring OSPF with multiple areas 

Description: The purpose of this lab is to configure OSPF on all the devices with multiple areas including backbone (area 0) area and test for ping command. Applicable network diagram is as given below:

Page 29: LAB MANUAL FOR JNCIA

Note: .1 on router 1 So refers to 192.168.1.1. Similarly other IP addresses to be interpreted.

Instructions:

1. Assign the IP address of all the devices as given below

Device Interface IP Address Mask

R1So-0/0/0So-0/0/1

192.168.3.1192.168.1.1

255.255.255.0255.255.255.0

R2So-0/0/0So-0/0/1

192.168.1.2192.168.2.1

255.255.255.0255.255.255.0

R3So-0/0/0So-0/0/1

192.168.3.2192.168.2.2

255.255.255.0255.255.255.0

    2. Enable OSPF on R1 with So-0/0/0 under area 0 and So-0/0/1 under area 10 3. Enable OSPF on R2 with So-0/0/0 under area 10 and So-0/0/1 under area 20 4. Enable OSPF on R3 with So-0/0/0 under area 0 and So-0/0/1 under area 20 5. From R1 issue a ping command to R2 and R3.

On R1:

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0 unit 0 family inet

Page 30: LAB MANUAL FOR JNCIA

[edit interfaces so-0/0/0 unit 0 family inet]user@R1#set address 192.168.3.1/24[edit interfaces so-0/0/0 unit 0 family inet]user@R1#exit[edit]user@R1#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R1#set address 192.168.1.1/24[edit interfaces so-0/0/1 unit 0 family inet]user@R1#exit[edit]user@R1#edit protocols ospf area 0 interface so-0/0/0[edit protocols ospf area 0 interface so-0/0/0]user@R1#exit[edit]user@R1#edit protocols ospf area 10 interface so-0/0/1[edit protocols ospf area 10 interface so-0/0/1]user@R1#exit[edit]user@R1#commitcommit complete[edit]user@R1#

On R2:

user@R2>configure[edit]user@R2#edit interfaces so-0/0/0 unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R2#set address 192.168.1.2/24[edit interfaces so-0/0/0 unit 0 family inet]user@R2#exit[edit]user@R2#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R2#set address 192.168.2.1/24[edit interfaces so-0/0/1 unit 0 family inet]user@R2#exit[edit]user@R2#edit protocols ospf area 10 interface so-0/0/0[edit protocols ospf area 10 interface so-0/0/0]user@R2#exit[edit]user@R2#edit protocols ospf area 20 interface so-0/0/1[edit protocols ospf area 20 interface so-0/0/1]

Page 31: LAB MANUAL FOR JNCIA

user@R2#exit[edit]user@R2#commitcommit complete[edit]user@R2#

On R3:

user@R3>configure[edit]user@R3#edit interfaces so-0/0/0 unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R3#set address 192.168.3.2/24[edit interfaces so-0/0/0 unit 0 family inet]user@R3#exit[edit]user@R3#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R3#set address 192.168.2.2/24[edit interfaces so-0/0/1 unit 0 family inet]user@R3#exit[edit]user@R3#edit protocols ospf area 0 interface so-0/0/0[edit protocols ospf area 0 interface so-0/0/0]user@R3#exit[edit]user@R3#edit protocols ospf area 20 interface so-0/0/1[edit protocols ospf area 20 interface so-0/0/1]user@R3#exit[edit]user@R3#commitcommit complete[edit]user@R3#

On R1:

user@R1>ping 192.168.2.2user@R1>ping 192.168.2.1

15.  SHOW COMMAND LAB 15.1 : Lab Exercise 1 : Show Commands

Description: This exercise demonstrates various basic show commands available.

Page 32: LAB MANUAL FOR JNCIA

Instructions:

1. Issue show version brief command.2. Issue show cli command.3. Issue show cli history command.

user@R1>show version briefuser@R1>show cliuser@R1>show cli history

16.  OSPF LABS16.1 : Lab Exercise 1 : OSPF Configuration

Description: Use this lab to configure the OSPF on router with an area 0.

Instructions:

1. Enter into configuration mode.2. Enable OSPF routing on the router.3. Put the interfaces so-0/0/0 and so-0/0/1 under area 0 .   

user@R1>configure[edit]user@R1#edit protocols ospf[edit protocols ospf]user@R1#edit area 0 [edit protocols ospf area 0]user@R1#edit interface so-0/0/0 [edit protocols ospf area 0 interface so-0/0/0]user@R1#exit[edit protocols ospf area 0]user@R1#edit interface so-0/0/1  [edit protocols ospf area 0 interface so-0/0/1]user@R1#exit[edit protocols ospf area 0]user@R1#exit  [edit protocols ospf]user@R1#exit  [edit]user@R1#

16.2 : Lab Exercise 2 : OSPF configuration and verification 

Description: The purpose of this lab is to configure OSPF on all the devices with an area of 100 and to verify the configuration using show commands of OSPF. Applicable network diagram is shown below:

Page 33: LAB MANUAL FOR JNCIA

Instructions:

1. Assign the IP address of all the devices as given below 

Device Interface IP Address Mask

R1So-0/0/0So-0/0/1

192.168.3.1192.168.1.1

255.255.255.0255.255.255.0

R2So-0/0/0So-0/0/1

192.168.1.2192.168.2.1

255.255.255.0255.255.255.0

R3So-0/0/0So-0/0/1

192.168.3.2192.168.2.2

255.255.255.0255.255.255.0

  2. Enable OSPF (use area number as 100) on all the interfaces of all the devices3. Issue show ospf interface on R14. Issue show ospf neighbor on R1. 5. Issue show ospf database on R1.

On R1:

user@R1>configure[edit]user@R1#edit interfaces so-0/0/0 unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R1#set address 192.168.3.1/24[edit interfaces so-0/0/0 unit 0 family inet]

Page 34: LAB MANUAL FOR JNCIA

user@R1#exit[edit]user@R1#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R1#set address 192.168.1.1/24[edit interfaces so-0/0/1 unit 0 family inet]user@R1#exit[edit]user@R1#edit protocols ospf area 100 interface so-0/0/0[edit protocols ospf area 100 interface so-0/0/0]user@R1#exit[edit]user@R1#edit protocols ospf area 100 interface so-0/0/1[edit protocols ospf area 100 interface so-0/0/1]user@R1#exit[edit]user@R1#commitcommit complete[edit]user@R1#

On R2:

user@R2>configure[edit]user@R2#edit interfaces so-0/0/0 unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R2#set address 192.168.1.2/24[edit interfaces so-0/0/0 unit 0 family inet]user@R2#exit[edit]user@R2#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R2#set address 192.168.2.1/24[edit interfaces so-0/0/1 unit 0 family inet]user@R2#exit[edit]user@R2#edit protocols ospf area 100 interface so-0/0/0[edit protocols ospf area 100 interface so-0/0/0]user@R2#exit[edit]user@R2#edit protocols ospf area 100 interface so-0/0/1[edit protocols ospf area 100 interface so-0/0/1]user@R2#exit[edit]user@R2#commit

Page 35: LAB MANUAL FOR JNCIA

commit complete[edit]user@R2#

On R3:

user@R3>configure[edit]user@R3#edit interfaces so-0/0/0 unit 0 family inet[edit interfaces so-0/0/0 unit 0 family inet]user@R3#set address 192.168.3.2/24[edit interfaces so-0/0/0 unit 0 family inet]user@R3#exit[edit]user@R3#edit interfaces so-0/0/1 unit 0 family inet[edit interfaces so-0/0/1 unit 0 family inet]user@R3#set address 192.168.2.2/24[edit interfaces so-0/0/1 unit 0 family inet]user@R3#exit[edit]user@R3#edit protocols ospf area 100 interface so-0/0/0[edit protocols ospf area 100 interface so-0/0/0]user@R3#exit[edit]user@R3#edit protocols ospf area 100 interface so-0/0/1[edit protocols ospf area 100 interface so-0/0/1]user@R3#exit[edit]user@R3#commitcommit complete[edit]user@R3#

On R1:

user@R1>show ospf interfaceuser@R1>show ospf neighboruser@R1>show ospf database

 

 


Recommended