Sie sind auf Seite 1von 12

NWT1 JG 3 Übungsprotokoll

Übungsprotokoll
Netzwerktechnik

Zusammenfassung: In diesem Lab habe ich ein Netzwerk


verkabelt, nach einer entsprechender Topolgie. Ich habe die
startup Konfiguration gelöscht sowie die standard
Konfiguration geladen. Ebenfalls habe ich den Switch in den
Standard Zusatand versetzt. Ich habe herkömliche
Konfigurationen an einem Switch getätigt. Ich habe das
herkömmliche Benehmen vom Spanning Tree Protocl
beobachtet und erklärt. Ebenfalls habe ich die antwort zu einer
Änderung in einer Spanning tree topology beachtet.

Name: Sebastian Herhesh


Klasse: 3CHIT
Vorgegebener Abgabetermin: 16.1
Tatsächlicher Abgabedatum: 16.11

© Herhesh – HTL Wien West – 2022/23 1


NWT1 JG 3 Übungsprotokoll

Task 1: Perform Basic Switch Configurations


Step 1: Cable a network that is similar to the one in the topology diagram.

Ich habe 3 2960 Switches und 4 PCs aus der unteren Leiste herausgezogen und die platziert. Die 3
unteren PCs habe ich jeweils mit einem Copper Cross Straight Through mit dem Switch2 verbunden. Die
restlichen Switches habe ich mit dem Switch2 per Copper Cross-Over Kabel verbunden. Den PC4 habe
ich mit dem Switch1 ebenfalls mit dem Copper Cross Over Kabel verbunden.

Step 2: Clear any existing configurations on the switches.

Folgende Befehle wurden zu Vorschau nur auf einem Switch vorgeführt. In der Übung wurden
jedoch die Befehle auf allen Switches angewendet.

Clear NVRAM

Mit dem Befehl „erase startup-config“ habe ich den NVRAM gecleared.

delete the vlan.dat file

Mit dem Befehl „delete flash:vlan.dat“ habe ich die vlan.dat Datei gelöscht. Da in meinem Fall jetzt keine
vorhanden war, kam die Fehlermeldung „Error deleting flash:/vlan.dat (No such file or directory)

and reload the switches

© Herhesh – HTL Wien West – 2022/23 2


NWT1 JG 3 Übungsprotokoll

Mit dem Befehl „reload“ habe ich die Switches neugestartet.

Step 3: Configure basic switch parameters.


• Configure the switch hostname.
hostname s1
• Disable DNS lookup.
no ip domain-lookup
• Configure an EXEC mode password of class.
enable secret class
• Configure a password of cisco for console connections.
line console 0
password cisco
login
• Configure a password of cisco for vty connections.
line vty 0 15
password cisco
login
end
Im Switch dann die Praxis:

© Herhesh – HTL Wien West – 2022/23 3


NWT1 JG 3 Übungsprotokoll

Task 2: Prepare the Network

Step 1: Disable all ports by using the shutdown command.


Ich habe bei allen 3 Switches die Ports fa0/-24 und gi0/1-2 mit dem Befehl shutdown ausgeschaltet.
S1(config)#interface range fa0/1-24
S1(config-if-range)#shutdown
S1(config-if-range)#interface range gi0/1-2
S1(config-if-range)#shutdown
S2(config)#interface range fa0/1-24
S2(config-if-range)#shutdown
S2(config-if-range)#interface range gi0/1-2
S2(config-if-range)#shutdown
S3(config)#interface range fa0/1-24
S3(config-if-range)#shutdown
S3(config-if-range)#interface range gi0/1-2
S3(config-if-range)#shutdown

Die Topologie sieht dannach wie Folgt aus:

Step 2: Re-enable the user ports on S1 and S2 in access mode.


Jetzt reaktiviere ich die Ports die ich gerade geschlossen habe wieder, jedoch im access mode. Das aber
nur bei dem Switch1 und dem Switch2

© Herhesh – HTL Wien West – 2022/23 4


NWT1 JG 3 Übungsprotokoll

Die aktuelle Topologie:

Step 3: Enable trunk ports on S1, S2, and S3.


Jetzt aktiviere ich die Trunkports bei den Switch1, Switch2 und Switch3. Erstmals gehe ich in die
Interfaces fa0/1 und fa0/2 rein. Dann gebe ich switchport mode trunk ein. Anschließend aktiviere ich die
Ports wieder mit dem Befehl no shutdown.

Die Schnittstellen der Topologie sind jetzt wieder Grün:

© Herhesh – HTL Wien West – 2022/23 5


NWT1 JG 3 Übungsprotokoll

Step 4: Configure the management interface address on all three switches.

Hier bin ich erstmal in das Interface vlan1 hineingegangen. Dann habe ich die IP Adresse eingesetzt die
in der Angabe vorgegeben war. Schließend habe ich die Schnittstelle wieder aktiviert.
Verify that the switches are correctly configured by pinging between them. From S1, ping the
management interface on S2 and S3. From S2, ping the management interface on S3.

Were the pings successful?

Wie man anhand der Screenshots erkennen kann, waren die Pings erfolgreich.

Task 3: Configure Host PCs

Gemacht

Task 4: Configure Spanning Tree

© Herhesh – HTL Wien West – 2022/23 6


NWT1 JG 3 Übungsprotokoll

© Herhesh – HTL Wien West – 2022/23 7


NWT1 JG 3 Übungsprotokoll

Step 2: Examine the output.

What is the bridge ID priority for switches S1, S2, and S3 on VLAN 1?

S1: 32769 (Screenshot von Davor)

S2: 32769 (Screenshot von Davor)

S3: 32769 (Screenshot von Davor)

Which switch is the root for the VLAN 1 spanning tree?

Which spanning tree ports are in the blocking state on the root switch?
Keine

Do either of the non-root switches have a blocking port?


Ja

Which switch and port is in the blocking state?


Switch 2 and 3. Beides Port 1.

How does STP elect the root switch?


Die niedrigste Bridge ID.

Since the bridge priorities are all the same, what else does the switch use to determine the
root?
Die Switch MAC Address.

© Herhesh – HTL Wien West – 2022/23 8


NWT1 JG 3 Übungsprotokoll

Task 5: Observe the response to the topology change in 802.1D STP

Step 1: Place the switches in spanning tree debug mode using the command
Funktioniert nicht.

Step 2: Intentionally shutdown a port on the root switch. This example uses S1, since it is the
root. Your root switch may vary.

Based on the output from this example, when the link from S2 that is connected to the root
switch goes down, what is its initial conclusion about the spanning tree root?
S2 denkt, dass es der Spanning Tree Root ist: „Wir sind der Spanning Tree Root“

Once S2 receives new information on Fa0/2, what new conclusion does it draw?
S2 erkennt S1 wieder als Spanning Tree Root an, da S1 die niedrigste BID hat

Port Fa0/2 on S3 was previously in a blocking state before the link between S2 and S1 went
down. What states does it go through as a result of the topology change?
listening, learning, forwarding

© Herhesh – HTL Wien West – 2022/23 9


NWT1 JG 3 Übungsprotokoll

What has changed about the way that S2 forwards traffic?


Da Port Fa0/1 physisch mit einem ausgefallenen Port verbunden ist, wird der Datenverkehr jetzt auf Port
Fa0/2 gesendet und empfangen.

What has changed about the way that S3 forwards traffic?


Zuvor war Fa0/2 in einem blockierenden Zustand. Jetzt befindet es sich in einem Weiterleitungszustand.

© Herhesh – HTL Wien West – 2022/23 10


NWT1 JG 3 Übungsprotokoll

© Herhesh – HTL Wien West – 2022/23 11


NWT1 JG 3 Übungsprotokoll

Task 7: Clean Up

Gemacht

© Herhesh – HTL Wien West – 2022/23 12

Das könnte Ihnen auch gefallen