Routing

Expand all | Collapse all

How to check how long the PEM or CB already online ?

Jump to Best Answer
  • 1.  How to check how long the PEM or CB already online ?

    Posted 06-19-2017 18:41

    Hi all,

     

    May i know whether has a command on MX to check how long the PEM or CB ahs been power on.

     

     

    Thanks and appreciate some help.



  • 2.  RE: How to check how long the PEM or CB already online ?

     
    Posted 06-19-2017 21:54

    Hello,

     

    You can check this link for CB related information.

     

    https://www.juniper.net/documentation/en_US/release-independent/junos/topics/task/installation/scb-mx960-replacing.html

     

    For PEM, I was not able to find a command that will show uptime of PEM but following may be useful.

     

    https://www.juniper.net/documentation/en_US/release-independent/junos/topics/task/verification/power-supply-environmental-status-nog.html

     

    Regards,

     

    Rushi



  • 3.  RE: How to check how long the PEM or CB already online ?

    Posted 06-20-2017 00:05

    Hi Rtilak,

     

     

    the command show chassis fabric summary is refer to SCB uptime ?

     

     

    Thanks and appreciate your feedback.



  • 4.  RE: How to check how long the PEM or CB already online ?

     
    Posted 06-20-2017 19:50


  • 5.  RE: How to check how long the PEM or CB already online ?

    Posted 06-20-2017 21:36

    Hi Rtilak,

     

    If my MX just have one SCB and RE only (without any line card) then how when i do show chassis fabric it shows to plane 1 - 3? Is it supposedly just appear Plane 0 only?

     

     

    test@lab> show chassis fabric summary
    Plane   State    Uptime
     0      Online   4 days, 1 hour, 8 minutes, 10 seconds
     1      Online   4 days, 1 hour, 8 minutes, 8 seconds
     2      Online   4 days, 1 hour, 8 minutes, 8 seconds
     3      Online   4 days, 1 hour, 8 minutes, 8 seconds
     4      Empty
     5      Empty
     6      Empty
     7      Empty

     

    Thanks and appreciate your feedback



  • 6.  RE: How to check how long the PEM or CB already online ?

     
    Posted 06-21-2017 00:53

    Hello,

     

    This link explains the Fabric Plane and SCB relations for various MX devices. Especially points 9.10 & 11 in '

    'Introduction to MX SCB'

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB23065&actp=METADATA

     

    Regards,

     

    Rushi

     

     



  • 7.  RE: How to check how long the PEM or CB already online ?
    Best Answer

    Posted 06-28-2017 01:39

    Hello,

    We can check what planes are mapped to a particular CB using below command:

    user@host> show chassis fabric plane-location

    ------------Fabric Plane Locations-------------
    Plane 0                         Control Board 0
    Plane 1                         Control Board 0
    Plane 2                         Control Board 1
    Plane 3                         Control Board 1
    Plane 4                         Control Board 2
    Plane 5                         Control Board 2


    From the above output, to find the uptime of Control Board 0, check the uptime of Plane 0 and 1 mapped to it using "show chassis fabric summary"
    When a CB is installed, the planes mapped to it also come online. So this is one way we can see how long the control board is up.
    From the below output I can say CB0 is up for around 2 minutes.

    user@host> show chassis fabric summary

    Plane    State    Uptime
    0    Online    2 minutes, 9 seconds    
    1    Online    2 minutes, 2 seconds

    But we must remember that if plane 0 and 1 are showing different uptime, it could be possible that one plane went offline due to some issue in the past.
    So we must ensure that all the planes mapped to a particular CB show show same uptime to determine what time CB came online.


    SECOND OPTION :


    "show chassis environment cb" will only show the status of the CB.
    SPMB is a board installed in  CB which is initialized when CB comes online.
    The SPMB uptime can be checked using below command which also tells how long the CB is online.
    SPMB 0 corresponds to CB 0 and SPMB 1 to CB1.


    user@host> show chassis spmb

    Slot 0 information:
      State                          Online
      Total CPU Utilization            98%
      Interrupt CPU Utilization         0%
      Memory Heap Utilization           1%
      Buffer Utilization               44%
      Start time:                    2012-12-03 11:47:23 PST
      Uptime:                        2 hours, 16 minutes, 39 seconds  <<<<<<<<<<
    Slot 1 information:
      State                          Online - Standby
      Total CPU Utilization             0%
      Interrupt CPU Utilization         0%
      Memory Heap Utilization           0%
      Buffer Utilization               22%
      Start time:                    2012-12-03 11:47:19 PST
      Uptime:                        2 hours, 16 minutes, 43 seconds  <<<<<<<<<<

    {master}
     

    THIRD OPTION:

    At last to verify when your CB came online is to check the log messages. Use the below command:

    >show log messages | match "Fru online"


    Use the Third option to check from logs to find when PEM came online. The commands like "show chassis power" and "show chassis environment pem" will not show the PEM uptime.


    Let me know if this works..

     

    Regards,

    Rahul