Spanning Tree Protocol part 4
Spanning Tree Protocol part 4
Spanning Tree Protocol part 4
??????????????????? Switch ??????????????????????????? ??????? ??????????? 1 ??? ??????????? 2 ???????????? Network ???????????????

??????? Command Show Spanning Tree ??? Switch ???????????????????
Switch1
Switch#sh span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0000.0C34.0432
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0000.0C34.0432
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 19 128.1 P2p
Fa0/2 Desg FWD 19 128.2 P2p
Switch2 (Node)
Switch#sh span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0000.0C34.0432
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0001.4336.C86E
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root FWD 19 128.1 P2p
Fa0/2 Desg FWD 19 128.2 P2p
Gi1/1 Desg FWD 4 128.25 P2p
Switch0 (Node)
Switch#sh span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0000.0C34.0432
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0060.3E77.2C73
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root FWD 19 128.1 P2p
Fa0/2 Desg FWD 19 128.2 P2p
Gi1/1 Altn BLK 4 128.25 P2p
Switch3 (Node)
Switch#sh span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0000.0C34.0432
Cost 38
Port 2(FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0050.0FB6.92A9
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Altn BLK 19 128.1 P2p
Fa0/2 Root FWD 19 128.2 P2p
1. Selecting Root Bridge
Switch1
Bridge Priority 32769 (32768+1)
Mac address 0000.0C34.0432
Switch2
Bridge Priority 32769 (32768+1)
Mac address 0001.4336.C86E
Switch0
Bridge Priority 32769 (32768+1)
Mac address 0060.3E77.2C73
Switch3
Bridge Priority 32769 (32768+1)
Mac address 0050.0FB6.92A9
Bridge Priority ??????????
Mac address
0000.0C34.0432 < 0001.4336.C86E < 0050.0FB6.92A9 <0060.3E77.2C73
Root Bridage = Switch1 0000.0C34.0432

2. Selecting Root Port ( Check Root Path Cost ) ??? Port ????????? Switch ????????? Root Bridge ???????? Root Path Cost ????????????????????? ????????????????? ???????? Switch ?????
Switch1 is Root Port
Switch2
Fa0/1 RPC = 0+19 = 19 (RP)
Gig1/1 RPC = 0+19+4 = 23
Fa0/2 RPC = 0+19+19+19 = 57
Switch0
Fa0/1 RPC = 0+19 = 19 (RP)
Gig1/1 RPC = 0+19+4 = 23
Fa0/2 RPC = 0+19+19+19 = 57
Switch3
Fa0/2 RPC = 0+19+19 = 38 --> Switch2 ??????? Bridge ID (Bridge Prioirty + Mac address) = 0001.4336.C86E
Fa0/1 RPC = 0+19+19 = 38 --> Switch0 ??????? Bridge ID (Bridge Prioirty + Mac address) = 0060.3E77.2C73
????? RPC ??????? ???????????????? Bridge ID ?????? ??? Switch ??? Connect ???? ??????????????????????????????? Port ID ????????????
0001.4336.C86E < 0060.3E77.2C73
??????? ???????? Fa0/2 ???? Root Port

3. Select Designated Port
Note : ???????????????????????? Switch ????????? FastEthernet ??? GigabitEthernet ??????????????????????????? Designated Port ???? 2 ????? ????????????????????? Root Bridge ??? Root Port ?????????? ??????
1. ?????? Segment ???? Connection ??????? Switch ?? Port ?????????????????????? Designated Port ???????? ?????????? ??????????????? Designated Port ????????????????????????????????????????? Swtich ???????? ???? ??????? Root Bridge ??????????????????????? Designated Port ???????? ?????????????? Switch ????????? Segment ???? Connection ???? ??????????????? Designated Port ???????????? ??????????? Root Port ???????? ???? ????????????? Root Port ??????????????? Blocking state
2. ?? Segment ???? Connection ??????? Switch 2 ??? ????????????? Switch ????????????????????? Root Port ???????? ???????? Switch ?????????????????????????????????????????? Designated port ????????????
Spaning Tree Protocol (STP) ?????????????????????? Root port ??? Designated port ???
1. ??????????????? Root Path cost ????????????? ?????????????????? ???????????????
2. ?????????????? Designated Port ??????? Switch ??????????????? ???????????????? Switch ????? Bridge ID ?????????
?????????????? Root Port ?? Switch ???????????????????????????????? Switch ??????????? Bridge ID ???????
3. ?????????????????? Port ID ?????????
Switch1 ???????? Root Bridge ???? ??????????? Designated ?????????????????????????????????????????????????? Root Port

Switch2
Fa0/1 ??????? Root Port ??????
Fa0/2 ??????????????????? Fa0/1 ?? Switch0
1. ?????????? Switch ?????????????? Root Path cost ????????????? ???????????????????
??? 19 ???? (#show spanning-tree)
2. ????????? Bridge ID ??? Switch ???????????????
Switch2
Bridge Priority 32769 (32768+1)
Mac address 0001.4336.C86E
Switch0
Bridge Priority 32769 (32768+1)
Mac address 0060.3E77.2C73
Bridge ID = Bridge Priority + Ext-Sys-ID + Mac address ??
????????? Bridge Priority ??????? Switch ???????????????????????????????? Mac address
0001.4336.C86E < 0060.3E77.2C73
??????? ???????? Switch2 ????????????????? Designated Port ??????????????????????????
Fa0/1 ?? Switch0 ??????????????? (elect) ????????????? Blocking state ?????.
Gig1/1
??????????? Designated Port ????????????????????? ???????????????????????????????
Fa0/2 ?? Switch3 ???????? Root Port
(????????????????? Root Port ??? ? ?????? Root Port ?????????????????????????????
?????????????? Root Bridge ?????????????????????? Blocking state ??????????????????????)

Switch0
Fa0/1 ???? Root Port ??????????????????
Gig1/1 ?????????????????????????? Gig1/1 ?? Switch2 ???? Designated Port ????????? Gig1/1
?? Switch0 ?????? Blocking state
????????????? ??????????????????????? Designated Port ???????????????????????????? Root Port ???????? ??????????????? Blocking state ?????
Fa0/2 ??????????????????? Fa0/2 ?? Switch3
1. ?????????? Switch ?????????????? Root Path cost ?????????????
Switch0 Cost ????? Root Bridge = 19 (0+19)
Switch3 Cost ????? Root Bridge = 38 (0+19+19)
??????? ????? Fa0/2 ??? Switch0 ????????????????? Designated Port ?????????????????????????? Fa0/1 ?? Switch3 ??????????????? (elect) ????????????? Blocking state ????????????

??????????? ??????????

???????????? ????????? Spanning Tree Protocol ??? 1 ?????????????????????????????????????????????
??????????????? Configuration ????????????????????
Download File STP_Ex03.pkt????? Cisco Packet Tracer v5.3.3
Good lock ...... strumjub.
download file now
Comments
Post a Comment