LAB MANUAL FOR JNCIA

  • View
    127

  • Download
    11

Embed Size (px)

Text of 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

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 exitInstructions: 1. Enter into configuration mode 2. Get back to the operational mode user@R1>configure [edit] user@R1#exit user@R1>

10.2 : Lab Exercise 2 : Setting Host Nameuser@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 NameInstructions: 1. Enter into configuration mode 2. 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#

10.4 : Lab Exercise 4 : Configure the Root Password (Encrypted Password)Instructions: 1. Enter into configuration mode 2. Move to the root-authentication hierarchy 3. 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 ServerDescription: 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 RouterDescription: This exercise demonstrates configuring a backup router. Instructions: 1. Enter into configuration mode 2. Configure the backup router with an address of 196.20.32.15/24

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 ConfigurationDescription: 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 mode 2. Set ip address of so-0/0/1 as 196.20.32.15 and subnet mask as 24 3. 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#commit commit complete [edit] user@R1#exit user@R1>show interfaces so-0/0/1

10.8 : Lab Exercise 8 : Shut down an InterfaceDescription: By default, an interface will be in up state. We need to issue disable command to bring-down the interface. Instructions:

1. View the information about interface serial 0 2. Bring serial 0 to no shutdown state 3. 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 DescriptionDescription: 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 InterfaceDescription: The following lab configures the PPP encapsulation on the physical interface so0/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

[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 KeepalivesDescription: 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 TimersDescription: 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

[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 12port and 48-port PICs. Instructions: 1. Enter into configuration mode 2. 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 interfaceDescription: This exercise demonstrates setting bandwidth on an interface. Instructions: 1. Enter into configuration mode 2. 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]

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 transitionsDescription: 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 RateDescription: 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]

user@R1#exit [edit] u