// はじめに
Catalyst 9800 シリーズのコントローラの利用時に、クライアント接続問題の調査のために有効な情報が得られるデバックのコマンドと出力例について紹介致します。
※ AireOS の debug client に相当するコマンドとなります
※ 16.11.1b での動作例となります
// コマンド
debug wireless mac <aaaa.bbbb.cccc>
show debugging
<< クライアントの接続問題の発生を確認
no debug wireless mac <aaaa.bbbb.cccc>
copy bootflash:ra_trace_MAC_*.log ftp://username:password@FTPSERVERIP/path/RATRACE_FILENAME.txt
※ ftp サーバ へコピーして取得する場合です。
// 動作例
* debug の設定
C9800-40#debug wireless mac c4b3.01cd.0c3d
RA tracing start event,
conditioned on MAC address: c4b3.01cd.0c3d
Trace condition will be automatically stopped in 1800 seconds.
Execute 'no debug wireless mac c4b3.01cd.0c3d' to manually stop RA tracing on this condition.
* 設定した debug を確認
C9800-40#
C9800-40#show debugging
IOSXE Conditional Debug Configs:
Conditional Debug Global State: Start
Conditions Direction
----------------------------------------------------------------------------------------------|---------
Feature Condition Type Value
-----------------------|------------------------|--------------------------------------------------------
ewlc mac c4b3.01cd.0c3d
Feature Type Submode Level
------------|-------------|----------------------------------------------------------------------------------------------|----------
ewlc controlplane NOT REGISTERED debug
IOSXE Packet Tracing Configs:
license policy manager client:
platform software policy_manager_error debugging is on
SPA subslot 0/0:
Error handling and race conditions debugging is on
Packet Infra debugs:
Ip Address Port
------------------------------------------------------|----------
NAT Client INFO enabled
NAT Client TRACE enabled
NAT Client Stats INFO enabled
NAT Client Stats TRACE enabled
* ( クライアントの接続問題の発生を確認 )
* debug を停止させる
C9800-40#no debug wireless mac c4b3.01cd.0c3d
* bootflash: 配下に生成される ra_trace_MAC_*.log のファイルを確認
C9800-40#show bootflash:
-#- --length-- ---------date/time--------- path
(snip)
50 30472374 Jul 18 2019 01:14:49.0000000000 +00:00 C9800-rpboot.16.11.01b.SPA.pkg
51 27564 Jul 31 2019 17:59:24.0000000000 +00:00 ra_trace_MAC_c4b3.01cd.0c3d_175923310_UTC_Wed_Jul_31_2019.log
52 86235 Jul 31 2019 18:04:00.0000000000 +00:00 collated_log_20190731-180359
22627962880 bytes available (2490765312 bytes used)
* bootflash: のログを TFTP や FTP サーバへコピーをして取得
copy bootflash:ra_trace_* {tftp: | ftp: | https: }
FTP サーバを利用する場合は、以下のようにクレデンシャルを指定できます。
copy bootflash:ra_trace_MAC_*.log ftp://username:password@FTPSERVERIP/path/RATRACE_FILENAME.txt