MSTP 次項 »
« « FXC5700シリーズ目次


シナリオ

FXC5710を3台使用し、スパニングツリープロトコル(MSTP)でVLANごとに経路を冗長化します。

MSTインスタンス1~3を定義し、ブリッジプライオリティをそれぞれ下記の通り異なる値に設定します。

instance 1(VLAN10)
 FXC5710 ①:Priority 4096
 FXC5710 ②:Priority 12288
 FXC5710 ③:Priority 32768(デフォルト)

instance 2(VLAN20)
 FXC5710 ①:Priority 32768(デフォルト)
 FXC5710 ②:Priority 4096
 FXC5710 ③:Priority 12288

instance 3(VLAN30)
 FXC5710 ①:Priority 12288
 FXC5710 ②:Priority 32768(デフォルト)
 FXC5710 ③:Priority 4096

以上を実施すると、ポートが以下の通りに収束します。

instance 1(VLAN10)
 FXC5710①:eth 1/0/1(Designed Port)、eth 1/0/2(Designed Port)
 FXC5710②:eth 1/0/1(Root Port)、eth 1/0/2(Designed Port)
 FXC5710③:eth 1/0/1(Root Port)、eth 1/0/2(Alternate Port)

instance 2(VLAN20)
 FXC5710①:eth 1/0/1(Root Port)、eth 1/0/2(Alternate Port)
 FXC5710②:eth 1/0/1(Designed Port)、eth 1/0/2(Designed Port)
 FXC5710③:eth 1/0/1(Designed Port)、eth 1/0/2(Root Port)

instance 3(VLAN30)
 FXC5710①:eth 1/0/1(Designed Port)、eth 1/0/2(Root Port)
 FXC5710②:eth 1/0/1(Alternate Port)、eth 1/0/2(Root Port)
 FXC5710③:eth 1/0/1(Designed Port)、eth 1/0/2(Designed Port)

構成

時刻設定

設定例

FXC5710①

モード コマンド 説明
FXC5710(config)# vlan 10 VLAN10を定義。
FXC5710(config)# exit
FXC5710(config)# vlan 20 VLAN20を定義。
FXC5710(config)# exit
FXC5710(config)# vlan 30 VLAN30を定義。
FXC5710(config)# exit
FXC5710(config)# spanning-tree STPを有効化。
FXC5710(config)# spanning-tree mst configuration MSTP設定モードに遷移。
FXC5710(config-mstp-region)# instance 1 vlan 10 MSTインスタンス1とVLAN10を紐づけ。
FXC5710(config-mstp-region)# instance 2 vlan 20 MSTインスタンス2とVLAN20を紐づけ。
FXC5710(config-mstp-region)# instance 3 vlan 30 MSTインスタンス3とVLAN30を紐づけ。
FXC5710(config-mstp-region)# exit
FXC5710(config)# spanning-tree mode mstp MSTP(IEEE802.1s)モードに設定。
FXC5710(config)# spanning-tree mst 1 priority 4096 MSTインスタンス1のプライオリティ値を4096に設定。
FXC5710(config)# spanning-tree mst 2 priority 32768 MSTインスタンス2のプライオリティ値を32768に設定(デフォルト値のため設定は不要)。
FXC5710(config)# spanning-tree mst 3 priority 12288 MSTインスタンス3のプライオリティ値を12288に設定。

FXC5710②

モード コマンド 説明
FXC5710(config)# vlan 10 VLAN10を定義。
FXC5710(config)# exit
FXC5710(config)# vlan 20 VLAN20を定義。
FXC5710(config)# exit
FXC5710(config)# vlan 30 VLAN30を定義。
FXC5710(config)# exit
FXC5710(config)# spanning-tree STPを有効化。
FXC5710(config)# spanning-tree mst configuration MSTP設定モードに遷移。
FXC5710(config-mstp-region)# instance 1 vlan 10 MSTインスタンス1とVLAN10を紐づけ。
FXC5710(config-mstp-region)# instance 2 vlan 20 MSTインスタンス2とVLAN20を紐づけ。
FXC5710(config-mstp-region)# instance 3 vlan 30 MSTインスタンス3とVLAN30を紐づけ。
FXC5710(config-mstp-region)# exit
FXC5710(config)# spanning-tree mode mstp MSTP(IEEE802.1s)モードに設定。
FXC5710(config)# spanning-tree mst 1 priority 12288 MSTインスタンス1のプライオリティ値を12288に設定。
FXC5710(config)# spanning-tree mst 2 priority 4096 MSTインスタンス2のプライオリティ値を4096に設定。
FXC5710(config)# spanning-tree mst 3 priority 32768 MSTインスタンス3のプライオリティ値を32768に設定(デフォルト値のため設定は不要)。

FXC5710③

モード コマンド 説明
FXC5710(config)# vlan 10 VLAN10を定義。
FXC5710(config)# exit
FXC5710(config)# vlan 20 VLAN20を定義。
FXC5710(config)# exit
FXC5710(config)# vlan 30 VLAN30を定義。
FXC5710(config)# exit
FXC5710(config)# spanning-tree STPを有効化。
FXC5710(config)# spanning-tree mst configuration MSTP設定モードに遷移。
FXC5710(config-mstp-region)# instance 1 vlan 10 MSTインスタンス1とVLAN10を紐づけ。
FXC5710(config-mstp-region)# instance 2 vlan 20 MSTインスタンス2とVLAN20を紐づけ。
FXC5710(config-mstp-region)# instance 3 vlan 30 MSTインスタンス3とVLAN30を紐づけ。
FXC5710(config-mstp-region)# exit
FXC5710(config)# spanning-tree mode mstp MSTP(IEEE802.1s)モードに設定。
FXC5710(config)# spanning-tree mst 1 priority 32768 MSTインスタンス1のプライオリティ値を32768に設定(デフォルト値のため設定は不要)。
FXC5710(config)# spanning-tree mst 2 priority 12288 MSTインスタンス2のプライオリティ値を12288に設定。
FXC5710(config)# spanning-tree mst 3 priority 4096 MSTインスタンス3のプライオリティ値を4096に設定。

関連コマンド

show spanning-tree
show spanning-tree detail
show spanning-tree mst config
spanning-tree mst <0-64> detail
show spanning-tree mst <0-64> interface [IFNAME]
show spanning-tree mst <0-64> process <0-31>
show spanning-tree mst <0-64> process <0-31> detail
show running-config