運用コマンドレファレンス Vol.1


show script installed-file

本装置にインストールされているPythonスクリプトファイルの情報を表示します。

[入力形式]

show script installed-file [<file name>]

[入力モード]

一般ユーザモードおよび装置管理者モード

[パラメータ]

<file name>

指定したスクリプトファイルの情報を表示します。ファイル名だけを指定してください。ファイルパス指定はできません。

本パラメータ省略時の動作

インストールされている全スクリプトファイルの情報を表示します。

[実行例]

図19‒6 全スクリプトファイル情報の表示
> show script installed-file
Date 20XX/10/25 13:39:50 UTC
Total: 3 files, 129931 bytes
 
name: test1.py
size: 4014 bytes
MD5: 646da9ae6854565766abc96856857d67
 
name: test2.py
size: 125263 bytes
MD5: 8ef5b45e1f7bead446a5bfa1ebac1620
 
name: test3.py
size: 654 bytes
MD5: b5210a71ea7c7bcbcb7923a7d471e383
>
図19‒7 スクリプトファイル(test1.py)情報の表示
> show script installed-file test1.py
Date 20XX/10/25 13:40:50 UTC
 
name: test1.py
size: 4014 bytes
MD5: 646da9ae6854565766abc96856857d67
>

[表示説明]

表19‒6 show script installed-fileコマンドの表示内容

表示項目

表示内容

Total

<value> files

<value>:インストールファイル数

<value> bytes

<value>:合計ファイルサイズ

name

ファイル名

size

ファイルサイズ

MD5

MD5ハッシュ値

[通信への影響]

なし

[応答メッセージ]

表19‒7 show script installed-fileコマンドの応答メッセージ一覧

メッセージ

内容

The command cannot be executed. Try again.

コマンドを実行できません。再実行してください。

The command is not authorized by the RADIUS/TACACS+ server or the configuration.

このコマンドはRADIUSサーバ,TACACS+サーバ,またはコンフィグレーションで承認されていません。

The specified script file is not installed. (file name = <file name>)

指定したスクリプトファイルはインストールされていません。

<file name>:スクリプトファイル名

[注意事項]

なし