CCNA Discovery Introducing Routing and Switching in the Enterprise

Lab 5.Configuring a TrunkPort to Connect Switches NAMA : TUGIYONO NIM : 15.240.0187

Device

Host Name / Interface

Fa0/0 or NIC Address

VLAN1 address

Switch 1

S1

n/a

172.16.1.1/24

Switch 2

S2

n/a

172.16.1.2/24

Host 1a

n/a

172.16.1.10/24

n/a

Host 1b

n/a

172.16.1.11/24

n/a

Host 2

n/a

172.16.1.12/24

n/a

Objectives 

Observe default switch VLAN configuration and operation.



Configure static VLANs on a switch.



Verify VLAN configuration and operation.



Configure trunking between switches.

Background / Preparation This lab focuses on the basic VLAN configuration of the Cisco 2960 switch (or similar) using Cisco IOS commands. The information in this lab applies to other switches;however, command syntax may vary.Depending upon the switch model, the interface designations may differ.For example, modular switches have multiple slots;therefore, the FastEthernet ports may be FastEthernet 0/1 or FastEthernet 1/1, depending on the slot and port. The following resources are required: 

TwoCisco 2960 switches or equivalent switches



Three Windows-based PCs with a terminal emulation program



At least one RJ-45-to-DB-9 connector console cable to configure the switches



Threestraight-through Ethernet cables to connect from the PCs to the switches



One crossover Ethernet cable to connect S1 to S2

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 1 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise NOTE: Make sure that the routers and the switches have been erased and have no startup configurations. Instructions for erasing both switch and router are provided in the Lab Manual, located on Academy Connection in the Tools section.

Step 1: Connect the equipment a. Connect Switch 1Fa0/1 interface to Switch 2Fa0/1 interface with a crossover cable. b. Connect Host 1a Ethernet interface with a straight-through cable to Switch 1 Fa0/2 interface. c.

Connect Host 1b Ethernet interface with astraight-through cable to Switch 1 Fa0/3 interface.

d. Connect Host 2 Ethernet interface with a straight-through cable to Switch 2Fa0/2 interface.

Step 2: Perform basic configuration of Switch 1 and Switch 2 a. Connect a PC to the console port of the switches to perform configurations using a terminal emulation program. Telah dilaksanakan kabel warna biru

b. Configure Switch 1 with a hostname and console, Telnet, and privileged passwords according to the table diagram.Assign the VLAN 1 IP address. Save the configuration. S1(config)#int vlan 1 S1(config-if)#ip add 172.16.1.1 255.255.255.0 S1(config-if)#no shut S1(config-if)#exit

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 2 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise c.

Configure Switch 2 with a hostname and console, Telnet, and privileged passwords according to the table diagram.Assign the VLAN 1 IP address. Save the configuration. S2(config)#int vlan 1 S2(config-if)#ip add 172.16.1.2 255.255.255.0 S2(config-if)#no shut S2(config-if)#exit

Step 3: Configure host PCs Configure the host PCs according to the information in the table and diagram. Hasil PC 1a

Hasil PC 1b

Hasil PC 2

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 3 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise Step 4: Verify default VLAN configuration and connectivity a. When directly connecting some switches,as in this lab, the switchports automatically configure themselves for trunking.To prevent this, manually configure the switchports for normal operation on S1 and S2. S1(config)#interface fa0/1 S1(config-if)#switchport mode access S2(config)#interface fa0/1 S2(config-if)#switchport mode access Langkah diatas telah dilaksanakan S1(config)#int fa0/1 S1(config-if)#switchport mode access S2(config)#int fa0/1 S2(config-if)#switchport mode access b. Verify default VLAN configurations on both switches with the show vlan command. S1#show vlan

S2#show vlan

Is every switchport assigned to a VLAN? Ya Which VLAN do the ports appear in?Vlan 1 All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 4 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise Should any host or switch be able to ping any other host or switch at this time?Ya c.

Verify this by pinging from Host 1a to all the other hosts and switches. Hasil Ping dari 1a ke PC1b (172.16.1.11)

Hasil Ping dari 1a ke PC2 (172.16.1.12)

Hasil Ping dari 1a ke switch S1 (172.16.1.1)

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 5 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise Hasil Ping dari 1a ke switch S2 (172.16.1.2)

Are all the pings successful?Ya

Step 5: Create and verify VLAN configuration a. Create and name VLANs 2 and 3 on both switches. S1(config)#vlan 2 S1(config-vlan)#name fred S1(config-vlan)#exit S1(config)#vlan 3 S1(config-vlan)#name wilma S1(config-vlan)#exit Telah dilaksanakan : S1(config)#vlan 2 S1(config-vlan)#name fred S1(config-vlan)#exit S1(config)#vlan 3 S1(config-vlan)#name wilma S1(config-vlan)#exit

S2(config)#vlan 2 S2(config-vlan)#name fred S2(config-vlan)#exit S2(config)#vlan 3 S2(config-vlan)#name wilma S2(config-vlan)#exit

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 6 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise Telah dilaksanakan : S2(config)#vlan 2 S2(config-vlan)#name fred S2(config-vlan)#exit S2(config)#vlan 3 S2(config-vlan)#name wilma S2(config-vlan)#exit

b. Assign switchports to VLANs.The ports connecting Hosts 1a and 2 will be assigned to VLAN 2 and the port connecting Host 1b will be assigned to VLAN 3.Save the configurations. S1(config)#int fa0/2 S1(config-if)#switchport access vlan 2 S1(config-if)#exit S1(config)#interface fa0/3 S1(config-if)#switchport access vlan 3 S1(config-if)#end S1#copy running-config startup-config Telah dilaksanakan : S1(config)#int fa0/2 S1(config-if)#switchport access vlan 2 S1(config-if)#exit S1(config)#int fa0/3 S1(config-if)#switchport access vlan 3 S1(config-if)#end S1# %SYS-5-CONFIG_I: Configured from console by console S1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] S2(config)#int fa0/2 S2(config-if)#switchport access vlan 2 S2(config-if)#end S2#copy running-config startup-config Telah dilaksanakan : S2(config)#int fa0/2 S2(config-if)#switchport access vlan 2 S2(config-if)#end S2# %SYS-5-CONFIG_I: Configured from console by console

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 7 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise S2#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] S2# c.

Test connectivity between devices. 1) Ping from S1 to S2. Telah dilaksanakan : S1#ping 172.16.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds: ..!!! Success rate is 60 percent (3/5), round-trip min/avg/max = 0/0/0 ms Are the pings successful? Ya To what VLAN do the management interfaces of S1 and S2 belong? Switch S1 dan SI samasama vlan1 2) Ping from Host 1a to Host 2. Are the pings successful?Tidak

To what VLAN do Hosts 1a and 2 belong? Vlan 2, Tetapi pada Switch terpisah To what VLAN do the Fa0/1 interfaces of the switches belong?Vlan 1 If Hosts 1a and 2 belong to the same VLAN, why can’t they ping each other? Tidak ada koneksi VLAN 2 antara switch

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 8 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise 3)

Ping from host 1a to S1.

Are the pings successful? Tidak Why can’t Host 1a ping S1? Mereka berada dalam VLAN yang berbeda dan tidak ada routing diatur.

Step 6: Configure and verify trunking To allow connectivity within multiple VLANs across multiple switches, trunking can be configured. Without trunking, each VLAN requires a separate physical connection between switches. a. Configure trunking on S1 and S2.Port Fa0/1 on S1 is already connected to port Fa0/1 on S2. S1(config)#int Fa0/1 S1(config-if)#switchport mode trunk S1(config-if)#end Telah dilaksanakan : S1(config)#int fa0/1 S1(config-if)#switchport mode trunk S1(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up S1(config-if)#end S1# %SYS-5-CONFIG_I: Configured from console by console S1#

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 9 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise S2(config)#int Fa0/1 S2(config-if)#switchport mode trunk S2(config-if)#end Telah dilaksanakan : S2(config)#int fa0/1 S2(config-if)#switchport mode trunk S2(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up S2(config-if)#end S2# %SYS-5-CONFIG_I: Configured from console by console S2# b. Verify the creation of the trunk with the show interfaces trunk command. S1#show interfaces trunk

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 10 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise S2#show interfaces trunk

Do the trunk interfaces appear in the output?Ya What VLAN is set as the native VLAN? Vlan 1 What VLANs are allowed to communicate over the trunk? 1-1005 c.

View the VLAN configuration on both switches with the show vlan command. S1#show vlan

S2#show vlan

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 11 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise Do the S1 and S2 Fa0/1 interfaces appear in a VLAN? Tidak Why or why not? Mereka tidak dalam VLAN karena mereka trunking dan membawa lalu lintas untuk semua VLAN

d. Retest the connectivity between devices. 1) Ping from S1 to S2. Telah dilaksanakan : S1#ping 172.16.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds: ..!!! Success rate is 60 percent (3/5), round-trip min/avg/max = 0/5/15 ms S1# Are the pings successful? Ya 2) Ping fromHost 1a to Host 2.

Are the pings successful? Ya 3) Ping fromHost 1b to Host 2.

Are the pings successful? Tidak

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 12 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise 4) Ping fromHost 1a to S1.

Are the pings successful? Tidak e. The ping test should show that devices that belong to the same VLAN can now communicate with each other across switches, but devices in different VLANs cannot communicate with each other. What would have to be configured to allow devices in different VLANs to communicate with each other? Tidak ada (Tapi kita bisa tambahkan router untuk menghubungkannya)

Step 7: Observe the default trunking behavior of switches a. Previously in this lab, the Fa0/1 interfaces on the switches were manually configured for trunking.Remove that configuration with the no switchport mode trunk command. S1(config)#int Fa0/1 S1(config-if)#no switchport mode trunk S1(config-if)#end Telah dilaksanakan : S1(config-if)#no switchport mode trunk S1(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up end S1# %SYS-5-CONFIG_I: Configured from console by console S1#end S2(config)#int Fa0/1 S2(config-if)#no switchport mode trunk S2(config-if)#end Telah dilaksanakan : S2(config)#int fa0/1 S2(config-if)#no switchport mode trunk S2(config-if)#end S2# %SYS-5-CONFIG_I: Configured from console by console All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 13 of 14

CCNA Discovery Introducing Routing and Switching in the Enterprise S2# b. View the trunking status of the switchports. S1#show interfaces trunk Telah dilaksanakan : S1#show int trunk S2#show interface trunk Telah dilaksanakan: S2#show int trunk Are Fa0/1 on S1 and S2 in trunking mode? Ya What trunking mode did they default to? diinginkan (desirable ) What trunking encapsulation did they default to? 802.1q

Step 8: Reflection a. Why would trunking be configured in a network? VLAN untuk berkomunikasi melalui link tunggal. Hal ini akan mengurangi jumlah interkoneksi antara switch.

b. Does trunking allow for communication between VLANS? Tidak, routing masih diperlukan untuk berkomunikasi antara VLAN c.

With no configuration, from whichVLAN are frames forwarded across the trunk without VLAN tagging added? VLAN 1, VLAN default

Merdeka, Salam Perjuangan, Orang desa mari bangkit

All contents are Copyright © 1992–2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.

Page 14 of 14

Praktek 5 Trunk Port Jarkom4.pdf

Three Windows-based PCs with a terminal emulation program ... Device Host Name /. Interface. Fa0/0 or ... Displaying Praktek 5 Trunk Port Jarkom4.pdf. Page 1 ...

285KB Sizes 7 Downloads 129 Views

Recommend Documents

Praktek 4 VLAN tugiyono.pdf
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. ... One RJ-45-to-DB-9 connector console cable to configure the switch.

Mitel CUCM SIP Trunk Guide.pdf
Mitel CUCM SIP Trunk Guide.pdf. Mitel CUCM SIP Trunk Guide.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Mitel CUCM SIP Trunk Guide.pdf.

the A76 Trunk Road (Closeburn) - Legislation.gov.uk
Sep 19, 2017 - sign table in Part 2 of schedule 10 of the Traffic Signs Regulations and General Directions. 2016(b). (a) 1984 c.27; section 2(1) and (2) were ...

The A9 Trunk Road (Scrabster) - Legislation.gov.uk
Oct 11, 2017 - routes suitable for the traffic which will be affected by this Order. ... No person may use, or permit the use of, any vehicle on the length of road, ...

The A9 Trunk Road (Scrabster) - Legislation.gov.uk
Oct 11, 2017 - of the type described in item 8 (diagram 7105 – position of barrier to mark length of road closed or to guide traffic past an obstruction) of the sign ...

Praktek 2 Switch tugiyono 15.240.0187.pdf
switch dan router disediakan di di modul praktek ini. Langkah 1: ... Switch1(config)#enable password cisco. c. ... Use the show running-config command to check.

32. modul pembelajaran Praktek Basis Data (MySQL)l.pdf ...
Page 1. Whoops! There was a problem loading more pages. Retrying... Main menu. Displaying 32. modul pembelajaran Praktek Basis Data (MySQL)l.pdf.

Port Colden.pdf
Whoops! There was a problem loading more pages. Retrying... Port Colden.pdf. Port Colden.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Port ...

the A76 Trunk Road (Closeburn) - Legislation.gov.uk
Sep 19, 2017 - ... length of road, or a part or parts of that length of road, by means of a ... extended centre line of that junction (at Ordnance Map Coordinates ...

PORT 01.pdf
de ver bicho de goiaba. Prefiro comer de noite. Assim, não enxergo nada! 11. Que fruta a fada dondoca adora comer? A( ) banana B( ) goiaba C( ) laranja D( ) ...

Untitled - Museums of Port Isabel
The red and yellow ..... unified by the use of arches, courtyards, plain white wall surfaces, and red tile .... Used as a stair rail and also above the cornice on the.

The+Old+Trunk-SJ+L2+Aug+2015.pdf
August 2015. SCHOOL JOURNAL LEVEL 2, AUGUST 2015. Page 4 of 4. The+Old+Trunk-SJ+L2+Aug+2015.pdf. The+Old+Trunk-SJ+L2+Aug+2015.pdf. Open.

Define SIP Trunk between CGRateS and Kazoo for outbound calls ...
аааааааа аааааа аааа please note that outbound calls from kazoo are sent ...

Cheap 5V 2A Dual Usb Port Car Charger For Ipad For Iphone 5 5S 6 7 ...
Cheap 5V 2A Dual Usb Port Car Charger For Ipad For I ... Note 3 4 For Htc Free Shipping & Wholesale Price.pdf. Cheap 5V 2A Dual Usb Port Car Charger For ...

pdf-1475\the-trunk-murderess-winnie-ruth-judd.pdf
pdf-1475\the-trunk-murderess-winnie-ruth-judd.pdf. pdf-1475\the-trunk-murderess-winnie-ruth-judd.pdf. Open. Extract. Open with. Sign In. Main menu.

Surface electromyography activity of trunk muscles ...
Abdominal and back muscle groups cocontracted at late recovery phase and early push phase to provide ... Address: Human Engineering Research Lab-.

port management pdf
Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more ...

PORT 20.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. PORT 20.pdf.

PORT 60.pdf
Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps.