キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
62352
閲覧回数
15
いいね!
1
コメント
yukiyosh
Cisco Employee
Cisco Employee

 

 

はじめに

本ドキュメントは Stackwise Virtual の設定例を記載してます。

Catalyst 9500/16.6.5Eを用いてます。基本的には他の Platform ( Catalyst3850 シリーズ)で同様な手順となります。

なお、CCO が優先されますので、他の Version、Catalyst シリーズで問題が見受けられる場合、CCO

を参照してください。

  

Stackwise Virtual の概要

Stackwise Virtual は2台の物理的な筐体を1台の論理的に筐体に見せることを可能にします、本機能はVSS ( Virtual Switching System ) に非常に似ていますが、異なる点を含め、以下の各種セクションで紹介します。

  • Stackwise Virtual 前提条件
  • Stackwise Virtual 設定例
  • Stackwise Virtual 動作確認

 

Stackwise Virtual 前提条件

2台の筐体で同じライセンスレベル、同じ IOS XE Version にする必要があります。

Stackwise Virutal Link (2台の筐体間で接続するインターフェース) は 10Gbps または 40Gbps を使用します。

  

Stackwise Virtual 設定例

 

構成図

Network Diagram.PNG

 

 

設定

1) Stackwise Vritual 機能の有効化

*2台の Domain ID は同じにする必要があります

*ネットワーク内で論理的な Stackwise Virtual を複数セットを設置する場合は、1セットの Stackwise Virtual 単位でユニークな値にします

 

HANDY(config)#stackwise-virtual 
Please reboot the switch for Stackwise Virtual configuration to take effect
HANDY(config-stackwise-virtual)#domain ?
  <1-255>  Stackwise Virtual switch domain number
HANDY(config-stackwise-virtual)#domain 100 
HANDY(config-stackwise-virtual)#exit

 

SLOPPY(config)#stackwise-virtual 
Please reboot the switch for Stackwise Virtual configuration to take effect
SLOPPY(config-stackwise-virtual)#domain ?
  <1-255>  Stackwise Virtual switch domain number
SLOPPY(config-stackwise-virtual)#domain 100 
SLOPPY(config-stackwise-virtual)#exit

 

2) Active/Standby の選択

2台の筐体で Priority 値を設定し、Stackwise Virtual の役割を決定します

*Priority の値が大きい筐体が Active となります

 

HANDY#switch 1 priority 15
WARNING: Changing the switch priority may result in a configuration change for that switch. Do you want to continue?[y/n]? [yes]: 

 

SLOPPY#switch 2 priority 10
WARNING: Changing the switch priority may result in a configuration change for that switch. Do you want to continue?[y/n]? [yes]: yes

 

3) SVL ( Stackwise Virtual Link ) の設定

HANDY(config)#int FortyGigabitEthernet 1/1/1
HANDY(config-if)#stackwise-virtual link 1
WARNING: All the extraneous configurations will be removed for FortyGigabitEthernet1/1/1 on reboot
HANDY(config-if)#end
HANDY#sh run int fo 1/1/1
Building configuration...

Current configuration : 69 bytes
!
interface FortyGigabitEthernet1/1/1
 stackwise-virtual link 1
end

 

SLOPPY(config)#int FortyGigabitEthernet 1/1/1
SLOPPY(config-if)#stackwise-virtual link 1
WARNING: All the extraneous configurations will be removed for FortyGigabitEthernet1/1/1 on reboot
SLOPPY(config-if)#end
SLOPPY#sh run int fo 1/1/1
Building configuration...

Current configuration : 69 bytes
!
interface FortyGigabitEthernet1/1/1
 stackwise-virtual link 1
end

 

4) DAD ( Dual Active Detection ) 機能の設定

SVL に障害が発生した場合、スタンバイ筐体はアクティブ筐体の状態を判別できません。

確実にスイッチオーバーが発生するように、スタンバイ筐体はアクティブ筐体に障害が発生したと見なし、

スイッチオーバーを開始してVSSアクティブロールを引き継ぎます。

 

元のアクティブ筐体がまだ動作可能な場合は、両方の筐体がアクティブになります。 この状況は、デュアルアクティブシナリオと呼ばれます。 デュアルアクティブシナリオは、両方の筐体が同じ IP アドレス、SSH キー、および STP ブリッジ ID を使用するため、

ネットワークの安定性に悪影響を及ぼす可能性があります。

Stackwise Virtual は、デュアルアクティブシナリオを検出して回復アクションを実行する必要があります。

 

HANDY(config)#int Ten1/0/1
HANDY(config-if)#stackwise-virtual dual-active-detection 
WARNING: All the extraneous configurations will be removed for TenGigabitEthernet1/0/1 on reboot.

 

SLOPPY(config)#int Ten1/0/1
SLOPPY(config-if)#stackwise-virtual dual-active-detection 
WARNING: All the extraneous configurations will be removed for TenGigabitEthernet1/0/1 on reboot.

 

HANDY#sh stackwise-virtual dual-active-detection 
Dual-Active-Detection Configuration:
-------------------------------------
Switch  Dad port
------  ------------
 
Distributed Stack DAD Configuration After Reboot:
------------------------------------------------
Switch  Dad port
------  --------
1       TenGigabitEthernet1/0/1   
 
HANDY#
HANDY#sh run int Ten1/0/1
Building configuration...
 
Current configuration : 41 bytes
!
interface TenGigabitEthernet1/0/1
end

 

5) 2台の物理的な筐体を1台の論理的な筐体へ切り替え

再起動の前に最終確認をします

 

Stackwise Virtual の Status を確認

HANDY#show stackwise-virtual      
Stackwise Virtual Configuration:
--------------------------------
Stackwise Virtual : Disabled
Switch	Stackwise Virtual Link	Ports
------	----------------------	------
1    	1                   	FortyGigabitEthernet1/1/1 

Stackwise Virtual Configuration After Reboot:
---------------------------------------------
Stackwise Virtual : Enabled
Domain Number :	100

Switch	Stackwise Virtual Link	Ports
------	----------------------	------
1    	1                   	FortyGigabitEthernet1/1/1 

 

SLOPPY#show stackwise-virtual      
Stackwise Virtual Configuration:
--------------------------------
Stackwise Virtual : Disabled
Switch	Stackwise Virtual Link	Ports
------	----------------------	------
1    	1                   	FortyGigabitEthernet1/1/1 

Stackwise Virtual Configuration After Reboot:
---------------------------------------------
Stackwise Virtual : Enabled
Domain Number :	100

Switch	Stackwise Virtual Link	Ports
------	----------------------	------
1    	1                   	FortyGigabitEthernet1/1/1 

 

Stackwise Virtual Link の Status を確認

HANDY#show stackwise-virtual link 
Stackwise Virtual Link(SVL) Information:
----------------------------------------
Flags:
------
Link Status
-----------
U-Up D-Down
Protocol Status
---------------
S-Suspended P-Pending E-Error T-Timeout R-Ready
-----------------------------------------------
Switch	SVL	Ports                    	Link-Status	Protocol-Status
------	---	-----                    	-----------	---------------
1    	1	FortyGigabitEthernet1/1/1 	U          	S          

 

SLOPPY#show stackwise-virtual link 
Stackwise Virtual Link(SVL) Information:
----------------------------------------
Flags:
------
Link Status
-----------
U-Up D-Down
Protocol Status
---------------
S-Suspended P-Pending E-Error T-Timeout R-Ready
-----------------------------------------------
Switch	SVL	Ports                    	Link-Status	Protocol-Status
------	---	-----                    	-----------	---------------
1    	1	FortyGigabitEthernet1/1/1 	U          	S         

Stackwise DAD Link の確認

HANDY#show stackwise-virtual dual-active-detection 
Dual-Active-Detection Configuration:
-------------------------------------
Switch	Dad port
------	------------
1 	TenGigabitEthernet1/0/1   

Distributed Stack DAD Configuration After Reboot:
------------------------------------------------
Switch	Dad port
------	--------
1 	TenGigabitEthernet1/0/1   

 

SLOPPY#show stackwise-virtual dual-active-detection 
Dual-Active-Detection Configuration:
-------------------------------------
Switch	Dad port
------	------------
1 	TenGigabitEthernet1/0/1   

Distributed Stack DAD Configuration After Reboot:
------------------------------------------------
Switch	Dad port
------	--------
1 	TenGigabitEthernet1/0/1   

全ての確認を完了した場合、2台の筐体を再起動します

HANDY#reload 
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]

*Mar 4 21:26:17.553: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
Chassis 1 reloading, reason - Reload command
Mar 4 21:26:27.477 R0/0: %PMAN-5-EXITACTION: Process manager is exiting: reload fp action requested
Mar 4 21:26:33.270 R0/0: %PMAN-5-EXITACTION: Process manager is exiting: process exit with reload stack code

octeon_wdt: WDT device closed unexpectedly. WDT will not stop!
reboot: Restarting system

(...)

 

SLOPPY#reload 
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]

*Mar 4 21:26:19.323: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
Chassis 1 reloading, reason - Reload command
Mar 4 21:26:29.447 R0/0: %PMAN-5-EXITACTION: Process manager is exiting: reload fp action requested
Mar 4 21:26:35.702 R0/0: %PMAN-5-EXITACTION: Process manager is exiting: process exit with reload stack code

octeon_wdt: WDT device closed unexpectedly. WDT will not stop!
reboot: Restarting system

(...)

 

Stackwise Virtual 動作確認

Stackwise VirtualのStatusを確認

HANDY#show stackwise-virtual 
Stackwise Virtual Configuration:
--------------------------------
Stackwise Virtual : Enabled
Domain Number :	100

Switch	Stackwise Virtual Link	Ports
------	----------------------	------
1    	1                   	FortyGigabitEthernet1/1/1 
2    	1                   	FortyGigabitEthernet2/1/1 

Stackwise Virtual Configuration After Reboot:
---------------------------------------------
Stackwise Virtual : Enabled
Domain Number :	100

Switch	Stackwise Virtual Link	Ports
------	----------------------	------
1    	1                   	FortyGigabitEthernet1/1/1 
2    	1                   	FortyGigabitEthernet2/1/1 

HANDY#

 

HANDY#show switch
Switch/Stack Mac Address : b07d.479e.9d00 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
*1       Active   b07d.479e.9d00     15     V01     Ready               
 2       Standby  b07d.479e.7580     10     V01     Ready 

 

HANDY#show redundancy 
Redundant System Information :
------------------------------
       Available system uptime = 1 hour, 50 minutes
Switchovers system experienced = 2
              Standby failures = 0
        Last switchover reason = active unit removed

                 Hardware Mode = Duplex
    Configured Redundancy Mode = sso
     Operating Redundancy Mode = sso
              Maintenance Mode = Disabled
                Communications = Up

Current Processor Information :
-------------------------------
               Active Location = slot 1
        Current Software state = ACTIVE
       Uptime in current state = 12 minutes
                 Image Version = Cisco IOS Software [Denali], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.3.3, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Tue 28-Feb-17 05:13 by mcpre
                          BOOT = flash:cat3k_caa-universalk9.16.03.03.SPA.bin;
        Configuration register = 0x102

Peer Processor Information :
----------------------------
              Standby Location = slot 2
        Current Software state = STANDBY HOT 
       Uptime in current state = 0 minutes
                 Image Version = Cisco IOS Software [Denali], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.3.3, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Tue 28-Feb-17 05:13 by mcpre
                          BOOT = flash:cat3k_caa-universalk9.16.03.03.SPA.bin;
        Configuration register = 0x102

 

参考情報

https://www.cisco.com/c/ja_jp/td/docs/switches/lan/catalyst9500/software/release/16-6/configuration_guide/b_166_ha_9500.pdf

 

その他

Catalyst スイッチ (IOS / IOS-XE): 設定例

コメント
MJ
Level 1
Level 1

yukiyosh 様

 

大変参考になるドキュメントありがとうございます!

 

両方の Switch が同じ Priority の場合、どのような基準で Active/Standby が決まるのでしょうか。
例えば、MAC Address の値が大きい方など。

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします