tech note

インフラ技術や車についてつぶやいていくブログ

EXスイッチ SRX RSI /var/log/配下 情報取得方法

f:id:tea_cat:20180913010853j:plain
ベンダーからよく取得を依頼されるのでメモ
冗長両機の取得方法です。

SRX

request support information | save /var/tmp/rsi_log
file archive compress source /var/log/* destination /var/tmp/node0.log
request routing-engine login node 1
file archive compress source /var/log/* destination /var/tmp/node1.log
quit
file copy node1:/var/tmp/node1.log.tgz /var/tmp/node1.log.tgz

EX

request support information | save /var/tmp/rsi_log
file archive compress source /var/log/* destination /var/tmp/fpc0.log
request session member 1
file archive compress source /var/log/* destination /var/tmp/fpc1.log
quit
file copy fpc1:/var/tmp/fpc1.log.tgz /var/tmp/