31

Click here to load reader

NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

Embed Size (px)

Citation preview

Page 1: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

151Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Sequential LabsThe CCNA® labs contained in this lab guide are based on the Boson NetSim. This Windows®-based product simulates a wide variety of Cisco routers as well as the Cisco Catalyst 1900, 2950, and 5000 switches. The NetSim supports multiple routing protocols, including RIP, IGRP, EIGRP, and single-area OSPF. It supports differ-ent LAN/WAN protocols, including PPP/CHAP, ISDN, and Frame Relay. The exercises in this lab guide require only the NetSim – they do not require access to any external router or switch hardware. It should be noted that the NetSim supports many, but not all, of the IOS commands available on a real router or switch. All the commands referenced in this lab guide are supported through the Simulator.

Lab TopologyThe Lab Topology is shown in the diagram on the next page. (It can also be viewed by selecting the NetMap but-ton at the top of the NetSim screen.) You will have access to the following devices:

Four Cisco 2500 routersEach router has one Ethernet interface and two serial interfaces. One of the Cisco 2500 routers, Router 1, has an ISDN BRI interface.

This router has one Ethernet interface. This router has both an ISDN BRI and a PRI interface.

Two Catalyst 1912 switchesEach of these switches has twelve 10baseT and two Fast Ethernet ports.

Two Catalyst 2950 switchesEach of these switches has twelve 10/100 Ethernet ports.

Two PCs

included in a later table.

1.

2.

3.

4.

5.

Page 2: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

152 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab Topology

Page 3: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

153Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

IP Addresses (FIGURE 1)Device Interface IP Address Subnet Mask

Router 1 e0s0s1bri0

160.10.1.1175.10.1.1215.10.1.1200.10.1.1

255.255.255.0255.255.255.0255.255.255.0255.255.255.0

Router 2 fa0/0bri0s0/0 (ISDN PRI)

160.10.1.2200.10.1.2201.10.1.2

255.255.255.0255.255.255.0255.255.255.0

Router 3 s0s1e0

175.10.1.2180.10.1.1197.10.1.1

255.255.255.0255.255.255.0255.255.255.0

Router 4 e0s0

195.10.1.1180.10.1.2

255.255.255.0255.255.255.0

Router 5 s0 215.10.1.2 255.255.255.0

Switch 1 - 195.10.1.99 255.255.255.0

Switch 2 - 195.10.1.100 255.255.255.0

Switch 3 - 197.10.1.99 255.255.255.0

Switch 4 - 197.10.1.100 255.255.255.0

PC 1 - 195.10.1.2 255.255.255.0

PC 2 - 197.10.1.2 255.255.255.0

Lab ScenariosThere are 20 labs contained in this lab guide. In order for the labs to function properly, you should complete them in sequential order. You will be asked questions at various points during the labs. Answers to these ques-tions are provided in Appendix B at the end of this lab guide.

eRouters, eSwitches, or eStations menus at the top of the Simulator screen. The next step is to select the Save option from the File

devices. To accomplish this, select the option from the File menu at the top of the

Load or option from the File menu. Note: This process

can take a few minutes to complete. Be patient!

Page 4: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

154 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Objective show commands on a Cisco router.Select Router 1 from the eRouters drop-down menu in the toolbar. Press ENTER to get to the user prompt.Router>The greater-than symbol (>) in the prompt indicates that the router is in user mode. Type ? to see a list of commands that can be entered in user mode. Router> ?Type enable to access privileged mode. The pound sign (#) in the prompt indicates that you are now in privileged mode.Router> enableRouter#Type ? to see a list of commands that can be entered in privileged mode. Notice that more commands are available in privileged mode than are available in user mode. For instance, the configure and reloadcommands can only be issued in privileged mode.Router# ?Exit privileged mode by typing disable.Router# disableRouter>Re-enter privileged mode, and type configure terminalRouter> enableRouter# configure terminalRouter(config)#

router1. Notice how the prompt changes.Router(config)# hostname router1router1(config)#

enable ?. This will show valid parameters that can be entered with the enable ccnalab that will not be encrypted

cisco that will be encrypted.router1(config)# enable ?router1(config)# enable password ccnalabrouter1(config)# enable secret cisco

used?

and subnet masks.) The interface is currently in shutdown mode; activate the interface. You should see a message informing you that the Ethernet 0 interface state has changed to up. Practice using the TAB key by typing int and then pressing the TAB key. (Do not type any spaces.) You should see the word interfacespelled out. router1(config)# int TABrouter1(config)# interface ethernet0router1(config-if)# ip address 160.10.1.1 255.255.255.0router1(config-if)# no shutdown

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

Page 5: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

155Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

IP addresses and subnet masks.) Practice using abbreviated commands for both interface serial0 and no shutdown.router1(config-if)# int s0router1(config-if)# ip address 175.10.1.1 255.255.255.0router1(config-if)# no shut

privileged mode prompt. You could also accomplish the same result by typing exit twice. The exit com-mand moves back one mode at a time.router1(config-if)# CTRL+Zrouter1#Type logout to exit the command-line interface.router1# logoutPress the ENTER key to get back to the user mode prompt, and then type enable to enter privileged

cisco.router1> enablePassword: ciscorouter1#Display a summary of all interfaces.router1# show ip interface briefDisplay detailed information on each interface.router1# show interfaces

router1# show running-config

router1# show startup-config

17a. Question: Does anything exist in NVRAM? Explain why or why not.

router1# copy running-config startup-config

NVRAM.router1# show startup-configIssue the show version command.router1# show version

20a. Question: What IOS release is running on router1?

Issue the show protocols command to show which Layer 3 protocols are currently running on the router.router1# show protocols

21a. Question: Which protocols are currently running on the router?

11.

12.

13.

14.

15.

16.

17.

18.

19.

20.

21.

Page 6: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

156 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Select Router 2 from the eRouters drop-down menu in the toolbar. Press ENTER to get into user mode.

Router> enableRouter# configure terminalRouter(config)#

router2 cisco for router2.router(config)# hostname router2router2(config)# enable secret cisco

slot/port notation.router2(config)# interface fa0/0router2(config-if)# ip address 160.10.1.2 255.255.255.0router2(config-if)# no shut

any show commands.router2(config-if)# CTRL+Zrouter2# show ip interface brief

25a. Question: What status should interface fa0/0 show if it is fully activated? 25b. Question: What status would fa0/0 show if it were in shutdown mode?

Try to ping router1’s Ethernet address (160.10.1.1) from router2.router2# ping 160.10.1.1

26a. Question: Were you successful? If not, what commands should you use for troubleshooting?

Objective show commands on the Cisco router. Remember the commands to switch between router modes (i.e., exit, end, disable).

boson. The console user must type this password before gaining access to the user mode prompt.router1(config)# line console 0router1(config-line)# loginrouter1(config-line)# password boson

router1(config)# banner motd # Welcome to Router 1 - Authorized Users Only #Test the banner and console password by logging out of the router and logging back in. Enter enable mode after successfully logging in to the console.router1# logoutENTERPassword: bosonrouter1>

cisco on router2 that will enable remote users to telnet into router2.router2(config)# line vty 0 4router2(config-line)# loginrouter2(config-line)# password cisco

22.

23.

24.

25.

26.

1.

2.

3.

4.

Page 7: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

157Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

On router1, associate a name of router2 with the remote IP address of 160.10.1.2. This will allow you to ping router2’s name rather than having to remember its IP address.router1(config)# ip host router2 160.10.1.2On router1, use the show hosts command to verify that the name router2 is now mapped to the IP ad-dress of 160.10.1.2.router1# show hostsPing router2, and verify that the ping succeeds.router1# ping router2

router2# show flash

Display the history table on router1 in order to view the last 10 commands that were entered on the router. You can display the command history by pressing CTRL+P or by pressing the UP ARROW key.router1# show historyrouter1# CTRL+P On router1, display the serial 0 interface. Note on the third line of the output that the bandwidth is assumed to be 1,544 Mbps. This is because the router assumes all serial links are T1 links unless you

show interfaces command again.router1# show interfaces serial 0router1# configure terminalrouter1(config)# interface serial 0router1(config-if)# bandwidth 64router1(config-if)# clock rate 64000router1(config-if)# CTRL+Zrouter1# show interfaces serial 0On router1, add a description to interface serial 0 that says “Serial Link to Router 3”. This description will appear whenever you issue the show interfaces command for serial 0.router1(config)# interface serial 0router1(config-if)# description Serial Link to Router 3router1(config-if)# exitrouter1(config)# exitrouter1# show interfaces serial 0Select Router 3 from the eRouters Router 4 -ure it accordingly.

router3 on Router 3 and a host name of router4 on Router 4.cisco on both routers.

- Assign the appropriate IP addresses and subnet masks to the serial and Ethernet interfaces on both routers (see FIGURE 1).- Remember to set the clock rate on the router3 serial 1 interface.- Activate the serial and Ethernet interfaces on both routers. - Verify that router3 can ping router1.

- Verify that router3 can ping router4.

5.

6.

7.

8.

9.

10.

11.

12.

Page 8: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

158 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab 3: CDPObjective: In this lab, you will practice using Cisco Discovery Protocol (CDP) commands to view information about directly connected neighbors.

On router1, display summary information for router1’s CDP neighbors. You should see one-line entries for both router2 and router3.router1# sh cdp neighbors On router1, display detailed information about CDP neighbors. You can do this with either the show cdp neighbors detail command or the show cdp entry * command.router1# show cdp neighbors detailrouter1# show cdp entry *On router1, display the interfaces where CDP is active. router1# show cdp interface

3a. Question: What is the CDP advertisement interval? 3b. Question: What is the default hold-down interval? What does the hold-down interval signify?

On router1, change the CDP advertisement interval to 50 seconds and the hold-down interval to 170 seconds. Issue the show cdp interface command to verify that the new timers are set correctly.router1(config)# cdp timer 50router1(config)# cdp holdtime 170router1(config)# exitrouter1# sh cdp interface

Lab 4: TelnetObjective: In this lab, you will practice telneting from one router to another. You will use the CTRL+SHIFT+6 X key combination to suspend Telnet sessions and use the show sessions and show users commands to display active Telnet sessions.

Make sure you have permitted Telnet access on router3.router3# config trouter3(config)# line vty 0 4router3(config-line)# loginrouter3(config-line)# password ciscoFrom router1, telnet to router2 (160.10.1.2). Once into router2, issue the show users command. This command shows which remote users are telneted into this local router. You should see router1’s IP ad-dress (160.10.1.1) as the user that telneted into router2.router1# telnet 160.10.1.2router2>router2> show usersSuspend your Telnet session to router2 by pressing CTRL+SHIFT+6 X. You should return to router1 with-out breaking the active Telnet session. Issue the show sessions command on router1. This command shows what active, but suspended, sessions exist with other routers.router2# CTRL+SHIFT+6 Xrouter1#router1# show sessionsNow, telnet from router1 to router3. Suspend the session, and return to router1. Issue the show sessionscommand. You should now see two suspended sessions: one to router2 (160.10.1.2) and one to router3

1.

2.

3.

4.

1.

2.

3.

4.

Page 9: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

159Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

(175.10.1.2).router1# telnet 175.10.1.2router3>router3> CTRL+SHIFT+6 Xrouter1#router1# show sessionsDisconnect the two suspended sessions on router1. The number used in the disconnect command comes from the leftmost column in the show sessions output. Issue show sessions to see if the sus-pended Telnet sessions have disappeared.router1# disconnect 2router1# disconnect 1router1# show sessions

Lab 5: TFTPObjective -ration and restore it to the TFTP server.

In the NetSim, select PC 1 from the eStations -dress of 195.10.1.2 with a subnet mask of 255.255.255.0 and a default gateway of 195.10.1.1. Use the winipcfg utility on the PC to do this. The PC is automatically enabled to be a TFTP server.c:> winipcfgOn router4, make sure you can ping PC 1.router4# ping 195.10.1.2

router4# copy running-config tftpOn the TFTP server (PC 1), issue the show tftp-configssuccessfully backed up. (This is not a standard PC command; it is only used within the NetSim prod-uct.)c:> show tftp-configs

-mine whether router4’s NVRAM is currently empty by issuing the show startup-config command. If it is not empty, use the erase startup-configserver to NVRAM on router4 with the following copy command. (Type the PC’s IP address and previously

router4# copy tftp startup-configIssue the show startup-configrouter4# show startup-config

why not.

5.

1.

2.

3.

4.

5.

6.

Page 10: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

160 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab 6: RIPObjective

(except for the ISDN and Frame Relay interfaces).router1(config)# router riprouter1(config-router)# network 160.10.0.0router1(config-router)# network 175.10.0.0

router2(config)# router riprouter2(config-router)# network 160.10.0.0

router3(config)# router riprouter3(config-router)# network 175.10.0.0router3(config-router)# network 180.10.0.0router3(config-router)# network 197.10.1.0

router4(config)# router riprouter4(config-router)# network 180.10.0.0router4(config-router)# network 195.10.1.0

network statement specify 160.10.0.0 instead of 160.10.1.0?

On router1, issue the show ip protocols command. This command shows information about all dynamic routing protocols that are running on the router. router1# show ip protocols

2a. Question: How frequently does RIP advertise routing updates?2b. Question: What is the hold-down interval for RIP?

On router4, issue the show ip route command. You should see two directly connected routes (180.10.1.0 and 195.10.1.0) and three remote routes (160.10.0.0, 197.10.1.0, and 175.10.0.0).router4# show ip route

3a. What is the administrative distance for RIP?

router4# ping 175.10.1.1router4# ping 160.10.1.2On router4, use the clear ip route * command to clear and re-create the IP routing table. Using this command is sometimes necessary for troubleshooting unusual routing problems.router4# clear ip route *On router1, type the debug ip rip command. This will show the periodic (every 30 seconds) RIP updates being transmitted and received on each interface.router1# debug ip ripAfter you examine a few debug updates, turn debugging off with the undebug all command.router1# undebug all

1.

2.

3.

4.

5.

6.

7.

Page 11: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

161Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab 7: IGRPObjective

Begin by turning off RIP on router1, router2, router3, and router4. You can verify RIP is turned off by us-ing the show ip protocols command.routerx(config)# no router riprouterx# show ip protocolsTurn on IGRP on router1, router2, router3, and router4. Use Autonomous System number 200.router1(config)# router igrp 200router1(config-router)# network 160.10.0.0router1(config-router)# network 175.10.0.0

router2(config)# router igrp 200router2(config-router)# network 160.10.0.0

router3(config)# router igrp 200router3(config-router)# network 175.10.0.0router3(config-router)# network 180.10.0.0router3(config-router)# network 197.10.1.0

router4(config)# router igrp 200router4(config-router)# network 180.10.0.0router4(config-router)# network 195.10.1.0Display the dynamic routing protocols that are running on router4.router4# show ip protocols

3a. Question: How frequently does IGRP send out routing updates?3b. Question: What is the hold-down interval for IGRP?3c. Question: What is the default hop count for IGRP?

Display the IP routing table on router4.router4# show ip route

4a. Question: What is the administrative distance for IGRP?

routers.router4# ping 175.10.1.1router4# ping 160.10.1.2On router1, issue the debug ip igrp events and debug ip igrp transactions commands. Both com-mands can be used to show periodic (every 90 seconds) IGRP routing updates being sent and received by the router.router1# debug ip igrp eventsrouter1# debug ip igrp transactions

6a. Question: What is the difference between the two debug ip igrp commands?

1.

2.

3.

4.

5.

6.

Page 12: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

162 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab 8: EIGRPObjective

Begin by turning off IGRP on router1, router2, router3, and router4.routerx(config)# no router igrp 200

-faces.router1(config)# router eigrp 100router1(config-router)# network 160.10.0.0router1(config-router)# network 175.10.0.0

router2(config)# router eigrp 100router2(config-router)# network 160.10.0.0

router3(config)# router eigrp 100router3(config-router)# network 175.10.0.0router3(config-router)# network 180.10.0.0router3(config-router)# network 197.10.1.0

router4(config)# router eigrp 100router4(config-router)# network 180.10.0.0router4(config-router)# network 195.10.1.0Display the dynamic routing protocols that are running on router4.router4# show ip protocols

3a. Question: What is the maximum router hop count with EIGRP?

On router1, display its EIGRP neighbors.router1# show ip eigrp neighborsOn router1, display the statistics for EIGRP packet types sent and received.router1# show ip eigrp trafficOn router1, display the EIGRP topology database.router1# show ip eigrp topology

6a. Question: What does the EIGRP topology database contain?

Display the IP routing table on router4.router4# show ip route

7a. Question: What is the administrative distance for EIGRP?

router4# ping 175.10.1.1router4# ping 160.10.1.2

1.

2.

3.

4.

5.

6.

7.

8.

Page 13: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

163Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab 9: OSPFObjective

Begin by turning off EIGRP on router1, router2, router3, and router4.routerx(config)# no router eigrp 100

and receive updates on all interfaces except the ISDN and Frame Relay interfaces.router1(config)# router ospf 1router1(config-router)# network 160.10.1.0 0.0.0.255 area 0router1(config-router)# network 175.10.1.0 0.0.0.255 area 0

router2(config)# router ospf 1router2(config-router)# network 160.10.1.0 0.0.0.255 area 0

router3(config)# router ospf 1router3(config-router)# network 175.10.1.0 0.0.0.255 area 0router3(config-router)# network 180.10.1.0 0.0.0.255 area 0router3(config-router)# network 197.10.1.0 0.0.0.255 area 0

router4(config)# router ospf 1router4(config-router)# network 180.10.1.0 0.0.0.255 area 0router4(config-router)# network 195.10.1.0 0.0.0.255 area 0Display the dynamic routing protocols that are running on router4.router4# sh ip protocols

3a. Question: How frequently does OSPF send routing updates?

On router1, display its OSPF neighbors.router1# sh ip ospf neighborOn router1, display the interfaces running OSPF.router1# sh ip ospf interface

5a. Question: What is the OSPF cost for a 10-Mbps Ethernet interface?

Display the IP routing table on router4.router4# show ip route

6a. Question: What is the administrative distance for OSPF?

router4# ping 175.10.1.1router4# ping 160.10.1.2

1.

2.

3.

4.

5.

6.

7.

Page 14: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

164 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

ObjectiveFrom the eSwitches menu in the tool bar, select Switch 1. Press ENTER to get into user mode. Type en-able to get into privileged mode. Type ? to see a list of privileged mode commands. Type disable to go back to user mode.> enable# ?# disable>

name of 1900sw1. Use the exitmode.> enable# configure terminal(config)# hostname 1900sw11900sw1(config)# exit1900sw1#On 1900sw1, type show running-config1900sw1# show running-config

3a. Question: Do you need to issue copy running-config startup-config on 1900sw1 to save the running

NVRAM, press the Y key.)1900sw1# delete nvram

a host name of 1900sw1 and an enable password of cisco. Assign the switch an IP address of 195.10.1.99 with a subnet mask of 255.255.255.0 and a default gateway of 195.10.1.1 (router4’s Ether-net address).> enable# configure terminal(config)# hostname 1900sw11900sw1(config)# enable password level 15 cisco1900sw1(config)# ip address 195.10.1.99 255.255.255.01900sw1(config)# ip default-gateway 195.10.1.1On 1900sw1, issue the show ip command to verify that the IP address, subnet mask, and default gate-way are correct.1900sw1# show ipOn 1900sw1, issue the show interfaces command.1900sw1# show interfaces

7a. Question: What is the Spanning Tree (802.1D) state of interface e0/1?7b. Question: What is the duplex setting for interface e0/2?

From the eSwitches menu, select Switch 2

1.

2.

3.

4.

5.

6.

7.

8.

Page 15: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

165Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

of 1900sw2 and an enable password of cisco. (The enable password should be encrypted when the

195.10.1.1 on 1900sw2.> enable# configure terminal(config)# hostname 1900sw21900sw2(config)# enable secret level 15 cisco1900sw2(config)# ip address 195.10.1.100 255.255.255.01900sw2(config)# ip default-gateway 195.10.1.1On 1900sw2, issue the show version command.1900sw2# show version

9a. Question: What version of the IOS is the switch running?9b. Question: What is the base Ethernet address of 1900sw2?

On 1900sw1, issue the show spantree command.1900sw1# show spantree

10a. Question: What is the address of the root bridge?10b. Question: What is the port cost of e0/1?10c. Question: What is the maxage interval?10d. Question: What is the hello interval?

On 1900sw1, issue the show mac-address-table command to display which devices are attached to which switch ports.1900sw1# show mac-address-tableOn 1900sw1, permanently assign a device with MAC address 1111.1111.1111 to port e0/5. Issue the show mac-address-table command to verify that the device is in the table as a permanent entry.1900sw1(config)# mac-address-table permanent 1111-1111-1111 e0/51900sw1(config)# exit1900sw1# show mac-address-table

device connected to port e0/9 and will allow only that device to connect to this port in the future.1900sw1(config)# interface e0/91900sw1(config-if)# port secure1900sw1(config-if)# port secure max-mac-count 1

Lab 11: VLANs and Trunking (Catalyst 1900 Switches)Objective: In this lab, you will set up VLANs on the Catalyst 1900 switches and test them by pinging between router4 and PC 1. Router4 is connected to e0/1 on 1900sw1, and PC 1 is connected to e0/1 on 1900sw2. 1900sw1 and 1900sw2 are interconnected through their fa0/26 ports.

Use winipcfggateway of 195.10.1.1.c:> winipcfgVerify that you can ping between PC 1 and router4. If you cannot ping successfully, ensure that the IP address of router4’s Ethernet 0 interface is 195.10.1.1/24 and that the interface is enabled.

9.

10.

11.

12.

13.

1.

2.

Page 16: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

166 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

c:> ping 195.10.1.1On 1900sw1 and 1900sw2, issue the show vlan command. You should note that, by default, all switch ports are in VLAN 1. Because router4, PC 1, and the switch-to-switch link are all in VLAN 1, you should be able to ping between PC 1 and router4.1900swx# show vlanOn 1900sw1 and 1900sw2, set up a VTP domain called bigdomain. Use the show vtp command to verify that the domain has been created.1900swx(config)# vtp domain bigdomain1900swx(config)# exit1900swx(config)# show vtp

4a. Question: In what VTP operating mode are the switches?

On 1900sw1 and 1900sw2, create VLAN 10 and name it ccnavlan. Issue the show vlan command to verify that the VLAN was successfully created.1900swx(config)# vlan10 name ccnavlan1900swx(config)# exit1900swx#show vlan

5a. Question: Do you see any ports connected to VLAN 10? Explain why or why not.

On 1900sw1 and 1900sw2, assign the e0/1 ports to the new VLAN you created. Router4 and PC 1 are attached to these ports. Issue the show vlan command on both switches to verify that these ports have been moved to VLAN 10. Also, issue the show vlan-membership command. This is another command that shows VLAN assignments by port on Catalyst 1900 switches. 1900swx(config)# interface e0/11900swx(config-if)# vlan-membership static 101900swx(config-if)# CTRL+Z1900swx# show vlan1900swx# show vlan-membership Now that both router4 and PC 1 are in VLAN 10, try to ping from PC 1 to router4. The ping should fail.c:> ping 195.10.1.1

7a. Question: If both devices are in the same VLAN, why should the ping fail?

the show trunk a command to verify trunking is enabled on port fa0/26 on both switches (you should see Trunking: on).1900swx(config)# interface fa0/261900swx(config-if)# trunk on1900swx(config-if)# CTRL+Z1900swx# show trunk a

8a. Question: What trunking protocol does the Catalyst 1900 switch use: ISL or 802.1Q?

Now, ping from PC 1 to router4. The ping should succeed because both devices are in the same VLAN and

c:> ping 195.10.1.1

3.

4.

5.

6.

7.

8.

9.

Page 17: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

167Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Objective2950 switches.

From the eSwitches menu in the tool bar, select Switch 3. Press ENTER to get into user mode. Type en-able to get into privileged mode. Type ? to see a list of privileged-mode commands. Type disable to go back to user mode.> enable# ?# disable>

name of 2950sw3. Type exit> enable# configure terminal(config)# hostname 2950sw32950sw3(config)# exit2950sw3#On 2950sw3, type show running-config2950sw3# show running-config

3a. Question: Do you need to issue copy running-config startup-config on 2950sw3 to save the run-

On 2950sw3, type copy running-config startup-configshow startup-config command.

2950sw3# copy running-config startup-config2950sw3# show startup-config

2950sw3# erase startup-config2950sw3# reload

a host name of 2950sw3 and an enable password of cisco (unencrypted). Assign the switch an IP address of 197.10.1.99 with a subnet mask of 255.255.255.0 and a default gateway of 197.10.1.1 (router3’s Ethernet address). > enable# configure terminal(config)# hostname 2950sw32950sw3(config)# enable password cisco2950sw3(config)# interface vlan12950sw3(config-if)# ip address 197.10.1.99 255.255.255.02950sw3(config-if)# no shutdown2950sw3(config-if)# exit2950sw3(config)# ip default-gateway 197.10.1.1On 2950sw3, issue the show interface vlan1 command to verify that the IP address, subnet mask, and default gateway are correct.2950sw3# show interface vlan1On 2950sw3, issue the show interfaces command. 2950sw3# show interfaces

1.

2.

3.

4.

5.

6.

7.

8.

Page 18: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

168 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

8a. Question: What is the Spanning Tree (802.1D) state of interface fa0/1?8b. Question: What is the duplex setting for interface fa0/2?

From the eSwitches menu in the tool bar, select Switch 4 2950sw4and an enable password of ciscois displayed.) Assign it an IP address of 197.10.1.100/24 and a default gateway of 197.10.1.1.> enable# configure terminal(config)# hostname 2950sw42950sw4(config)# enable secret cisco2950sw4(config)# interface vlan12950sw4(config-if)# ip address 197.10.1.100 255.255.255.02950sw4(config-if)# no shutdown2950sw4(config-if)# exit2950sw4(config)# ip default-gateway 197.10.1.1On 2950sw4, issue the show version command.2950sw4# show versionOn 2950sw4, issue the show spanning-tree command.2950sw4# show spanning-tree

11a. Question: What is the address of the root bridge?11b. Question: What is the port cost of fa0/1?11c. Question: What is the maxage interval?11d. Question: What is the hello interval?

On 2950sw4, issue the show mac-address-table command to display which devices are attached to which switch ports.2950sw4# show mac-address-tableOn 2950sw4, permanently assign a device with MAC address 4444.4444.4444 to port fa0/5. Issue the show mac-address-table command to verify that the device is in the table as a permanent entry.2950sw4(config)# mac-address-table static 4444.4444.4444 vlan 1 int fa0/52950sw4(config)# exit2950sw4# show mac-address-table

device connected to port fa0/9 and will allow only that device to connect to the port in the future.2950sw4(config)# interface fa0/92950sw4(config-if)# switchport port-security2950sw4(config-if)# switchport mode access2950sw4(config-if)# switchport port-security maximum 1

Lab 13: VLANs and Trunking (Catalyst 2950 Switches)Objective: In this lab, you will set up VLANs on 2950sw3 and 2950sw4 and test them by pinging between router3 and PC 2. Router3 is connected to fa0/1 on 2950sw3, and PC 2 is connected to fa0/1 on 2950sw4. 2950sw3 and 2950sw4 are interconnected through their fa0/12 ports.

On PC 2, use the winipcfg197.10.1.1.

9.

10.

11.

12.

13.

14.

1.

Page 19: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

169Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

c:> winipcfgVerify that you can ping between PC 2 and router3. If you cannot ping successfully, ensure that the IP address of router3’s Ethernet 0 interface is 197.10.1.1/24 and that the interface is enabled. Next, use the winipcfgc:> ping 197.10.1.1On 2950sw43 and 2950sw4, issue the show vlan command. You should note that, by default, all switch ports are in VLAN 1. Because router3, PC 2, and the switch-to-switch link are all in VLAN 1, you should be able to ping between PC 2 and router3.2950swx# show vlanOn 2950sw3 and 2950sw4, set up a VTP domain and name it classroom, then use the show vtp statuscommand to verify that the domain has been created.2950swx# vlan database2950swx(vlan)# vtp domain classroom2950swx(vlan)# CTRL+Z2950swx# show vtp statusOn 2950sw3 and 2950sw4, create VLAN 20 and name it 2950vlan. Issue the show vlan command to verify that the VLAN was successfully created.2950swx# vlan database2950swx(vlan)# vlan 20 name 2950vlan2950swx(vlan)# exit2950swx# show vlan

5a. Question: Do you see any ports connected to VLAN 20? Explain why or why not.

On 2950sw3 and 2950sw4, assign the fa0/1 ports to the new VLAN you created. Router3 and PC 2 are attached to these ports. Issue the show vlan command on both switches to verify that these ports have been moved to VLAN 20. 2950swx(config)# interface fa0/12950swx(config-if)# switchport mode access2950swx(config-if)# switchport access vlan 202950swx(config-if)# CTRL+Z2950swx# show vlan Now that both router3 and PC 2 are in VLAN 20, try to ping from PC 2 to router3. The ping should fail.c:> ping 197.10.1.1

7a. Question: If both devices are in the same VLAN, why should the ping fail?

the show interface fa0/12 switchport command to verify that trunking is enabled on port fa0/12 on both switches.2950swx(config)# interface fa0/122950swx(config-if)# switchport mode trunk2950swx(config-if)# CTRL+Z2950swx# show interface fa0/12 switchport

8a. Question: Which trunking protocol does the Catalyst 2950 switch use: ISL or 802.1Q?

2.

3.

4.

5.

6.

7.

8.

Page 20: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

170 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Now, ping from PC 2 to router3. The ping should succeed because both devices are in the same VLAN and

c:> ping 197.10.1.1

Lab 14: IP Access ListsObjectiveserial 0 interface.

Ensure that you can ping router2 (160.10.1.2) from both router3 and router4. The path to router2 is through router1’s serial 0 interface. If you cannot successfully ping router2, ensure that IP addresses have been assigned, all interfaces are up, and that a dynamic routing protocol (RIP, IGRP, EIGRP, or OSPF) is running on all routers.router3# ping 160.10.1.2

router4# ping 160.10.1.2

router1(config)# access-list 1 permit 175.10.1.0 0.0.0.255router1(config)# interface serial0router1(config-if)# ip access-group 1 in

2a. Question: Is a deny any statement required in the access list?2b. Question: What does the subnet mask 0.0.0.255 mean in the access list?2c. Question: Can any number be assigned to a standard IP access list?

Test your access list by pinging from router3 and router4 to router2. The pings from router3 (in subnet 175.10.1.0) should succeed, whereas the pings from router4 (in subnet 180.10.1.0) should fail.

apply this new one to router1’s serial 0 interface.router1(config)# access-list 100 permit tcp host 175.10.1.2 any eq telnetrouter1(config)# access-list 100 permit icmp host 180.10.1.2 anyrouter1(config)# interface serial0router1(config-if)# no ip access-group 1 inrouter1(config-if)# ip access-group 100 in

4a. Question: What are two ways you can specify a host address in an extended IP access list?4b. Question: What is the number range for extended IP access lists?4c. Question: What statement permits RIP routing updates?

Test access list 100 by pinging and telneting from router3 and router4 to router2. Router3 (175.10.1.2) should be able to telnet to router2, but not ping it. Router4 (180.10.1.2) should be able to ping router2, but not telnet to it.router3# ping 160.10.1.2router3# telnet 160.10.1.2

router4# ping 160.10.1.2router4# telnet 160.10.1.2

9.

1.

2.

3.

4.

5.

Page 21: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

171Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab 15: NAT and PATObjectivetranslation: static network address translation, dynamic translation, and overloading (port address translation).

router1(config)# serial 0router1(config-if)# no ip access-group 100 in

169.10.1.2.router1(config)# ip nat inside source static 160.10.1.2 169.10.1.2router1(config)# interface ethernet0 router1(config-if)# ip nat insiderouter1(config-if)# interface serial0router1(config-if)# ip nat outsiderouter1(config-if)# no shutTest the static NAT translation by telneting from router2 to router3. Once into router3, issue the showusers command. The output of this command should show that the device with 169.10.1.2 (the trans-lated IP address) is the logged-in device.router2# telnet 175.10.1.2router3# show usersDisplay the NAT translation table on router1. The output of the display should show that the inside local IP address (160.10.1.2) is translated to the inside global IP address (169.10.1.2).router1# show ip nat translations

4a. Question: Does the inside global IP address normally represent a public or a private IP address?

Select Router 2 from the eRouters menu, and disconnect your Telnet session to router3. router3# CTRL+SHIFT+6 Xrouter2#

address to a dynamically assigned address. You will utilize a pool of public addresses in the range of 169.10.1.50 to 169.10.1.100.router1(config)# no ip nat inside source static 160.10.1.2 169.10.1.2router1(config)# ip nat pool pool1 169.10.1.50 169.10.1.100 netmask 255.255.255.0router1(config)# ip nat inside source list 2 pool pool1router1(config)# access-list 2 permit 160.10.1.0 0.0.0.255

6a. Question: If the pool of dynamically assigned addresses only contains one IP address entry, what is another term for this form of NAT translation?

Test the dynamic NAT translation function by telneting from router2 to router3. Once into router3, is-sue the show users command. The output of this command should show that the logged-in device is 169.10.1.50 (the translated address). Also, use the show ip nat translations command to display the NAT translation table on router1.router2# telnet 175.10.1.2router3# show users

router1# show ip nat translations

1.

2.

3.

4.

5.

6.

7.

8.

Page 22: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

172 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

translate router2’s Fast Ethernet address (160.10.1.2) to the serial 0 interface address (175.10.1.1) on router1.router1(config)# no ip nat pool pool1 169.10.1.50 169.10.1.100 netmask 255.255.255.0router1(config)# no ip nat inside source list 2 pool pool1router1(config)# ip nat inside source list 2 interface serial0 overloadTest the overloading (PAT) function by telneting from router2 to router3. Issue the show users command on router3. The output should show that the logged-in device is 175.10.1.1 (the translated IP address). Also, issue the show ip nat translations command on router1 to display the NAT translation table.router2# telnet 175.10.1.2router3# show users

router1# show ip nat translations

Lab 16: PPP and CHAPObjective

On router1, issue the show interfaces serial 0 command. Note the encapsulation type of HDLC, which is the default for serial links.router1# show interfaces serial 0

routerx(config)# interface serial 0routerx(config-if)# encapsulation pppOn router1 and router3, issue the show interfaces serial 0the link. The output should show the PPP LCP phase as Open from router1. From router1, ping router3 to verify that the link is operational.routerx# show interfaces serial 0

router1# ping 175.10.1.2

cisco.router1(config)# username router3 password ciscorouter1(config)# interface serial 0router1(config-if)# ppp authentication chap

router3(config)# username router1 password ciscorouter3(config)# interface serial 0router3(config-if)# ppp authentication chapOn router1 and router3, issue the show interfaces serial 0 command to verify that both the interface and the line protocol are up. Ping from router1 to router3 across the link.routerx# show interfaces serial 0

router1# ping 175.10.1.2

9.

1.

2.

3.

4.

5.

Page 23: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

173Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab 17: ISDN BRI-BRI Using Legacy DDRISDN Parameters

Router IP Address Mask SPID1 ISDN Switch

router1 200.10.1.1 /24 32177820010100 7782001 basic-ni

router2 200.10.1.2 /24 32177820020100 7782002 basic-ni

Objective

interface.

PPP encapsulation and CHAP authentication should be used. Refer to the table above for ISDN switch type, IP addresses, subnet masks, and telephone numbers.router1(config)# isdn switch-type basic-nirouter1(config)# dialer-list 1 protocol ip permitrouter1(config)# username router2 password ciscorouter1(config)# interface bri0router1(config-if)# encap ppprouter1(config-if)# ip address 200.10.1.1 255.255.255.0router1(config-if)# isdn spid1 32177820010100router1(config-if)# dialer-group 1router1(config-if)# dialer map ip 200.10.1.2 name router2 broadcast 7782001 router1(config-if)# ppp authentication chaprouter1(config-if)# no shut

router2(config)# isdn switch-type basic-nirouter2(config)# dialer-list 1 protocol ip permitrouter2(config)# username router1 password ciscorouter2(config)# interface bri0router2(config-if)# encap ppprouter2(config-if)# ip address 200.10.1.2 255.255.255.0router2(config-if)# isdn spid1 32177820020100router2(config-if)# dialer-group 1router2(config-if)# dialer map ip 200.10.1.1 name router1 broadcast 7782002 router2(config-if)# ppp authentication chaprouter2(config-if)# no shutIssue the show isdn status command on both router1 and router2. You should see the following:Layer 1 Status: ActiveLayer 2 Status: Multiple Frame Established with spid1 validIssue the show interfaces bri0 command on router1. This displays the signaling, or D, channel. The

request. Now, issue the show interfaces bri0 1 2 command. This should show the status of each data, or B, channel.router1# show interfaces bri0router1# show interfaces bri0 1 2

3a. Question: What is the status of each B channel? Why?

1.

2.

3.

Page 24: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

174 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

From router1, ping the ISDN interface of router2. This should cause an ISDN call to be initiated, and the pings should succeed.router1# ping 200.10.1.2

call?

Issue the show isdn status command on router1.router1# show isdn status

5a. Question: What does the output show for Layer 3 status?Issue the show interfaces bri0 1 2 command on router1.router1# show interfaces bri0 1 2

6a. Question: What is the status of each B channel?

ISDN Parameters Router IP Address Mask SPID1 ISDN Switch

router1 200.10.1.1 /24 32177820010100 7782001 basic-ni

router2 200.10.1.2 /24 32177820020100 7782002 basic-ni

Objective:

interface.

the call. PPP encapsulation and CHAP authentication should be used. Refer to the table above for ISDN switch type, IP addresses, subnet masks, and telephone numbers.router1(config)# isdn switch-type basic-nirouter1(config)# dialer-list 1 protocol ip permitrouter1(config)# username router2 password ciscorouter1(config)# interface bri0router1(config-if)# encap ppprouter1(config-if)# ppp authentication chaprouter1(config-if)# isdn spid1 32177820010100router1(config-if)# dialer pool-member 1router1(config-if)# no ip address 200.10.1.1 255.255.255.0router1(config-if)# no shutrouter1(config-if)# interface dialer 1router1(config-if)# no shutrouter1(config-if)# ip address 200.10.1.1 255.255.255.0router1(config-if)# encap ppprouter1(config-if)# dialer-group 1router1(config-if)# dialer pool 1router1(config-if)# dialer remote-name router2router1(config-if)# dialer string 7782001 router1(config-if)# ppp authentication chap

4.

5.

6.

1.

Page 25: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

175Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

router2(config)# isdn switch-type basic-nirouter2(config)# dialer-list 1 protocol ip permitrouter2(config)# username router1 password ciscorouter2(config)# interface bri0router2(config-if)# encap ppprouter2(config-if)# ppp authentication chaprouter2(config-if)# isdn spid1 32177820020100router2(config-if)# dialer pool-member 1router2(config-if)# no ip address 200.10.1.2 255.255.255.0router2(config-if)# no shutrouter2(config-if)# interface dialer 1router2(config-if)# no shutrouter2(config-if)# ip address 200.10.1.2 255.255.255.0router2(config-if)# encap ppprouter2(config-if)# dialer-group 1router2(config-if)# dialer pool 1router2(config-if)# dialer remote-name router1router2(config-if)# dialer string 7782002 router2(config-if)# ppp authentication chapIssue the show isdn status command on both router1 and router2. You should see the following:Layer 1 Status: ActiveLayer 2 Status: Multiple Frame Established with spid1 validIssue the show interfaces bri0 command on router1. This displays the signaling, or D, channel. The

request. Now, issue the show interfaces bri0 1 2 command. This should show the status of each data, or B, channel. router1# show interfaces bri0router1# show interfaces bri0 1 2From router1, ping the ISDN interface of router2. This should cause an ISDN call to be initiated, and the ping should succeed. router1# ping 200.10.1.2Issue the show isdn status command on router1. Under the Layer 3 status in the output, it should show one call active.router1# show isdn statusIssue the show interfaces bri0 1 2 command on router1. This shows the status of each B channel. For one of the B channels, the interface and line protocol should both be up, indicating that a successful call is in progress.router1# show interfaces bri0 1 2

ISDN Parameters Router IP Address Mask SPID1 ISDN Switch

router1 200.10.1.1 /24 32177820010100 7782001 basic-ni

router2 200.10.1.2 /24 ----- 7782002 primary-5ess

Objective

2.

3.

4.

5.

6.

Page 26: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

176 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Router2 has a primary rate ISDN interface (s0/0) as well as a basic rate ISDN interface.

the call. PPP encapsulation and CHAP authentication should be used. Refer to the table above for ISDN switch type, IP addresses, subnet masks, and telephone numbers. router1(config)# isdn switch-type basic-nirouter1(config)# dialer-list 1 protocol ip permitrouter1(config)# username router2 password ciscorouter1(config)# interface bri0router1(config-if)# encap ppprouter1(config-if)# ppp authentication chaprouter1(config-if)# isdn spid1 32177820010100router1(config-if)# dialer pool-member 1router1(config-if)# no shutrouter1(config-if)# interface dialer 2router1(config-if)# no shutrouter1(config-if)# ip address 201.10.1.1 255.255.255.0router1(config-if)# encap ppprouter1(config-if)# dialer-group 1router1(config-if)# dialer pool 1router1(config-if)# dialer remote-name router2router1(config-if)# dialer string 7782001 router1(config-if)# ppp authentication chap

router2(config)# isdn switch-type primary-5essrouter2(config)# dialer-list 1 protocol ip permitrouter2(config)# username router1 password ciscorouter2(config)# controller t1 0/0router2(config-controller)# framing esfrouter2(config-controller)# linecode b8zsrouter2(config-controller)# pri-group timeslots 1-24router2(config-controller)# exitrouter2(config)# interface serial0/0:23router2(config-if)# encapsulation ppprouter2(config-if)# ppp authentication chaprouter2(config-if)# dialer pool-member 2router2(config-if)# no shutrouter2(config-if)# interface dialer 2router2(config-if)# ip address 201.10.1.2 255.255.255.0router2(config-if)# encapsulation ppprouter2(config-if)# dialer-group 1router2(config-if)# dialer pool 2router2(config-if)# dialer remote-name router1router2(config-if)# dialer string 7782002 router2(config-if)# ppp authentication chaprouter2(config-if)# no shut

type, framing, and linecode?

Issue the show isdn status command on both router1 and router2. You should see the following:Layer1: Active

1.

2.

Page 27: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

177Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Layer2: Multiple Frame Established From router1, ping the ISDN interface of router2. This should cause an ISDN call to be initiated, and the ping should succeed. router1# ping 201.10.1.2Issue the show isdn status command on router1. One call should be shown as active under the Layer 3 status in the output.router1# show isdn statusIssue the show interfaces bri0 1 2 command on router1 in order to show the status of each B chan-nel. For one of the B channels, the interface and the line protocol should both be up, indicating that a successful call is in progress.router1# show interfaces bri0 1 2

Lab 20: Frame RelayISDN Parameters

Router Interface IP Address Local DLCI

router1 serial 1 215.10.1.1 /24 105

router5 serial 0 215.10.1.2 /24 501

Objective: In this lab, you will use both physical interfaces and point-to-point subinterfaces to set up Frame Relay permanent virtual circuits (PVCs) between router1 and router5. Both routers will be Frame Relay data termination equipment (DTE) devices connected to a Frame Relay cloud.

on router5’s serial 0 interface. Refer to the chart above for IP addresses and local DLCIs. Both routers will use ANSI as their LMI type. Frame Relay map statements should be used for static mapping.router1(config)# interface serial1router1(config-if)# encapsulation frame-relayrouter1(config-if)# ip address 215.10.1.1 255.255.255.0router1(config-if)# frame-relay map ip 215.10.1.2 105 broadcastrouter1(config-if)# frame-relay lmi-type ansi router1(config-if)# no shut

router(config)# hostname router5router5(config)# interface serial0router5(config-if)# encapsulation frame-relayrouter5(config-if)# ip address 215.10.1.2 255.255.255.0router5(config-if)# frame-relay map ip 215.10.1.1 501 broadcastrouter5(config-if)# frame-relay lmi-type ansirouter5(config-if)# no shut

1a. Question: What is the default LMI type on Cisco routers?

Issue the show interfaces serial 1 command on router1 and the show interfaces serial 0 command on router5 in order to see whether the routers are successfully connected to their local Frame Relay

output, you should also see DTE LMI up. The encapsulation type should be Frame Relay.router1# show interfaces serial1

3.

4.

5.

1.

2.

Page 28: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

178 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

router5# show interfaces serial0Issue the show frame-relay map command on router1 and router5 in order to show the mapping of local DLCIs to remote IP addresses.routerx# show frame-relay mapIssue the show frame-relay pvc command on router1 and router5 in order to show the status of the PVCs connected to the routers. You want to see a status of active, which indicates the PVC is opera-tional from end to end.routerx# show frame-relay pvcIssue the show frame-relay lmi command on router1. This will display LMI statistics, including how many status inquiries and replies have been exchanged.router1# show frame-relay lmiPing router1 from router5 to verify that the Frame Relay connection is working correctly.router5# ping 215.10.1.1You will now create point-to-point subinterfaces on router1 and router5. You will use the same IP ad-dresses and local DLCIs as in the previous exercise. Be sure to remove the IP addresses and Frame Relay

router1(config)# interface serial1router1(config-if)# no ip address 215.10.1.1 255.255.255.0 router1(config-if)# no frame map ip 215.10.1.2 105 broadcastrouter1(config-if)# interface serial1.1 point-to-pointrouter1(config-subif)# ip address 215.10.1.1 255.255.255.0router1(config-subif)# frame-relay interface-dlci 105

router5(config)# interface serial0router5(config-if)# no ip address 215.10.1.2 255.255.255.0 router5(config-if)# no frame map ip 215.10.1.1 501 broadcastrouter5(config-if)# interface serial0.1 point-to-pointrouter5(config-subif)# ip address 215.10.1.2 255.255.255.0router5(config-subif)# frame-relay interface-dlci 501On both router1 and router5, issue the show ip interface brief command to ensure the physical inter-faces and subinterfaces are active (status = up and up). Issue a show frame-relay pvc command on both routers to ensure that the PVC with DLCI 105 on router1 and DLCI 501 on router5 is active.routerx# show ip interface briefrouterx# show frame-relay pvcTest the PVC by pinging from router5 to router1.router5# ping 215.10.1.1

Appendix A: Answers to Questions8a. The enable secret (encrypted) password is used, and the enable password is ignored.17a. No. Nothing will be saved to NVRAM until you issue the copy running-config startup-config command.20a. 12.1(9)T20b. 0x210221a. IP is the only protocol currently running on the router. IP is supported by default on the Cisco router.

Routing for other Layer 3 protocols must be turned on explicitly using commands such as ipx routing or decnet routing.

3.

4.

5.

6.

7.

8.

9.

Page 29: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

179Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

25a. Both the status and the protocol should be up.25b. The status would be administratively down.26a. If you cannot successfully ping router1, you should use one of the following commands on router1:

show interfaces (to verify that the interfaces are up)show run (to verify that the IP addresses and subnet masks are correct)

Lab 3 – CDP3a. CDP advertises information every 60 seconds by default.3b. The default hold-down interval is 180 seconds. This is how long the remote device should keep this

CDP advertisement information in its tables if it does not receive another CDP advertisement from this device.

Lab 5 – TFTP

already stored in DRAM.Lab 6 - RIP

1a. The network statements under both RIP and IGRP must specify classful network numbers (Class A, B, or C addresses), not subnet addresses. The 160.10.1.0 address is a subnet address, not a classful ad-dress.

2a. every 30 seconds2b. 180 seconds3a. 120

Lab 7 – IGRP3a. every 90 seconds

3b. 280 seconds3c. 100 (maximum of 100 routers along the path)4a. 1006a. The debug ip igrp events command traces IGRP routing updates without showing individual network

numbers. The debug ip igrp transactions command shows routing updates with individual network numbers that are being advertised or received.

Lab 8 – EIGRP3a. 100 hops6a. The EIGRP topology database contains primary and backup routes to each destination learned from

EIGRP neighbors. The best routes (those with the lowest composite metric) are termed successor routes and are inserted in the IP routing table on the router.

7a. 90Lab 9 – OSPF

3a. OSPF is a link state routing protocol and does not send out periodic routing updates.

5a. The default cost is 10, which is calculated by dividing the speed of the interface into 100,000,000. The default cost can be overridden using the ip ospf cost interface-level command.

6a. 110

Page 30: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

180 Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

7a. It is in the forwarding state.7b. The duplex setting for interface e0/2 is half-duplex. 10baseT ports default to half-duplex.9a. Version V4.00.009b. 00-0C-55-09-32-1110a. 000C.1835.856510b. 10010c. 20 seconds10d. 2 seconds

Lab 11 – VLANs and Trunking (Catalyst 1900 Switches)4a. The Catalyst 1900 switch defaults to server mode.5a. No. Although VLAN 10 has been created, no ports have been manually assigned to it yet.

8a. ISL

8a. forwarding8b. The duplex setting for interface fa0/2 is auto. 10/100 ports default to auto-negotiate on Catalyst 2950

switches.11a. 000C 1835 856511b. 1911c. 20 seconds11d. 2 seconds

Lab 13 – VLANs and Trunking (Catalyst 2950 Switches)5a. No. Although VLAN 20 has been created, no ports have been manually assigned to it yet.

8a. 802.1QLab 14 – IP Access Lists

2a. No. An implicit deny any statement is at the end of every access list.2b. This is a wildcard or reverse mask. It means permit any device where the source address starts with

2c. No. Standard IP access lists are in the range 1-99 or 1300-1999.4a. You can specify host 172.16.1.1 or 172.16.1.1 0.0.0.0.4b. 100-199 or 2000-26994c. access list 100 permit udp any any eq 520 (RIP uses UDP port 520)

Lab 15 – NAT/PAT4a. The inside global IP address normally represents a public, or registered, IP address. NAT/PAT translates

the inside local IP address, which is usually a private IP address, to an inside global IP address, which is usually a registered IP address.

-

Page 31: NETSIM FOR CCNA LAB MANUALjywjs.szpt.edu.cn/jywjs2012/source/SequentialLabs.pdf154 Boson NetSim for CCNA Lab Manual NETSIM FOR CCNA LAB MANUAL Sequential Labs,AB "ASIC 2OUTER #ONlGURATION

181Boson NetSim for CCNA Lab Manual

NETSIM FOR CCNA LAB MANUALSequential Labs

Lab 17 – ISDN BRI-BRI using Legacy DDR3a. Both B channels are down and the line protocols are down because no calls are active.4a. The dialer-list and dialer-group5a. It should show 1 Active Layer 3 Call.6a. Now that a call has been established, one of the B channels should be up and the line protocol should

be up. The other B channel should still have a status of down and down.

1a. In Europe, the controller type is E1, the framing is either crc4 or no-crc4, and the linecode is hdb3.1b. The number 23 represents the ISDN signaling channel on the PRI/T1 link. It is the 24th time slot on the

T1 link.Lab 20 – Frame Relay

1a. cisco