STPの設定(Ciscoのケース)


Cisco Catalystスイッチではデフォルトで「PVST+(Per-VLAN Spanning Tree Plus)」が有効化されています。

つまり、特別な設定をしなくても STP は動作しています。
(=STP は デフォルトで有効、モードは PVST+ です)

名称トランク規格説明
CSTIEEE802.1D
PVSTISL旧Cisco独自プロトコル。802.1Q非対応
PVST+IEEE802.1QPVSTを拡張し、IEEE準拠VLANとも互換を持たせたもの

デフォルト状態

項目デフォルト設定
STP機能有効(enabled)
STPモードPVST+
VLANごとのSTP有効(VLAN単位で独立インスタンス)
ルートブリッジ自動選出(優先度32768)
Helloタイマー2秒
Forward Delay15秒
Max Age20秒

モードを確認/変更するコマンド

現在のSTPモード確認

Switch# show spanning-tree summary

モード変更(例:Rapid-PVSTに変更)

Switch(config)# spanning-tree mode rapid-pvst

無効化したい場合

Switch(config)# no spanning-tree vlan <番号>

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny