Posted on December 22, 2014 6:59 pm
 |  Asked by Mike Cotrone
 |  725 views
RESOLVED
0
0
Print Friendly, PDF & Email

Hi,

Sorry for this weird request, but I am looking to know the exact string that EOS will give me in an show environment all command results output?

<Snippet from show environmental all – all fans good in this case.>

Airflow: front-to-back

Fan Tray         Status           Speed
---------------- --------------- ------
1                Ok                 46%
2                Ok                 46%
3                Ok                 46%
4                Ok                 46%
5                Ok                 46%
6                Ok                 46%

Thank you much in advance!
Mike

0
Posted by Andrei Dvornic
Answered on January 5, 2015 1:07 pm

Hi Mike,

 

Here is the answer which you can also find in the CommandApiGuide on our website (I am assuming that you are interested in the eAPI output):

 enum: unknownHwStatus, failed,  powerLoss, ok,  unsupported

I hope this helps.

 

Thanks,
Andrei

0
Posted by Mike Cotrone
Answered on January 5, 2015 1:11 pm

Andrei yes thank you that is exactly what I was searching for. Much appreciated!

Post your Answer

You must be logged in to post an answer.