[c-nsp] Understanding A9K Power Status

Jason Lixfeld jason at lixfeld.ca
Fri Feb 3 08:41:47 EST 2017


Hey Ted,

> On Feb 2, 2017, at 2:44 PM, Ted Johansson <ted.johansson at tele2.com> wrote:
> 
> 1) I'm not seeing the same issue as you do, sorry. What version of 5.3 are you running, SP and SMUs? (hope you are running 5.3.4)

Yup, 5.3.4 + SMUs:

RP/0/RSP0/CPU0:#show install active summary
Fri Feb  3 07:49:19.938 EST
Default Profile:
  SDRs:
    Owner
  Active Packages:
    disk0:asr9k-mini-px-5.3.4
    disk0:asr9k-mpls-px-5.3.4
    disk0:asr9k-mgbl-px-5.3.4
    disk0:asr9k-mcast-px-5.3.4
    disk0:asr9k-fpd-px-5.3.4
    disk0:asr9k-k9sec-px-5.3.4
    disk0:asr9k-px-5.3.4.CSCvb31992-1.0.0
    disk0:asr9k-px-5.3.4.CSCvb37291-1.0.0
    disk0:asr9k-px-5.3.4.CSCvb39379-1.0.0
    disk0:asr9k-px-5.3.4.CSCvb72705-1.0.0
    disk0:asr9k-px-5.3.4.CSCvb88426-1.0.0
    disk0:asr9k-px-5.3.4.CSCvb92687-1.0.0
    disk0:asr9k-px-5.3.4.CSCvb95320-1.0.0
    disk0:asr9k-px-5.3.4.CSCvc02589-1.0.0
    disk0:asr9k-px-5.3.4.CSCvc18067-1.0.0
    disk0:asr9k-px-5.3.4.CSCvc22207-1.0.0

> You could use the following commands to see if they give you the same output, but most probably:
> 
> V1-V3# admin show inventory power-supply

! V1 5.3.4
RP/0/RSP0/CPU0:#admin show inventory power-supply
Fri Feb  3 07:49:49.318 EST
NAME: "power-module 0/PS1/M0/SP", DESCR: "2kW DC Power Module"
PID: A9K-2KW-DC, VID: V03, SN: TLD154050CP

NAME: "power-module 0/PS1/M2/SP", DESCR: "2kW DC Power Module"
PID: A9K-2KW-DC, VID: V03, SN: TLD154050A0

However, there are two other power modules that are picked up in admin show env power, but are not powered up, so they don’t show up here.  Just me, or is that odd that they show up in one place, but not the other?  Seems inconsistent and confusing.

! V1 4.3.4
RP/0/RSP1/CPU0:#admin show inventory power-supply
Fri Feb  3 08:27:35.043 EST
NAME: "power-module 0/PM0/SP", DESCR: "2kW DC Power Module"
PID: A9K-2KW-DC, VID: V03, SN: TLD1330500X

NAME: "power-module 0/PM1/SP", DESCR: "2kW DC Power Module"
PID: A9K-2KW-DC, VID: V03, SN: TLD1511502H

NAME: "power-module 0/PM2/SP", DESCR: "2kW DC Power Module"
PID: A9K-2KW-DC, VID: V03, SN: TLD150650CU

NAME: "power-module 0/PM3/SP", DESCR: "2kW DC Power Module"
PID: A9K-2KW-DC, VID: V03, SN: TLD144750RU

NAME: "power-module 0/PM4/SP", DESCR: "2kW DC Power Module"
PID: A9K-2KW-DC, VID: V03, SN: TLD1303505H

NAME: "power-module 0/PM5/SP", DESCR: "2kW DC Power Module"
PID: A9K-2KW-DC, VID: V03, SN: TLD1511507O

! V2 4.3.4
RP/0/RSP0/CPU0:#admin show inventory power-supply
Fri Feb  3 08:29:54.660 EST
NAME: "power-module 0/PM0/SP", DESCR: "2kW DC Power Module"
PID: PWR-2KW-DC-V2, VID: V01, SN: DTM172801PY

NAME: "power-module 0/PM1/SP", DESCR: "2kW DC Power Module"
PID: PWR-2KW-DC-V2, VID: V01, SN: DTM172801L7

NAME: "power-module 0/PM4/SP", DESCR: "2kW DC Power Module"
PID: PWR-2KW-DC-V2, VID: V01, SN: DTM172801JS

RP/0/RSP0/CPU0:#

> V1# run pwrdebug show

Oh now that’s a fun command!  Why’s that have to be so hidden?  That should be available via show env!

RP/0/RSP0/CPU0:#run pwrdebug show
Fri Feb  3 07:51:16.144 EST

Power Shelf Type: DC/DC
Total  System Capacity                 : 4200 Watts
Usable System Capacity                 : 4200 Watts
Supply Redundancy Threshold Capacity   : 2100 Watts
Feed   Redundancy Threshold Capacity   : -1 Watts

Power Module Status:
      Node     Status    Capacity     Type  Voltage  Current   Temp
------------------------------------------------------------------
0/PS0/M0/SP     FAILED      0 Watt        0     0.000     0.000    0 C
0/PS0/M1/SP    MISSING      0 Watt        0     0.000     0.000    0 C
0/PS0/M2/SP     FAILED      0 Watt        0     0.000     0.000    0 C
0/PS1/M0/SP    WARNING   2100 Watt   f0018a    54.280     9.800   44 C
0/PS1/M1/SP    MISSING      0 Watt        0     0.000     0.000    0 C
0/PS1/M2/SP    WARNING   2100 Watt   f0018a    54.207     9.200   46 C
RP/0/RSP0/CPU0:#

> V2-3# run pwr_mgmt_debug show

RP/0/RSP0/CPU0:#run pwr_mgmt_debug show
Fri Feb  3 07:54:24.134 EST

Power Shelf Type: DC
Total  System Capacity                 : 6300 Watts
Usable System Capacity                 : 6300 Watts
Supply Redundancy Threshold Capacity   : 4200 Watts
Feed   Redundancy Threshold Capacity   : -1 Watts

Power Module Status:
      Node     Status    Capacity     Type     Input Volt A     Input Volt B   Input Current   Input Power   Output Volt   Output Current  Output Power   Inlet Temp   Outlet temp   Hours
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  0/PM0/SP    WARNING   2100 Watt    0xf0038a     53.487 V        0.000 V         12.248 A        654.077 W     54.817 V       10.811 A       591.133 W       27 C         45 C      27607
  0/PM1/SP    WARNING   2100 Watt    0xf0038a     53.565 V        0.000 V         12.111 A        645.867 W     54.738 V       10.811 A       591.133 W       27 C         43 C      27607
  0/PM2/SP    MISSING      0 Watt    0x000000      0.000 V        0.000 V          0.000 A          0.000 W      0.000 V        0.000 A         0.000 W        0 C          0 C          0
  0/PM3/SP    MISSING      0 Watt    0x000000      0.000 V        0.000 V          0.000 A          0.000 W      0.000 V        0.000 A         0.000 W        0 C          0 C          0
  0/PM4/SP    WARNING   2100 Watt    0xf0038a     53.487 V        0.000 V         11.837 A        632.183 W     54.738 V       10.606 A       580.186 W       25 C         42 C      27607
  0/PM5/SP    MISSING      0 Watt    0x000000      0.000 V        0.000 V          0.000 A          0.000 W      0.000 V        0.000 A         0.000 W        0 C          0 C          0
  0/PM6/SP    MISSING      0 Watt    0x000000      0.000 V        0.000 V          0.000 A          0.000 W      0.000 V        0.000 A         0.000 W        0 C          0 C          0
  0/PM7/SP    MISSING      0 Watt    0x000000      0.000 V        0.000 V          0.000 A          0.000 W      0.000 V        0.000 A         0.000 W        0 C          0 C          0
RP/0/RSP0/CPU0:bfr01.905KingStW01.YYZ#

> 2) Do unfortunately not have any routers running 4.3 anymore so I'm not able to verify.
> 
> 3) If you wish to know if it is a V1-3 power system you can execute the following command:
> 
> # admin sh inventory chassis | i chassis.*DESC
> NAME: "chassis ASR-9010", DESCR: "ASR-9010 8 Line Card Slot Chassis with V3 DC PEM”

Heh. Not quite, unfortunately:

! XR4.3.4 (PEK) 
RP/0/RSP1/CPU0:#admin show inventory chassis
Fri Feb  3 08:11:42.026 EST
NAME: "chassis ASR-9010-DC", DESCR: "ASR-9010 DC Chassis"
PID: ASR-9010-DC, VID: V01, SN: FOX1444G2LC

--
! XR4.3.4 (BFK)
RP/0/RSP0/CPU0:#admin show inventory chassis
Thu Feb  2 15:02:36.239 EST
NAME: "chassis ASR-9010-AC-E", DESCR: "ASR 9010 DC Chassis with PEM Version 2"
PID: ASR-9010-DC-V2, VID: V01, SN: FOX1734G1HP

—
! XR5.3.4 (PPK)
RP/0/RSP0/CPU0:#admin show inventory chassis
Fri Feb  3 07:57:28.256 EST
NAME: "chassis ASR-9010-DC", DESCR: "ASR 9010 8 Line Card Slot Chassis with V1 AC PEM"
PID: ASR-9010-DC, VID: V01, SN: FOX1618G4HS

—
! XR4.3.1 (BFF)
RP/0/RSP0/CPU0:#admin show inventory chassis
Thu Feb  2 15:01:56.279 EST
NAME: "chassis ASR-9010-DC", DESCR: "ASR-9010 DC Chassis"
PID: ASR-9010-DC, VID: V01, SN: FOX1442GZ2E

—
! XR4.3.4 (PEF)
RP/0/RSP0/CPU0:#admin show inventory chassis
Thu Feb  2 15:02:20.451 EST
NAME: "chassis ASR-9010-DC", DESCR: "ASR-9010 DC Chassis"
PID: ASR-9010-DC, VID: V01, SN: FOX1615G75C

—
! XR4.3.1 (BFW)
RP/0/RSP0/CPU0:#admin show inventory chassis
Thu Feb  2 15:02:04.847 EST
NAME: "chassis ASR-9010-DC", DESCR: "ASR-9010 DC Chassis"
PID: ASR-9010-DC, VID: V01, SN: FOX1620G1VW

—
! XR5.3.4 (PPW)
RP/0/RSP0/CPU0:#admin show inventory chassis
Fri Feb  3 08:00:38.523 EST
NAME: "chassis ASR-9010-DC", DESCR: "ASR 9010 8 Line Card Slot Chassis with V1 AC PEM"
PID: ASR-9010-DC, VID: V01, SN: FOX1631GDP7

—
! XR4.3.1 (BFH)
RP/0/RSP0/CPU0:#admin show inventory chassis
Thu Feb  2 15:02:15.081 EST
NAME: "chassis ASR-9010-DC", DESCR: "ASR-9010 DC Chassis"
PID: ASR-9010-DC, VID: V01, SN: FOX1436GR1Y

—
! XR4.3.4 (BFR)
RP/0/RSP0/CPU0:#admin show inventory chassis
Thu Feb  2 15:02:30.991 EST
NAME: "chassis ASR-9010-AC-E", DESCR: "ASR 9010 DC Chassis with PEM Version 2"
PID: ASR-9010-DC-V2, VID: V01, SN: FOX1619G17M

—

Some other interesting stuff.  On the BFK and BFR devices (V2+4.3.4), the chassis name appears to think it’s an AC-E chassis, but the chassis description is correct.

On the PPK and PPW devices (V1+5.3.4), chassis name is correct, description is wrong, but partly right because it knows it’s V1 - which is the only time anything has actually said V1.

> Unfortunately not answers to all your questions, but something at least :)


So in summary, it sounds like this is how things work:

- In at least 4.3.1, a V1 power system will not say it’s V1.  That’s how you know it’s actually V1.
- In at least 4.3.4, a V2 power system will actually say it’s V2.  Unsure whether the chassis name mis-match is consistent though, or if I’m just special :)
- In at least 5.3.4, a V1 power system will actually say it’s V1.  Unsure whether the chassis description mis-match is consistent.
- In at least 5.3.4, admin show environment power-supply will make the distinction between which power shelf a power module is installed in.

Some unknowns that I’d love to know still:

- What is the output of 'admin show env power’ in a V1 power system on 4.x, if a power module is installed but no power (i.e.: failed source)
- What is the output of 'admin show env power’ in a V2 power system on 4.x, if a power module is installed but no power (i.e.: failed source)
- What is the output of 'admin show env power’ in a V2 power system on 5.x, if a power module is installed but no power (i.e.: failed source)

This has been insightful!

> Best Regards
> Ted
> 
> -----Original Message-----
> From: cisco-nsp [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Jason Lixfeld
> Sent: den 2 februari 2017 19:47
> To: Cisco NSP <cisco-nsp at puck.nether.net>
> Subject: [c-nsp] Understanding A9K Power Status
> 
> Hey there,
> 
> According to the A9K HW installation guide, for the 9010 chassis, there are two slots for power shelves, and depending on whether it’s a V1 or V2 power shelf, each power shelf can hold up to 3 or 4 power modules, respectively.
> 
> I have a bunch of these boxes, some running XR5.3, some running 4.3.
> 
> 1:  I have a 5.3 box with V1 power system.  Only one power shelf is wired at the moment, but there are two power modules in each of the two power shelfs.  Based on the all the physical labelling, the power modules are installed in M0 and M1 and the cabling is wired to M0 and M1.  When I look at the environment, the output says M0 and M2 instead of M0 and M1:
> 
> RP/0/RSP0/CPU0:#admin show environment power-supply Thu Feb  2 10:04:18.143 EST
> R/S/I   Modules         Capacity        Status
>                        (W)
> 0/PS0/M0/*
>        host    PM      0               Error (status bits read failed)
> 
> 0/PS0/M2/*
>        host    PM      0               Error (status bits read failed)
> 
> 0/PS1/M0/*
>        host    PM      2100            Ok
> 
> 0/PS1/M2/*
>        host    PM      2100            Ok
> 
> Is it likely that this is a bug whose ID I haven’t been able to find?
> 
> 2:  I have two 4.3 box, one with a V1 power system, and the other with a V2 power system.  Each has two power shelves fully wired, with a various numbers of power modules in each of the two power shelves.  When I look at the environment, it makes no distinction between whether or not the power modules are connected to shelf 1 (0/PS0) or shelf 2 (0/PS1) like it does in the 5.3 system.
> 
> Would it be fair to say then, that it’s an XR5.3 thing, which has some hooks in it that makes the distinction between which which power shelf a power module is inserted into?  If so, can anyone point me to some docs that might point to that feature?  The new HW/SW features in the release notes between 4.3.4 and 5.3.4 don’t seem to have anything there.
> 
> RP/0/RSP0/CPU0:R1#admin show environment power-supply Thu Feb  2 13:24:22.579 EST
> R/S/I   Modules         Capacity        Status
>                        (W)
> 0/PM0/*
>        host    PM      2100            Ok
> 
> 0/PM1/*
>        host    PM      2100            Ok
> 
> 0/PM4/*
>        host    PM      2100            Ok
> 
> 
> 
> RP/0/RSP1/CPU0:R2#admin show env power-supply Thu Feb  2 13:25:30.520 EST
> R/S/I   Modules         Capacity        Status
>                        (W)
> 0/PM0/*
>        host    PM      2100            Ok
> 
> 0/PM1/*
>        host    PM      2100            Ok
> 
> 0/PM2/*
>        host    PM      2100            Ok
> 
> 0/PM3/*
>        host    PM      2100            Ok
> 
> 0/PM4/*
>        host    PM      2100            Ok
> 
> 0/PM5/*
>        host    PM      2100            Ok
> 
> 
> 3:  Is the CLI for determining whether or not the box has a V1, V2 power system?
> 
> Thanks in advance!
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 
> ******** IMPORTANT NOTICE ********
> The content of this e-mail is intended for the addressee(s) only and may contain information that is confidential and/or otherwise protected from disclosure. If you are not the intended recipient, please note that any copying, distribution or any other use or dissemination of the information contained in this e-mail (and its attachments) is strictly prohibited. If you have received this e-mail in error, kindly notify the sender immediately by replying to this e-mail and delete the e-mail and any copies thereof.
> 
> Tele2 AB (publ) and its subsidiaries (“Tele2 Group”) accepts no responsibility for the consequences of any viruses, corruption or other interference transmitted by e-mail.



More information about the cisco-nsp mailing list