Sunteți pe pagina 1din 6

6/24/2020

17-cs-02
Zain Ul Abidian

Uet Taxila
Design the above scenario

1. What is the priority on each switch?


The priority value in each switch is 32768.

<Huawei>display stp
-------[CIST Global Info][Mode MSTP]-------
CIST Bridge :32768.4c1f-cc72-1fc6
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :32768.4c1f-cc2f-52d0 / 200000
CIST RegRoot/IRPC :32768.4c1f-cc72-1fc6 / 0

2. Which switch is the root? Why?


Switch SW3 is root switch
<Huawei>display stp
-------[CIST Global Info][Mode MSTP]-------
CIST Bridge :32768.4c1f-cc2f-52d0
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :32768.4c1f-cc2f-52d0 / 0
CIST RegRoot/IRPC :32768.4c1f-cc2f-52d0 / 0
CIST RootPortId :0.0
BPDU-Protection :Disabled
TC or TCN received :10
TC count per hello :0
STP Converge Mode :Normal
Time since last TC :0 days 0h:1m:40s
3. Which ports are blocked? Why?

SW1:
<Huawei>display stp brief
MSTID Port Role STP State Protection
0 Ethernet0/0/1 ALTE DISCARDING NONE
0 Ethernet0/0/4 ROOT FORWARDING NONE
0 Ethernet0/0/5 DESI FORWARDING NONE

SW2:

<Huawei>display stp brief


MSTID Port Role STP State Protection
0 Ethernet0/0/1 DESI FORWARDING NONE
0 Ethernet0/0/2 ROOT FORWARDING NONE
0 Ethernet0/0/6 DESI FORWARDING NONE

4. Check default STP mode? Change to STP.


<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]stp mode stp
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]
Jun 24 2020 09:34:59-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 4, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]display stp brief
MSTID Port Role STP State Protection
0 Ethernet0/0/1 DESI LEARNING NONE
0 Ethernet0/0/2 ROOT LEARNING NONE
0 Ethernet0/0/6 DESI LEARNING NONE
[Huawei]display stp
-------[CIST Global Info][Mode STP]-------
CIST Bridge :32768.4c1f-cc42-5b50
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :32768.4c1f-cc2f-52d0 / 200000
CIST RegRoot/IRPC :32768.4c1f-cc42-5b50 / 0
CIST RootPortId :128.2
BPDU-Protection :Disabled
TC or TCN received :19
TC count per hello :1
STP Converge Mode :Normal
5. Change root Bridge by changing root priority and display results.
<Huawei>display stp brief
MSTID Port Role STP State Protection
0 Ethernet0/0/1 ALTE DISCARDING NONE
0 Ethernet0/0/4 ROOT FORWARDING NONE
0 Ethernet0/0/5 DESI FORWARDING NONE
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]interface Ethernet0/0/4
[Huawei-Ethernet0/0/4]stp priority 16
^
Error: Unrecognized command found at '^' position.
[Huawei-Ethernet0/0/4]stp port priority 16
[Huawei-Ethernet0/0/4]quit
[Huawei]
Jun 24 2020 09:40:29-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 4, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]

6. Change port priority to control root port election.

[Huawei]interface Ethernet0/0/4
[Huawei-Ethernet0/0/4]shutdown
[Huawei-Ethernet0/0/4]
Jun 24 2020 09:42:20-08:00 Huawei %%01PHY/1/PHY(l)[51]: Ethernet0/0/4: change
status to down
Jun 24 2020 09:42:21-08:00 Huawei %%01PHY/1/PHY(l)[52]: Ethernet0/0/4: change
status to down
[Huawei-Ethernet0/0/4]stp
Jun 24 2020 09:42:29-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 5, th
e change loop count is 0, and the maximum number of records is 4095.
^
Error:Incomplete command found at '^' position.
[Huawei-Ethernet0/0/4]display stp brief
MSTID Port Role STP State Protection
0 Ethernet0/0/1 ROOT FORWARDING NONE
0 Ethernet0/0/5 ALTE DISCARDING NONE
[Huawei-Ethernet0/0/4]quit
[Huawei]
7. Set the primary and secondary root switch.

SW1:-
[Huawei]stp root secondary
[Huawei]
Jun 24 2020 09:44:49-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 6, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei]display stp
-------[CIST Global Info][Mode STP]-------
CIST Bridge :4096 .4c1f-cc72-1fc6
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :0 .4c1f-cc42-5b50 / 200000
CIST RegRoot/IRPC :4096 .4c1f-cc72-1fc6 / 0
CIST RootPortId :128.1
BPDU-Protection :Disabled
CIST Root Type :Secondary root
TC or TCN received :104
TC count per hello :0
STP Converge Mode :Normal
Time since last TC :0 days 0h:0m:11s
Number of TC :17
Last TC occurred :Ethernet0/0/1
----[Port1(Ethernet0/0/1)][FORWARDING]----
Port Protocol :Enabled
Port Role :Root Port
Port Priority :128
Port Cost(Dot1T ) :Config=auto / Active=200000
Designated Bridge/Port :0.4c1f-cc42-5b50 / 128.1
Port Edged :Config=default / Active=disabled
Point-to-point :Config=auto / Active=true
Transit Limit :147 packets/hello-time

SW2:
[Huawei]stp root primary
[Huawei]display stp
-------[CIST Global Info][Mode STP]-------
CIST Bridge :0 .4c1f-cc42-5b50
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :0 .4c1f-cc42-5b50 / 0
CIST RegRoot/IRPC :0 .4c1f-cc42-5b50 / 0
CIST RootPortId :0.0
BPDU-Protection :Disabled
CIST Root Type :Primary root
TC or TCN received :89
TC count per hello :0
STP Converge Mode :Normal
Time since last TC :0 days 0h:1m:19s
Number of TC :18
Last TC occurred :Ethernet0/0/2
----[Port1(Ethernet0/0/1)][FORWARDING]----
Port Protocol :Enabled
Port Role :Designated Port
Port Priority :128
Port Cost(Dot1T ) :Config=auto / Active=200000
Designated Bridge/Port :0.4c1f-cc42-5b50 / 128.1
Port Edged :Config=default / Active=disabled
Point-to-point :Config=auto / Active=true
Transit Limit :147 packets/hello-time

S-ar putea să vă placă și