国产成人v爽在线免播放观看,日韩欧美色,久久99国产精品久久99软件,亚洲综合色网站,国产欧美日韩中文久久,色99在线,亚洲伦理一区二区

學習啦 > 學習電腦 > 網絡知識 > 路由器 > 路由器設置 > cisco思科 > cisco思科怎么配置STP

cisco思科怎么配置STP

時間: 權威724 分享

cisco思科怎么配置STP

  思科公司已成為公認的世界網絡互聯(lián)解決方案的領先廠商,該公司出產的一系列路由器更是引領世界,那么你知道cisco思科怎么配置STP嗎?下面是學習啦小編整理的一些關于cisco思科怎么配置STP的相關資料,供你參考。

  cisco思科配置STP的方法:

  SwA(config)#spanning-tree vlan 1 root primary

  SwA(config)#spanning-tree vlan 2 root primary

  v配置SwB在VLAN 3和4中優(yōu)先級為4096

  SwB(config)#spanning-tree vlan 3 priority 4096

  v配置SwA為VLAN 1和2的根網橋

  SwB(config)#spanning-tree vlan 4 priority 4096

  v查看配置結果

  SwB# show spanning-tree

  VLAN0001

  Spanning tree enabled protocol ieee

  Root ID Priority 24577

  Address 000d.28bf.4b40

  Cost 19

  Port 24 (FastEthernet0/24)

  Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

  Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)

  Address 0013.6007.6a00

  Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

  Aging Time 300

  Interface Role Sts Cost Prio.Nbr Type

  ---------------- ---- --- --------- -------- --------------------------------

  Fa0/22 Altn BLK 19 128.22 P2p

  Fa0/23 Altn BLK 19 128.23 P2p

  Fa0/24 Root FWD 19 128.24 P2p

  VLAN0002

  Spanning tree enabled protocol ieee

  Root ID Priority 24578

  Address 000d.28bf.4b40

  Cost 19

  Port 24 (FastEthernet0/24)

  Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

  Bridge ID Priority 32770 (priority 32768 sys-id-ext 2)

  Address 0013.6007.6a00

  Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

  Aging Time 300

  Interface Role Sts Cost Prio.Nbr Type

  ---------------- ---- --- --------- -------- --------------------------------

  Fa0/22 Altn BLK 19 128.22 P2p

  Fa0/23 Altn BLK 19 128.23 P2p

  Fa0/24 Root FWD 19 128.24 P2p

  v查看配置結果(VLAN 3 - 4)

  SwA#show spanning-tree

  VLAN0003

  Spanning tree enabled protocol ieee

  Root ID Priority 4099

  Address 0013.6007.6a00

  Cost 19

  Port 24 (FastEthernet0/24)

  Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

  Bridge ID Priority 32771 (priority 32768 sys-id-ext 3)

  Address 000d.28bf.4b40

  Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

  Aging Time 300

  Interface Role Sts Cost Prio.Nbr Type

  ---------------- ---- --- --------- -------- --------------------------------

  Fa0/22 Altn BLK 19 128.22 P2p

  Fa0/23 Altn BLK 19 128.23 P2p

  Fa0/24 Root FWD 19 128.24 P2p

  v配置交換機 C上連接主機的端口為速端口

  SwC(config)#interface range fastEthernet 0/1 - 20

  SwC(config-if-range)#spanning-tree portfast

  %Warning: portfast should only be enabled on ports connected to a single

  host. Connecting hubs, concentrators, switches, bridges, etc... to this

  interface when portfast is enabled, can cause temporary bridging loops.

  Use with CAUTION

  %Portfast will be configured in 20 interfaces due to the range command

  but will only have effect when the interfaces are in a non-trunking mode.

  v在交換機C上配置上行速鏈路

  SwC(config)#spanning-tree uplinkfast

  v配置了上行速鏈路后查看生成樹信息

  SwC#show spanning-tree

  VLAN0001

  Spanning tree enabled protocol ieee

  Root ID Priority 24577

  Address 000d.28bf.4b40

  Cost 3019

  Port 23 (FastEthernet0/23)

  Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

  Bridge ID Priority 49153 (priority 49152 sys-id-ext 1)

  Address 000d.2861.b100

  Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

  Aging Time 300

  Uplinkfast enabled

  Interface Role Sts Cost Prio.Nbr Type

  ---------------- ---- --- --------- -------- --------------------------------

  Fa0/22 Altn BLK 3019 128.22 P2p

  Fa0/23 Root FWD 3019 128.23 P2p

  看過文章“思科cisco怎么VTP配置”的人還看了:

  1.思科路由器配置特點詳細介紹

  2.Cisco無線路由器配置方法

  3.Cisco路由器配置命令全攻略

  4.如何查看Cisco路由器的配置信息

  5.思科Cisco路由器的基礎配置知識

  6.思科路由器怎么進入 思科路由器怎么設置

  7.CISCO路由器的配置與調試

  8.Cisco路由器常用配置命令

565242