コマンド履歴
使用上のガイドライン アクセスされているスイッチ(スタンドアロンスイッチまたはスタックマスター)の情報を表示する には、
show env
ユーザEXEC
コマンドを使用します。stack
およびswitch
キーワードとともにこのコ マンドを使用すると、スタックまたは指定されたスタックメンバのすべての情報が表示されます。show env temperature status
コマンドを入力する場合、コマンド出力はスイッチ温度ステートおよび しきい値レベルを示します。スイッチ温度状態を表示するためには、
show env temperature
コマンドも使用できます。コマンド出 力では、GREEN
およびYELLOW
ステートをOK
と表示し、RED
ステートをFAULTY
と表示します。show env all
コマンドを入力する場合、コマンド出力はshow env temperature status
コマンド出力と 同じです。例 次の例では、スタンドアロンスイッチでの
show env all
コマンドの出力を示します。Switch> show env all FAN is OK
TEMPERATURE is OK
Temperature Value: 33 Degree Celsius Temperature State: GREEN
Yellow Threshold : 65 Degree Celsius Red Threshold : 75 Degree Celsius SWITCH 1:
Type: FRU-750W PID: C3K-PWR-750WAC VID: P2B
Serial#: DTH10090080 Fan: Not Present Temperature: Green +12V Signal: Good PoE Signal: Good +12V PS Class: 300W PoE PS Class: 500W SWITCH 1:
RPS:
RPS is active Fan: Good Temperature: Green FRU A:
FRU PS is present FRU B:
FRU PS is present DC port legends:
Y = Yes : N = No Act = Active : Sby = Standby
OK = Power Supply is good : NP = Power Supply is not present or bad BU = RPS actively backing up : NB = RPS not actively backing up 12v/PoE 12v/PoE RPS
Port State Prio Status Backup Avail PortName Switch Name ---- --- ---- --- --- --- 1 Act 1 OK/OK NB/NB Y <> <remote>
リリース 変更箇所
12.2(35)SE2
このコマンドが追加されました。2 Act 4 OK/NP NB/NB Y <> <remote>
3 Act 1 OK/OK NB/NB Y <> Switch 4 Act 1 OK/OK NB/NB Y Switch <remote>
5 Act 2 OK/OK NB/NB Y <> <remote>
6 Act 6 OK/OK NB/NB Y <> <remote>
次の例では、
show env fan
コマンドの出力を示します。Switch> show env fan FAN is OK
次の例では、スタンドアロンスイッチでの
show env power
コマンドの出力を示します。Switch> show env power SWITCH 1:
Type: FRU-750W PID: C3K-PWR-750WAC VID: P2B
Serial#: DTH10090080 Fan: Not Present Temperature: Green +12V Signal: Good PoE Signal: Good +12V PS Class: 300W PoE PS Class: 500W
<output truncated>
次の例では、スタックマスターでの
show env rps all
コマンドの出力を示します。Switch> show env rps all SWITCH 1:
RPS:
RPS is active Fan: Good Temperature: Green FRU A:
FRU PS is present FRU B:
FRU PS is present DC port legends:
Y = Yes : N = No Act = Active : Sby = Standby
OK = Power Supply is good : NP = Power Supply is not present or bad BU = RPS actively backing up : NB = RPS not actively backing up 12v/PoE 12v/PoE RPS
Port State Prio Status Backup Avail PortName Switch Name ---- --- ---- --- --- --- 1 Act 1 OK/OK NB/NB Y <> <remote>
2 Act 4 OK/NP NB/NB Y <> <remote>
3 Act 1 OK/OK NB/NB Y <> Switch 4 Act 1 OK/OK NB/NB Y Switch <remote>
5 Act 2 OK/OK NB/NB Y <> <remote>
6 Act 6 OK/OK NB/NB Y <> <remote>
<output truncated>
次の例では、スタックメンバ
2
がRPS 675
に接続されているCatalyst 3750
スイッチの場合のスタッ クマスターにおけるshow env rps
コマンドの出力を示します。Switch> show env rps
SWITCH 1:
RPS:
RPS is active Fan: Good Temperature: Green FRU A:
FRU PS is present FRU B:
FRU PS is present DC port legends:
Y = Yes : N = No Act = Active : Sby = Standby
OK = Power Supply is good : NP = Power Supply is not present or bad BU = RPS actively backing up : NB = RPS not actively backing up 12v/PoE 12v/PoE RPS
Port State Prio Status Backup Avail PortName Switch Name ---- ---
-- --- --- ---
1 Act 1 OK/OK NB/NB Y <> <remote>
2 Act 4 OK/NP NB/NB Y <> <remote>
3 Act 1 OK/OK NB/NB Y <> Switch 4 Act 1 OK/OK NB/NB Y Switch <remote>
5 Act 2 OK/OK NB/NB Y <> <remote>
6 Act 6 OK/OK NB/NB Y <> <remote>
SWITCH 2:
Legacy RPS is AVAILABLE
<output truncated>
次の例では、スタックマスターでの
show env stack
コマンドの出力を示します。Switch> show env stack SWITCH: 1
FAN is OK
TEMPERATURE is OK
Temperature Value: 33 Degree Celsius Temperature State: GREEN
Yellow Threshold : 65 Degree Celsius Red Threshold : 75 Degree Celsius POWER is OK
RPS is AVAILABLE
<output truncated>
次の例では、スタンドアロンスイッチで温度値、ステート、およびしきい値を表示する方法を示しま
す。表
2-33
に、コマンド出力の温度ステートの説明を示します。Switch> show env temperature status Temperature Value: 33 Degree Celsius Temperature State: GREEN
Yellow Threshold : 65 Degree Celsius Red Threshold : 75 Degree Celsius
関連コマンド
表 2-33 show env temperature status コマンド出力のステート
ステート 説明
Green
スイッチの温度が正常な動作範囲にあります。Yellow
温度が警告範囲にあります。スイッチの外の周辺温度を確認する必要があります。Red
温度がクリティカル範囲にあります。温度がこの範囲にある場合、スイッチが正常に 実行されない可能性があります。コマンド 説明