0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Cisco Catalyst 9300でスタックスピードの違いによりスタックが組めない際の対処法

0
Posted at

はじめに

CiscoCatalyst9300(Cat9300)でスタック構成を組もうとした際、スタックスピードの違い(帯域の不一致)によりスタックが形成されないトラブルに遭遇しました。
今回はその原因と対処方法について、備忘録を兼ねてまとめたいと思います。

事前の状態

2台のCat9300を使って、スタックを組もうとした際、上手くスタックができず、調べていくとスタックスピードが違うことがわかりました。

1台目

Switch#show switch stack-ring speed

Stack Ring Speed        : 500G
Stack Ring Configuration: Down
Stack Ring Protocol     : StackWise

2台目

Switch#show switch stack-ring speed

Stack Ring Speed        : 240G
Stack Ring Configuration: Down
Stack Ring Protocol     : StackWise

スタックスピードが異なると、スタックできないため、今回はStack Ring Speed : 500G(switch stack-speed high) に合わせることにしました。

スタックスピードの変更

スタックスピードの低い機器をswitch stack-speed high に変更します。
変更前のconfig

Switch#show run | i stack-speed

デフォルトのLow設定の場合はconfigに表示されません。

ちなみにスタックスピードが異なる状態でスタックケーブルを接続すると、以下のような状態になります。

Switch#sh switch detail
Switch/Stack Mac Address : 1111.2222.3333 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
-------------------------------------------------------------------------------------
 1       Member   0000.0000.0000     0              Provisioned
*2       Active   1111.2222.3333     10     V04     Ready



         Stack Port Status             Neighbors
Switch#  Port 1     Port 2           Port 1   Port 2
--------------------------------------------------------
  2       DOWN       DOWN             None     None

スタックスピードを変更します。
グローバルコンフィグレーションモードに移動して、configを変更しようとすると、スタック時にスピード変更する場合の影響についての警告メッセージが表示されます。
[y]と入力すると、設定が変更されます。

Switch(config)#switch stack-speed high
WARNING: Please confirm all switches physically connected to the stack are in Ready state with 'show switch' CLI command. Otherwise, some switches may not be able to join the stack after the reload, due to speed mismatch.
Stack bandwidth setting can be verified using 'show switch stack-bandwidth' command. It will require a reboot for the new stack speed to take effect.
Do you want to continue?[y/n]? [yes]: y

configを確認すると
設定が入っていることが確認できます。

Switch#sh run | i  stack-speed
switch stack-speed high

またスタックスピードも500Gになっているのが分かります。

Switch#show switch stack-ring speed

Stack Ring Speed        : 500G
Stack Ring Configuration: Down
Stack Ring Protocol     : StackWise

この時点ではまだスタックが組めませんので、設定を保存して、再起動を行います。

Switch#write
Building configuration...
[OK]
Switch#
Switch#reload
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]・・・

変更後の確認

機器の再起動後、スタックケーブルを繋げるとスタックできるようになりました。

Switch#show switch stack-ring speed

Stack Ring Speed        : 1000G
Stack Ring Configuration: Full
Stack Ring Protocol     : StackWise

※スタック後のshow switch stack-ring speed で表示される数値は、スタックケーブルを2本繋いで二重化(リング化)しているため帯域が2倍(1000G)となっています。

Switch#sh switch detail
Switch/Stack Mac Address : 1111.2222.3333 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
-------------------------------------------------------------------------------------
*1       Active   4444.5555.6666     15     V03     Ready
 2       Standby  1111.2222.3333     10     V04     Ready



         Stack Port Status             Neighbors
Switch#  Port 1     Port 2           Port 1   Port 2
--------------------------------------------------------
  1         OK         OK               2        2
  2         OK         OK               1        1

他のステータスも正常です

Switch#sh switch stack-bandwidth
                   Stack       Current     Next Boot
Switch#   Role     Bandwidth   State       Bandwidth
------------------------------------------------------------
*1       Active    1000G       Ready       1000G
 2       Standby   1000G       Ready       1000G
Switch#sh switch stack-ports
Switch#   Port1     Port2
----------------------------
1         OK        OK
2         OK        OK

以上で、スタックスピードの変更は完了になります。

まとめ

今回はCatalyst9300でスタックスピードが異なる場合の対処法について解説しました。
今回スタックスピードが異なっていた詳細な原因までは特定できませんでしたが、構築作業を急いでいる際などは、こうした帯域の差異は見落としがちなポイントかと思います。
本記事が、同じトラブルで困っている方や構築作業中の方の参考になれば幸いです。

参考サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?