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


 

 

はじめに

本ドキュメントでは、Catalyst 9800 ワイヤレスコントローラ (C9800) の High Availability (HA) 構成のトラブルでよく取得するコマンドについて紹介しています。

 

  

コマンド一覧

show tech-support ha

show chassis detail (*1)
show romvar (*1)
show redundancy states
show redundancy switchover history
show chassis ha-status active (*1)
show chassis ha-status standby (*1)
show logging process stack_mgr internal start last boot
show logging process rif_mgr internal start last boot

(*1) show tech-support ha に含まれています

    

  

show tech-support ha

HA 関連の主なログを同時に取得できるコマンドです。
以下のコマンドが含まれています。

 

show clock
show switch
show module
show version
show running-config
show romvar
show platform
show interfaces summary
show chassis ha-status active
show switch ha-status active
show chassis ha-status standby
show switch ha-status standby
show chassis detail
show switch detail
show chassis mode
show switch mode
show chassis neighbors
show switch neighbors
show redundancy summary
show redundancy
show platform software stack-mgr chassis active R0 peer-timeout
show fips status
show logging
show trace command

  

  

show chassis detail

HA 構成を組んでいる C9800 の Mac アドレスや Chassis 番号、ポートのステータスなどが確認できます。

 

Chassis/Stack Mac Address : 3473.2d82.xxxx - Local Mac Address
Mac persistency wait time: Indefinite
Local Redundancy Port Type: FIBRE
H/W Current
Chassis# Role Mac Address Priority Version State IP
-------------------------------------------------------------------------------------
*1 Active 3473.2d82.xxxx 2 V02 Ready 169.254.23.17
2 Standby 3473.2d82.xxxx 1 V02 Ready 169.254.23.16

 

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

  

show romvar

Rommon 変数に HA 関連の設定が正しく反映されているかが確認できます。

 

ROMMON variables:
PS1 = rommon ! >
? = 0
SWITCH_NUMBER = 1
LICENSE_BOOT_LEVEL =
THRPUT =
STACK_1_1 = 0_0
SWITCH_PRIORITY = 2
CHASSIS_HA_LOCAL_IP = 169.254.23.17
CHASSIS_HA_REMOTE_IP = 169.254.23.16
CHASSIS_HA_LOCAL_MASK = 255.255.255.0
LICENSE_ACTIVE_LEVEL = adventerprise,all:c980080k9;
CONFIG_FILE =
BOOTLDR =
RMI_INTERFACE_NAME = Vlan985 <<< RMI 間の通信に用いるインターフェース名
RMI_CHASSIS_LOCAL_IP = 128.xxx.xx.17 <<< RMI の IP アドレス
RMI_CHASSIS_REMOTE_IP = 128.xxx.xx.16 <<< 対向の RMI の IP アドレス
LICENSE_SUITE =
BOOT = bootflash:packages.conf,12;
RET_2_RTS = 18:22:08 AEDT Wed Dec 8 2023
RET_2_RCALTS =
RANDOM_NUM = 718325765
BSI = 0

  

show redundancy states

コマンドを投入した筐体と対向の HA ステータスが確認できます。
またデフォルト GW のチェック機能の設定内容も簡易に確認できます。

 


my state = 13 -ACTIVE
peer state = 1 -DISABLED <<< 対向の HA ステータス
Mode = Simplex
Unit = Primary
Unit ID = 1

Redundancy Mode (Operational) = Non-redundant
Redundancy Mode (Configured) = sso
Redundancy State = Non Redundant
Maintenance Mode = Disabled
Manual Swact = disabled (system is simplex (no peer unit))
Communications = Down Reason: Simplex mode

client count = 128
client_notification_TMR = 30000 milliseconds
RF debug mask = 0x0
Gateway Monitoring = Enabled
Gateway monitoring interval = 8 secs

 

show redundancy switchover history

HA 構成でスイッチオーバーが発生した時刻とその原因が簡易に確認できます。

 

Index Previous Current Switchover Switchover
active active reason time
----- -------- ------- ---------- ----------
1 2 1 active unit removed 16:21:20 JST Wed Nov 29 2023
2 1 2 Active lost GW 11:14:12 JST Sun Dec 3 2023
3 2 1 active unit removed 18:47:46 JST Wed Dec 6 2023

 

show chassis ha-status active/standby

HA 構成の Active/Standby 機器のステータス、RP ポート間の keepalive の設定値など (Peer-timeout) が確認できます。

 


My state = ACTIVE
Peer state = STANDBY HOT
Last switchover reason = active unit removed
Last switchover time = 19:28:20 JST Wed Nov 6 2023
Image Version = 17.12.1

Chassis-HA Local-IP Remote-IP MASK HA-Interface
-----------------------------------------------------------------------------
This Boot: 169.254.23.17 169.254.23.16 255.255.255.0

Next Boot: 169.254.23.17 169.254.23.16 255.255.255.0


Chassis-HA Chassis# Priority IFMac Address Peer-timeout(ms)*Max-retry
-----------------------------------------------------------------------------------------
This Boot: 1 2 100*5

Next Boot: 1 2 100*5

 

My state = STANDBY HOT
Peer state = ACTIVE
Last switchover reason = active unit removed
Last switchover time = 19:28:20 JST Wed Nov 6 2023
Image Version = 17.12.1

Chassis-HA Local-IP Remote-IP MASK HA-Interface
-----------------------------------------------------------------------------
This Boot: 169.254.23.16 169.254.23.17 255.255.255.0

Next Boot: 169.254.23.16 169.254.23.17 255.255.255.0


Chassis-HA Chassis# Priority IFMac Address Peer-timeout(ms)*Max-retry
-----------------------------------------------------------------------------------------
This Boot: 2 1 100*5

Next Boot: 2 1 100*5

 

show logging process stack_mgr internal

HA の処理の詳細が確認できるコマンドとなります。
'start' オプションを適切に用いて、取得する時間帯を指定するようにして下さい。
以下の例では、筐体が起動してからのログの出力になります。

 

C9800#show logging process stack_mgr internal start last boot

(省略)

2023/08/11 16:01:39.426756167 {stack_mgr_R0-0}{255}: [errmsg] [4614]: (info): %STACKMGR-6-ACTIVE_ELECTED: R0/0: stack_mgr: Chassis 1 has been elected ACTIVE.
2023/08/11 16:01:39.426767365 {stack_mgr_R0-0}{255}: [stack_mgr] [4614]: (note): advancing to stack_fsm_state_active_ready
2023/08/11 16:01:39.426768109 {stack_mgr_R0-0}{255}: [stack_mgr] [4614]: (note): Start Publishing Local Chassis 1 OIR comm_up
2023/08/11 16:01:39.426888009 {stack_mgr_R0-0}{255}: [stack_mgr] [4614]: (note): CHASFS: Published OIR comm_up for chassis 1 successfully
2023/08/11 16:01:39.426889321 {stack_mgr_R0-0}{255}: [stack_mgr] [4614]: (note): CHASFS: Send local midplane/idprom/pkt_ready setting to remote

 

show logging process rif_mgr internal

HA 構成の対向機器のインターフェース関連処理について確認ができるコマンドです。
'start' オプションを適切に用いて、取得する時間帯を指定するようにして下さい。
以下の例では、筐体が起動してからのログの出力になります。

 

C9800#show logging process rif_mgr internal start last boot

(省略)

2024/04/10 12:41:49.436555028 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: Remote Chassis IP Retrived, IP Address - 169.254.25.40
2024/04/10 12:41:49.436555568 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: remote_chassis_ha_enabled=1
2024/04/10 12:41:49.436555826 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: Local Chassis IP Retrived, IP Address - 169.254.25.39
2024/04/10 12:41:49.436556032 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: Local mask Retrived, Mask - 255.255.255.0
2024/04/10 12:41:49.436556220 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: HA interface name Retrived, Interface - GigabitEthernet3
2024/04/10 12:41:49.436556417 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: HA interface MAC addr Retrived, MAC Address - 00:50:56:89:XX:XX
2024/04/10 12:41:49.436556603 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: Chassis priority Retrived, Priority - 2
2024/04/10 12:41:49.436556807 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: Chassis peer timeout Retrived, Peer timeout - 100
2024/04/10 12:41:49.436557002 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: Chassis peer timeout Retrived, Peer timeout retry - 5
2024/04/10 12:41:49.436557193 {rif_mgr_R0-0}{255}: [rif_mgr] [9302]: (note): RIF: Switch number Retrived, Switch number - 1

 

 

Getting Started

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

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