対象機種: AX30 / AX11 / AX21 / AG10 / AG20 / AR10 / AR20(コンパクトルーターは非対応)
筐体内が高温または低温になったときに、CPU動作周波数、モバイルモジュール、インターフェイスの状態を変更する設定を行います。
補足: コンパクトルーターでは、本機能は利用できません。
| コマンド | 内容 | 実行モード |
|---|---|---|
| show config thermal | 高低温の保護設定を表示する | 管理者/設定 |
| thermal polling | 温度のポーリング間隔を設定する | 設定 |
| thermal { cpufreq | mobile | interface } | 制御条件の詳細設定モードに移行する | 設定 |
| no thermal { cpufreq | mobile | interface } | 制御条件を削除する | 設定 |
高低温の保護設定を表示するには、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
高低温の保護を設定するには、詳細設定モードに移行し、設定コマンドを実行します。
高低温の保護設定には、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)の動作および設定の概略を示します。
設定モード
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を参照 | ― | ― |
| 設定 | 内容 |
|---|---|
| 200MHZ | CPU動作周波数を200MHz固定に設定します。 |
| 250MHZ | CPU動作周波数を250MHz固定に設定します。 |
| 500MHZ | CPU動作周波数を500MHz固定に設定します。 |
| 1000MHZ | CPU動作周波数を1000MHz固定に設定します。 |
| ondemand | CPUの負荷状態に基づいて、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 | インターフェイスを無効にします。 |
注意: temperatureとhysteresisの温度範囲が重複する制御条件を指定することはできません。また、modeにlowを指定した場合、highの制御条件よりも高い温度範囲を指定することはできません。
補足: 制御条件範囲外になる温度は次のとおりです。
- modeにhighを指定した場合、温度が「temperature - hysteresis」以下になったときに、制御条件範囲外になります。
- modeにlowを指定した場合、温度が「temperature + hysteresis」以上になったときに、制御条件範囲外になります。
補足: 制御条件が有効化/無効化されると、以下のログが出力されます。ログレベルとsyslogの番号の対応は、12.5 ログレベル対応表を参照してください。
- 制御条件が有効化されたとき:
COND-NAME is active- 制御条件が無効化されたとき:
COND-NAME is inactive
補足: stateのCPU動作周波数の指定について
- AIエッジゲートウェイ、センサー接続ゲートウェイはCPU動作周波数の指定に対応していません。
- ファームウェア3.8.0以降のエッジゲートウェイ、IoTルーターでは上記の何れに設定してもCPU動作周波数は1000MHZで固定となり変化しなくなります。
補足: 設定はすぐに反映されますが、再起動後も保持するには 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