[Network] CatalystでMSTPを使ってみる。

技術のお話し

過去、Alliedの9606TやhpのA5500とかではMSTPを使ってきたことはあったのだけど、Catalystでは全く経験がなかったので使ってみることにした。自宅の3550で動いてるIOS(12.1(22))でちゃんと実装されてるんかいな?とか思いながら使ってみたのだけど、意外とちゃんと動いた。

確か、802.1s準拠前のドラフト仕様だと思うんだが・・・・これ。それでも動けばいいやっw

PEACH(config)#spanning-tree mode mst

MSTPを効かせた後のSpanning-tree状態は以下のような感じ。

PEACH#show spanning-tree

MST00
Spanning tree enabled protocol mstp
Root ID    Priority    32768
Address     0009.41a4.6413
Cost        20000
Port        26 (GigabitEthernet0/2)
Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
Address     0009.e8b1.ab80
Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface        Role Sts Cost      Prio.Nbr Type
—————- —- — ——— ——– ——————————–
Fa0/1            Desg FWD 200000    128.1    P2p
Fa0/2            Desg FWD 200000    128.2    P2p
Fa0/5            Desg FWD 200000    128.5    P2p
Gi0/2            Root FWD 20000     128.26   P2p Bound(RSTP)
Po1              Desg FWD 50000     128.65   P2p

ちなみに、MSTPに切り替えた途端、実は一度ブロードキャストストームが発生してしまい、大変な目にあってしまった^^;というわけで、備え付けネットワークを繋いでる幹線VLANをインスタンス1に分離してみた。

PEACH(config)#spanning-tree mst configuration
PEACH(config-mst)#instance 1 vlan 99
PEACH(config-mst)#name region1
PEACH(config-mst)#revision 1

この状態でMSTPの状態を見てみる。

PEACH#show spanning-tree

MST00
Spanning tree enabled protocol mstp
Root ID    Priority    32768
Address     0009.41a4.6413
Cost        20000
Port        26 (GigabitEthernet0/2)
Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
Address     0009.e8b1.ab80
Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface        Role Sts Cost      Prio.Nbr Type
—————- —- — ——— ——– ——————————–
Fa0/1            Desg BLK 200000    128.1    P2p
Fa0/2            Desg BLK 200000    128.2    P2p
Fa0/5            Desg BLK 200000    128.5    P2p
Gi0/2            Root FWD 20000     128.26   P2p Bound(RSTP)
Po1              Desg FWD 50000     128.65   P2p Bound(RSTP)

MST01
Spanning tree enabled protocol mstp
Root ID    Priority    32769
Address     0009.e8b1.ab80
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     0009.e8b1.ab80
Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface        Role Sts Cost      Prio.Nbr Type
—————- —- — ——— ——– ——————————–
Fa0/1            Desg LRN 200000    128.1    P2p
Fa0/2            Desg LRN 200000    128.2    P2p

おお、ちゃんとドメインが分割されとる。このモードを使うと、他社スイッチが存在する場合などに有効だったりするのよね。PVST+やRapid-PVSTはどうしてもCisco独自部分がありますからね。

Priorityの変更設定は以下のとおり。

PEACH(config)#spanning-tree mst 0 priority 4096
PEACH(config)#spanning-tree mst 1 priority 40960

これでルートブリッジの定義を明確にできるよーんと。それにしても3550のデフォルトPriority値って32768だったのね・・・意外だわ。

Tags:

No responses yet

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください

PAGE TOP