キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
869
閲覧回数
0
いいね!
0
コメント
JapanTAC_CSC
Rising star
Rising star

 

概要

以前紹介した IOS-XR 6.3.3 以降で追加された、 'show tech-support custom' が IOS-XR 7.5.1 以降でさらに使いやすくなりました。

この機能ではあらかじめ取得する show command/show tech のリストを指定したオリジナルの show tech を作成することができます。 

 

 

使い方

以下のように show running-config で取得したいコマンドリストを profile として設定できるようになりました。

RP/0/RP0/CPU0:IOSXR#show running-config customshowtech profile1
customshowtech profile1
 command show version
 command show interfaces brief
 command show tech-support syslog
 admincommand "show platform"
 admincommand "show tech-support syslog"
!    

'profile-name' option を使用することで オリジナルの show tech を作成することができます。

以下の例では、以前と同様に TAC へ問い合わせ時に必須である show command のリストを作成してみました。

RP/0/RP0/CPU0:IOSXR#show running-config customshowtech tac_mandatory
Wed Apr 26 12:15:46.878 JST
customshowtech tac_mandatory
 command show diag
 command show logging
 command show platform
 command show inventory
 command show alarms brief
 command show hw-module fpd
 command show running-config
 command show install active summary
 admincommand "show platform"
 admincommand "show hw-module fpd"
!  

実際に取得したファイル

RP/0/RP0/CPU0:IOSXR#show tech-support custom profile-name tac_mandatory
Wed Apr 26 12:15:53.541 JST
++ Show tech start time: 2023-Apr-26.121601.JST ++
Wed Apr 26 12:16:02 JST 2023 Waiting for gathering to complete
....Wed Apr 26 12:16:14 JST 2023 Waiting for Sysadmin show tech-support collection
....Wed Apr 26 12:17:14 JST 2023 Please collect Admin show tech-support ctrace in addition to any sysadmin show-tech-support collection

Wed Apr 26 12:17:14 JST 2023 Compressing show tech output
Show tech output available at 0/RP0/CPU0 : /harddisk:/showtech/showtech-IOSXR-custom-2023-Apr-26.121601.JST.tgz
++ Show tech end time: 2023-Apr-26.121715.JST ++

XR VM のコマンドは system.tech.gz 解凍後の system.tech に、sysadminVM のコマンドは showtech-custom-admin-xxx.tgz 解凍後の system.tech に指定したコマンドの結果が含まれます。

RP/0/RP0/CPU0:IOSXR#more /harddisk:/showtech/showtech-IOSXR-custom-2023-Apr-26.121601.JST/system.tech
Wed Apr 26 14:23:53.967 JST

++++++++++++++++ show diag [12:16:02.925 JST Wed Apr 26 2023] +++++++++++++++++
---omitted--- 
RP/0/RP0/CPU0:IOSXR#more /harddisk:/showtech/showtech-IOSXR-custom-2023-Apr-26.121601.JST/showtech-custom-admin-2023-Apr-26.031609.UTC/system.tech Wed Apr 26 14:25:25.007 JST ------------------------------------------------------------------------------- Calvados show tech-support custom ------------------------------------------------------------------------------- ++++++++++++++++ show platform [Wed Apr 26 03:16:10 UTC 2023] +++++++++++++++++ ---omitted---

 

 

参考情報

Getting Started

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

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

推薦したいメンバーがいます