cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1905
Views
10
Helpful
3
Replies

Could you please help me with moquery?

atcapaev
Cisco Employee
Cisco Employee

 Hello ACI experts.

 

 

I am very new in ACI and does not have any coding skills whatsoever.

I have a task to fill up report on power supply status of the fabric.

 

I believe there could a way to pull such information from  the APIC using moquery command?

Could you please tell me if you know such method.

2 Accepted Solutions

Accepted Solutions

Marcel Zehnder
Spotlight
Spotlight

Hi 

moquery -c eqptPsu - you can use grep to gather the important information - for example:

moquery -c eqptPsu -x 'order-by=eqptPsu.dn|asc' | egrep "#|dn|ser|operSt"

 

HTH

Marcel

 

View solution in original post

apubillo
Cisco Employee
Cisco Employee

Hi,

 

To check PSU state/info:

 

  • moquery -c eqptPsu
  • moquery -c eqptPsuSlot
  • moquery -c eqptPsPower
  • moquery -c eqptSpromPsu
  • moquery -c eqptSpromPsuBlk
  • moquery -c eqptSpCmnBlk

View solution in original post

3 Replies 3

Marcel Zehnder
Spotlight
Spotlight

Hi 

moquery -c eqptPsu - you can use grep to gather the important information - for example:

moquery -c eqptPsu -x 'order-by=eqptPsu.dn|asc' | egrep "#|dn|ser|operSt"

 

HTH

Marcel

 

atcapaev
Cisco Employee
Cisco Employee
Thank you very much Marcel!
That's what I was looking for.

apubillo
Cisco Employee
Cisco Employee

Hi,

 

To check PSU state/info:

 

  • moquery -c eqptPsu
  • moquery -c eqptPsuSlot
  • moquery -c eqptPsPower
  • moquery -c eqptSpromPsu
  • moquery -c eqptSpromPsuBlk
  • moquery -c eqptSpCmnBlk

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License