Switching

Expand all | Collapse all

indentify EX reboot reason

  • 1.  indentify EX reboot reason

    Posted 04-17-2014 06:20

    Dear community.

     

    Simple question:

    I have an EX switch which rebooted several times by itself during the last days.

     

    In which logfile do I find any information like

    - timestamp of each reboot

    - some information about the reason, error codes, watchdog, power cycle, etc.

     

    RSI? Where?

    var/log? In which file?

    Anywhere else?

    I did not find the right file so far.

     

    Thanks for your help

    best regards

    Alex

     



  • 2.  RE: indentify EX reboot reason

     
    Posted 04-18-2014 02:10

    Hello

     

    Below commands should provide details of last reboot and reason:

     

    1. show system uptime

     

     

    Spoiler

     

    E.g:

    root> run show system uptime

    --------------------------------------------------------------------------
    Current time: 2014-04-18 09:12:26 UTC
    System booted: 2014-04-16 10:51:17 UTC (1d 22:21 ago) <<<<<

     

     

     

    2. show chassis routing-engine

     

    Spoiler
    Routing Engine status:
      Slot 0:
        Current state                  Master
        Election priority              Master (default)
        DRAM                      1023 MB
        Memory utilization          32 percent
        CPU utilization:
          User                       0 percent
          Background                 0 percent
          Kernel                     6 percent
          Interrupt                  1 percent
          Idle                      94 percent
        Model                          RE-PPC-1200-A
        Start time                     2014-04-16 10:51:17 UTC
        Uptime                         1 day, 22 hours, 21 minutes, 58 seconds <<<<<<<<<
        Last reboot reason             Router rebooted after a normal shutdown. <<<<<<<<<<

     

    Regards,

    Raveen



  • 3.  RE: indentify EX reboot reason

     
    Posted 04-18-2014 02:26

    Hello Alex

     

    Below commands should provide details of last reboot and reason:

     

    1. show system uptime

     

    --------------------------------------------------------------------------
    Current time: 2014-04-18 09:12:26 UTC
    System booted: 2014-04-16 10:51:17 UTC (1d 22:21 ago) <<<<<<<<

    --------------------------------------------------------------------------

     

    2. show chassis routing-engine

     

    --------------------------------------------------------------------------
    Routing Engine status:
      Slot 0:
        Current state                  Master
        Election priority              Master (default)
        DRAM                      1023 MB
        Memory utilization          32 percent
        CPU utilization:
          User                       0 percent
          Background                 0 percent
          Kernel                     6 percent
          Interrupt                  1 percent
          Idle                      94 percent
        Model                          RE-PPC-1200-A
        Start time                     2014-04-16 10:51:17 UTC
        Uptime                         1 day, 22 hours, 21 minutes, 58 seconds       <<<<<<<<
        Last reboot reason             Router rebooted after a normal shutdown. <<<<<<<<
        Load averages:                 1 minute   5 minute  15 minute
                                           0.02       0.02       0.04


     

    --------------------------------------------------------------------------

     

    Regards,

    Raveen

     



  • 4.  RE: indentify EX reboot reason

    Posted 04-21-2014 01:04

     Hi Raveen.

     

    thanks for your reply.

    I am looking for a logfile which show the reboot history.

    In detail a list which shows every reboot everhappened on this device.

     

    regards

    Alexander



  • 5.  RE: indentify EX reboot reason

     
    Posted 04-21-2014 01:26

    Hi Alexander

     

    You should be able to identify from messages file.

     

    show log messages | match copyright (or)

     show log messages | match "The FreeBSD Project"

     

    Copyright information would be printed during boot up of the appliance.

     

    Regards,

    Raveen



  • 6.  RE: indentify EX reboot reason

    Posted 11-12-2019 06:21

    I still don't see the output provided the real 'reason' why or how the switch rebooted?.

     

    I mean for example, was it rebooted by user issueing 'reboot system'  or  was the device powered off and then powered ON. Or, did the switch reboot abruptly due to SW malfuntioning for instance....

     

    If someone can help here that would be appreciated.

     



  • 7.  RE: indentify EX reboot reason

     
    Posted 11-17-2019 04:05

    This kb lists all the reboot reasons and what generates them.

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB33392

     

    note that this is the default response

    Last reboot reason             Router rebooted after a normal shutdown.

    So there can still be issues when this is seen as noted in the kb.

     



  • 8.  RE: indentify EX reboot reason

    Posted 12-10-2019 02:49

    Thank you !

     

    'show chassis routing-engine' worked for me 100