# Monitoring Line Module and SRP Module Redundancy

You can use show commands to monitor the status of redundancy groups, line modules, and SRP modules.

| Note: For more information about monitoring high availability, see Managing Module Redundancy.

show environment

- Use to display information about the hardware installed for redundancy.
- See Managing the System in the JunosE System Basics Configuration Guide for details and examples.
- See show environment.

show hardware

- Use to display detailed information about the line modules and SRP modules.
- See Monitoring Modules in the JunosE System Basics Configuration Guide for details and examples.
- See show hardware.

show redundancy

- Use to display the configuration for line module redundancy and SRP redundancy.
- Field descriptions
  - SRP
    - high-availability state—State of the high availability mode (disabled, active, or pending)
    - current redundancy mode—Redundancy mode currently being used by this router (high-availability or file-system-synchronization)
    - last activation type—Last type of activation that occurred on this router (that is, the method by which the SRP last booted [cold-start or warm-start])
  - Criteria Preventing High Availability from being Active—Criteria required for high availability to be active.
  - slot—Slot in which the line module resides
  - hardware role—Function of the line module: primary or spare
  - lockout config—Status of redundancy on this line module
    - protected—Line module redundancy is enabled
    - locked out—Line module redundancy is disabled
  - backed up by slot—Slot that contains the line module that is a spare for this primary line module
  - sparing for slot—Slot that contains the primary line module for which this line module is a spare
  - revert at—Time at which you want the line module to revert
  - midplane type—Identifier for the type of midplane
  - midplane rev—Hardware revision number of the redundancy midplane
  - fabric slice redundancy—Status of the fabric slice on the SRP modules or SFMs on the E120 and E320 routers
    - slot—Slot in which the fabric slice resides
    - state—State of the fabric slice (online, not present)
    - type—Identifier for the type of hardware (SRP module or SFM)
- Example 1

  In the following example, the user issues a show redundancy command, and then a redundancy force switchover command. Finally, the user issues the show redundancy line-card command to display information specific to the line modules. The two displays show how the states of the primary and spare line modules change.

      host1#show redundancy

      SRP
      ---

      high-availability state:  disabled
      current redundancy mode:  file-system-synchronization
      last activation type:     cold-start

      Criteria Preventing High Availability from being Active
      -------------------------------------------------------
                  criterion                met
      ----------------------------------   ---
      High Availability mode configured?   No
      Mirroring Subsystem present?         No

      Line Card
      ---------

      automatic reverting is off

                                    backed
                                      up     sparing
             hardware    lockout      by       for     revert
      slot     role      config      slot     slot       at
      ----   --------   ---------   ------   -------   ------
       0      spare        ---       ---       ---      ---
       2     primary    protected    ---       ---      ---
       12      ---         ---       ---       ---      ---

              midplane   midplane
      slots     type       rev
      -----   --------   --------
      0 - 5      6          0

      host1#redundancy force-switchover 2
      host1#show redundancy line-card

      automatic reverting is off

                                    backed
                                      up     sparing
             hardware    lockout      by       for     revert
      slot     role      config      slot     slot       at
      ----   --------   ---------   ------   -------   ------
       0      spare        ---       ---        2       ---
       2     primary    protected     0        ---      ---
       12      ---         ---       ---       ---      ---

              midplane   midplane
      slots     type       rev
      -----   --------   --------
      0 - 5      6          0

- Example 2—Displays the redundancy status on an E320 router

      host1#show redundancy

      SRP
      ---

      high-availability state:  active
      current redundancy mode:  high-availability
      last activation type:     cold-start

      Line Card
      ---------

      automatic reverting is off

                                    backed
                                      up     sparing
             hardware    lockout      by       for     revert
      slot     role      config      slot     slot       at
      ----   --------   ---------   ------   -------   ------
       0      spare        ---       ---       ---      ---
       2     primary    protected    ---       ---      ---
       4     primary    protected    ---       ---      ---

      fabric slice redundancy: none
      slot   state     type
      ----   ------   -------
      6      online   SFM-100
      7      online   SFM-100
      8       ---       ---
      9       ---       ---
      10      ---       ---

- See show redundancy.

show version

- Use to display information about each module in the router.

  See Managing the System in the JunosE System Basics Configuration Guide, for details and examples.

- See show version.