Choose “Save as PDF” as the destination to download this doc.

Back to the doc
amnimo Manual Library

9.3 高低温度保護の設定をする

第9章 保守と管理  ·  https://manual.amnimo.com/docs/maintainance-cli/9-3-cli/

9.3 高低温度保護の設定をする

対象機種: AX30 / AX11 / AX21 / AG10 / AG20 / AR10 / AR20(コンパクトルーターは非対応)

筐体内が高温または低温になったときに、CPU動作周波数、モバイルモジュール、インターフェイスの状態を変更する設定を行います。

note 補足: コンパクトルーターでは、本機能は利用できません。

コマンド内容実行モード
show config thermal高低温の保護設定を表示する管理者/設定
thermal polling温度のポーリング間隔を設定する設定
thermal { cpufreq | mobile | interface }制御条件の詳細設定モードに移行する設定
no thermal { cpufreq | mobile | interface }制御条件を削除する設定

9.3.1 高低温の保護設定を表示する

高低温の保護設定を表示するには、show config thermalコマンドを実行します。

実行モード: 管理者モード(amnimo#)/設定モード(amnimo(cfg)#)

書式
show config thermal
出力フォーマット
# ---- transition to configure mode ----
configure
# ---- thermal polling configure ----
thermal polling POLLING
# ---- thermal cpufreq COND-NAME configure ----	←CPU動作周波数の設定が表示される
thermal cpufreq COND-NAME
ENABLE
mode MODE
temperature TEMPERATURE
hysteresis HYSTERESIS
LOG-DETECTION
LOG-RESTORATION
state STATE
exit
# ---- thermal mobile COND-NAME configure ----	←モバイルモジュールの設定が表示される
thermal mobile COND-NAME
ENABLE
mode MODE
temperature TEMPERATURE
hysteresis HYSTERESIS
LOG-DETECTION
LOG-RESTORATION
state STATE
exit
# ---- thermal interface COND-NAME configure ----	←インターフェイスの設定が表示される
thermal interface COND-NAME
ENABLE
mode MODE
temperature TEMPERATURE
hysteresis HYSTERESIS
LOG-DETECTION
LOG-RESTORATION
state STATE
exit
# ---- exit configure mode ----
exit
出力項目
項目内容
POLLINGポーリングを行う間隔(ミリ秒)が表示されます。
COND-NAME条件名が表示されます。
ENABLE各条件が有効の場合は「enable」、無効の場合は「no enable」と表示されます。
MODEモードが表示されます。
TEMPERATURE高低温保護制御に入る温度が表示されます。
HYSTERESIS高低温保護制御から復帰するヒステリシス温度が表示されます。
LOG-DETECTION制御条件が有効化されたときにログ出力するかどうかが表示されます。
ログ出力が有効の場合は「log detection {ログレベル}」と表示されます。無効の場合は表示されません。
LOG-RESTORATION制御条件が無効化されたときにログ出力するかどうかが表示されます。
ログ出力が有効の場合は「log restoration {ログレベル}」と表示されます。無効の場合は表示されません。
STATE高低温保護制御に入った時の制御状態が表示されます。
実行例

管理者モードと設定モードで、コマンドの入力と出力は同じです。以下に、管理者モードの実行例を示します。

amnimo# show config thermal
# ---- transition to configure mode ----
configure
# ---- thermal polling configure ----
thermal polling 1000
# ---- thermal cpufreq high configure ----
thermal cpufreq high
enable
mode high
temperature 100.0
hysteresis 10.0
log detection warnings
log restoration notifications
state 200MHZ
exit
# ---- thermal cpufreq low configure ----
thermal cpufreq low
enable
mode low
temperature -10.0
hysteresis 5.0
log detection warnings
log restoration notifications
state 1000MHZ
exit
# ---- thermal mobile high configure ----
thermal mobile high
enable
mode high
temperature 100.0
hysteresis 10.0
log detection warnings
log restoration notifications
state disable
exit
# ---- thermal interface high configure ----
thermal interface high
enable
mode high
temperature 100.0
hysteresis 10.0
log detection warnings
log restoration notifications
state 100baseT-Auto
exit
# ---- exit configure mode ----
exit
関連コマンド

9.3.2 高低温の保護を設定する

高低温の保護を設定するには、詳細設定モードに移行し、設定コマンドを実行します。

高低温の保護設定には、CPU動作周波数、モバイルモジュール、インターフェイスの設定をするための詳細設定モードがあります。それぞれの詳細設定モードには、thermalコマンドにオプションを付けて実行することで移行することができます。

実行モード: 設定モード(amnimo(cfg)#)、高低温保護の詳細設定モード(CPU動作周波数:amnimo(cfg-th-cpu-COND-NAME)#、モバイル:amnimo(cfg-th-mob-COND-NAME)#、インターフェイス:amnimo(cfg-th-if-COND-NAME)#)

以下の図に、高温時(mode=high)および低温時(mode=low)の動作および設定の概略を示します。

image113
書式

設定モード

thermal polling <100 - 3600000>
thermal { cpufreq | mobile | interface } COND-NAME
no thermal { cpufreq | mobile | interface } COND-NAME

高低温保護の詳細設定モード

enable
no enable
mode { high | low }
temperature <-100.0 - 200.0>
hysteresis <0 - 100.0>
log { detection | restoration } LEVEL
no log { detection | restoration }
state STATE
show config
exit
サブコマンド
コマンド内容
thermal polling温度のポーリング間隔(ミリ秒)を設定します。ここで設定した時間間隔で温度が取得され、制御条件が確認されます。
thermal cpufreq
thermal mobile
thermal interface
指定した条件名の、機能ごとの詳細設定モードに移行します。
no thermal cpufreq
no thermal mobile
no thermal interface
指定した条件名の制御条件を削除します。
enable制御条件を有効にします。
no enable制御条件を無効にします。
mode制御条件のモードを指定します。
temperature状態を変更する温度(℃)を指定します。必須項目です。
hysteresis温度ヒステリシス(℃)を指定します。
log detection制御条件の発生時のログ出力を有効にし、Syslogレベルを指定します。
log restoration制御条件発生中から復旧したときのログ出力を有効にし、Syslogレベルを指定します。
no log detection制御条件の発生時のログ出力を無効にします。
no log restoration制御条件発生中から復旧したときのログ出力を無効にします。
state制御条件が範囲内のときの状態を指定します。
show config高低温の保護の設定を表示します。詳しくは、『9.3.1 高低温の保護設定を表示する』を参照してください。
exit詳細設定モードを終了して、設定モードへ移行します。
パラメーター
パラメーター説明範囲・形式初期値
thermal polling の値温度のポーリング間隔(ミリ秒)100~3600000―
COND-NAME制御条件を一意に識別できる名称。
「Tab」キーを入力すると、条件名の入力を補完することができます。
32文字以内の英数字およびマイナス文字―
mode の値high:高温時の制御条件である場合に指定します。
low:低温時の制御条件である場合に指定します。
high、low―
temperature の値状態を変更する温度(℃)-100.0~200.0―(必須)
hysteresis の値温度ヒステリシス(℃)0~100.0―
LEVELログを出力するSyslogレベルemergencies / alerts / criticals / errors / warnings / notifications / informational / debugging―
STATE制御条件が範囲内のときの状態。
詳細設定モードの種類によって指定できる値が異なります。
※1を参照
――
※1
設定内容
200MHZCPU動作周波数を200MHz固定に設定します。
250MHZCPU動作周波数を250MHz固定に設定します。
500MHZCPU動作周波数を500MHz固定に設定します。
1000MHZCPU動作周波数を1000MHz固定に設定します。
ondemandCPUの負荷状態に基づいて、CPU動作周波数を動的に変更します。
設定内容
enableモバイルモジュールを有効にします。
disableモバイルモジュールを無効にします。
設定内容
10baseT-Halfモードを10baseT-Halfに設定します。
10baseT-Fullモードを10baseT-Fullに設定します。
100baseT-Autoモードを100baseT-Autoに設定します。
100baseT-Halfモードを100baseT-Halfに設定します。
100baseT-Fullモードを100baseT-Fullに設定します。
1000baseT-Autoモードを1000baseT-Autoに設定します。
1000baseT-Fullモードを1000baseT-Fullに設定します。
disableインターフェイスを無効にします。
注意・補足

warning 注意: temperatureとhysteresisの温度範囲が重複する制御条件を指定することはできません。また、modeにlowを指定した場合、highの制御条件よりも高い温度範囲を指定することはできません。

note 補足: 制御条件範囲外になる温度は次のとおりです。

note 補足: 制御条件が有効化/無効化されると、以下のログが出力されます。ログレベルとsyslogの番号の対応は、12.5 ログレベル対応表を参照してください。

note 補足: stateのCPU動作周波数の指定について

note 補足: 設定はすぐに反映されますが、再起動後も保持するには config file save で保存してください。詳しくは G1.2 設定の反映と保存 を参照してください。

実行例
amnimo(cfg)# thermal polling 1000

amnimo(cfg)# thermal cpufreq high	←CPU動作周波数の詳細設定モードに移行
amnimo(cfg-th-cpu-high)# enable
amnimo(cfg-th-cpu-high)# mode high
amnimo(cfg-th-cpu-high)# temperature 100.0
amnimo(cfg-th-cpu-high)# hysteresis 10.0
amnimo(cfg-th-cpu-high)# log detection warnings
amnimo(cfg-th-cpu-high)# log restoration notifications
amnimo(cfg-th-cpu-high)# state ondemand
amnimo(cfg-th-cpu-high)# exit

amnimo(cfg)# thermal mobile high	←モバイルの詳細設定モードに移行
amnimo(cfg-th-mob-high)# enable
amnimo(cfg-th-mob-high)# mode high
amnimo(cfg-th-mob-high)# temperature 100.0
amnimo(cfg-th-mob-high)# hysteresis 10.0
amnimo(cfg-th-mob-high)# log detection warnings
amnimo(cfg-th-mob-high)# log restoration notifications
amnimo(cfg-th-mob-high)# state disable
amnimo(cfg-th-mob-high)# exit

amnimo(cfg)# thermal interface high	←インターフェイスの詳細設定モードに移行
amnimo(cfg-th-if-high)# enable
amnimo(cfg-th-if-high)# mode high
amnimo(cfg-th-if-high)# temperature 100.0
amnimo(cfg-th-if-high)# hysteresis 10.0
amnimo(cfg-th-if-high)# log detection warnings
amnimo(cfg-th-if-high)# log restoration notifications
amnimo(cfg-th-if-high)# state 100baseT-Auto
amnimo(cfg-th-if-high)# exit

amnimo(cfg)# config file save
関連コマンド