[Contents] [Prev] [Next] [Index] [Report an Error]

# Monitoring Stateful SRP Switchover

This section shows how to use the show commands to view your high availability configuration and how to clear the high availability switchover history for the router.

## Stateful SRP Switchover show Commands

You can monitor various aspects of stateful SRP switchover using show commands. These aspects include redundancy modes and status, redundancy clients, historical information about redundancy on the router, and specific redundancy information for line modules and SRPs.

show ip interface
show ipv6 interface

- Use to display the initial sequence preference values as well as other information relating to the current state of all IP or IPv6 interfaces or the IP or IPv6 interfaces you specify.
- Field descriptions relating to redundancy. These fields are displayed when the brief keyword is not issued.
  - Operational initial sequence preference—Actual initial sequence preference as determined by the combination of the protocol configured on the interface and the CLI configuration on the interface; the value is 0 (low priority) or 1 (high priority)
  - Administrative—Configured initial sequence preference specified with the ip initial-sequence-preference command or the ipv6 initial-sequence-preference command; the value is 0 (low priority) or 1 (high priority)
- Example 1—Displays a summary of the redundancy status of an ERX14xx model

      host1#show ip interface atm 2/0.1

      ATM2/0.10 line protocol Atm1483 is up, ip is up
      ...
      Warm-restart initial-sequence-preference: Operational = 1 Administrative = 1
      ...

show redundancy

- Use to display the supported redundancy modes and other status relating to stateful SRP switchover. In particular, the output indicates any conditions that are preventing high availability from operating.
- 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-switch or warm-switch])
  - Criteria Preventing High Availability from being Active—criteria required for high availability to be active.
  - Criteria Required for High Availability to be Active—criteria required for high availability to be active.

    | Note: All criteria for both options must be “yes” for high availability to be active.

  - Line Card
    - automatic reverting—State of automatic reverting (on or off)
    - slots—Slots in which the line modules reside
    - 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 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
    - slice state—State of the fabric slice (online, not present)
    - type—Identifier for the type of hardware (SRP module or SFM)
- Example 1—Displays a summary of the redundancy status of an ERX14xx model

      host1#show redundancy

      SRP
      ---

      high-availability state:  disabled
      current redundancy mode:  high-availability
      last activation type:     cold-switch

      Criteria Preventing High Availability from being Active
      -------------------------------------------------------
                         criterion                      met
      -----------------------------------------------   ---
      Standby SRP is online and capable of mirroring?   No

      Line Card
      ---------

      automatic reverting is off

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

               midplane   midplane
      slots      type       rev
      ------   --------   --------
      8 - 13      6          0

- Example 2—Displays the redundancy status of an ERX14xx model in detail

      host1#show redundancy detail

      SRP
      ---

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

         Criteria Required for High Availability to be Active
         ----------------------------------------------------
                           criterion                         met
      ----------------------------------------------------   ---
      Active SRP hardware supports High Availability?        Yes
      High Availability mode configured?                     No
      Mirroring Subsystem present?                           Yes
      Mirroring activity levels within limits?               Yes
      Network Core Dumps disabled?                           Yes
      Running configuration is safe for High Availability?   Yes
      Standby SRP hardware supports High Availability?       Yes
      Standby SRP is online and capable of mirroring?        Yes
      Standby SRP is running the same release?               Yes

      Line Card
      ---------

      automatic reverting is off

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

               midplane   midplane
      slots      type       rev
      ------   --------   --------
      8 - 13      6          0

- See show redundancy.

show redundancy clients

- Use to display high availability clients and their various levels of high availability support.
- Specify an optional client type that you want to view (all, supported, unsafe, unsupported)

  | Note: Issuing this command without the optional client type results in showing only unsupported high availability clients (the default).

- Field descriptions
  - client—High availability client
  - mode—Whether the client is supported or unsupported for high availability
  - configuration—Safety level of the configuration based on whether or not the client is supported or unsupported and, in the case of those unsupported, whether or not the client has been configured. For example, if an unsupported client is configured on a router with high availability enabled, the configuration reads “unsafe”.
- Example 1

      host1#show redundancy clients

      Unsupported High Availability Clients
       -------------------------------------
             client           configuration
      ---------------------   -------------
      DHCP Proxy Client           safe
      Global Ipv6                 safe
      IPsec Transport (ITM)       safe
      l2tpDialoutGenerator        safe
      DHCPv6 Local Server         safe
      Radius Relay Server         safe

- Example 2

      host1#show redundancy clients all

      High Availability Client Information
               ------------------------------------
             client              mode       configuration
      ---------------------   -----------   -------------
      atm1483DataService       supported        safe
      AA83                     supported        safe
      aaaServer                supported        safe
      atmAal5                  supported        safe
      AAQS                     supported        safe
      atm                      supported        safe
      Bridged Ethernet         supported        safe
      Transparent Bridging     supported        safe
      dcm                      supported        safe
      dhcpExternal             supported        safe
      DHCP Proxy Client       unsupported       safe
      DS1                      supported        safe
      DS3                      supported        safe
      ethernet                 supported        safe
      Flow Inspection          supported        safe
      frameRelay               supported        safe
      FT1                      supported        safe
      Global Ipv6             unsupported       safe
      Global Ip                supported        safe
      HDLC                     supported        safe
      IKEP                     supported        safe
      ipflowstats              supported        safe
      IpSubscriberManager      supported        safe
      IPTU                     supported        safe
      IPVR                     supported        safe
      IPsec Transport (ITM)   unsupported       safe
      l2tpDialoutGenerator    unsupported       safe
      l2tp                     supported        safe
      LMGR                     supported        safe
      DHCPv4 Local Server      supported        safe
      DHCPv6 Local Server     unsupported       safe
      MPLS                     supported        safe
      PMGR                     supported        safe
      pppoe                    supported        safe
      ppp                      supported        safe
      qos                      supported        safe
      Radius Relay Server     unsupported       safe
      RSVP                     supported        safe
      SCM                      supported        safe
      slotHelper               supported        safe
      Cisco HDLC               supported        safe
      ServiceManager           supported        safe
      Sonet                    supported        safe
      SonetPath                supported        safe
      SonetVT                  supported        safe
      IPsec Tunnel (ST)        supported        safe

- See show redundancy clients.

show redundancy history

- Use to display information about dates, times, and the number of occurrences for starts and switchovers.
- Use the srp keyword to view SRP module-specific information.
- Use the detail keyword to view additional history information.
- Field descriptions
  - system up time—Amount of time elapsed since the last cold boot
  - last cold start—Date and time the router experienced the last cold start
  - last cold switchover—Date and time the router experienced the last cold switchover
  - last warm switchover—Date and time the router experienced the last warm switchover
  - cold starts—Total number of cold starts the router has experienced
  - switchovers—Number of cold, warm, and consecutive warm switchovers the router has experienced
- Example 1

      host1#show redundancy history

      system up time:        0 00:08:01
      last cold start:       2004-07-26 10:44:25
      last cold switchover:  2004-07-25 18:51:56
      last warm switchover:  2004-07-25 20:58:57

      activation statistics:
          cold starts:           92
          switchovers:
              cold:              21
              warm:              147
              consecutive warm:  0

- Example 2

      host1#show redundancy history detail

      system up time:        0 00:08:01
      last cold start:       2004-07-26 10:44:25
      last cold switchover:  2004-07-25 18:51:56
      last warm switchover:  2004-07-25 20:58:57

      activation statistics:
          cold starts:           92
          switchovers:
              cold:              21
              warm:              147
              consecutive warm:  0

                                                system
      SRP activation time      type      slot   uptime    running release
      -------------------   ----------   ----   ------   -----------------
      2004-09-08 15:10:40   cold-start    00     ---     erx_6-0-0b1-8.rel
      2004-09-08 14:39:10   cold-start    00     ---     erx_6-0-0b1-1.rel

- See show redundancy history.

show redundancy line-card

- Use to display line-module-specific redundancy information.
- Field descriptions
  - automatic reverting—State of automatic reverting (on or off)
  - slots—Slots in which the line modules reside
  - 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 line module to revert
  - midplane type—Identifier for the type of midplane
  - midplane rev—Hardware revision number of the redundancy midplane
- Example

      host1#show redundancy line-card

      automatic reverting is off

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

               midplane   midplane
      slots      type       rev
      ------   --------   --------
      8 - 13      6          0

- See show redundancy line-card.

show redundancy srp

- Use to display SRP-module-specific redundancy information.
- Use the brief keyword to display summary information about 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 Required for High Availability to be Active—Criteria required for high availability to be active.

    | Note: All criteria must be “yes” for high availability to be active.

- Example 1

      host1#show redundancy srp

      high-availability state:  active
      current redundancy mode:  high-availability
      last activation type:     warm-switch

- Example 2

      host1#show redundancy srp detail

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

         Criteria Required for High Availability to be Active
         ----------------------------------------------------
                           criterion                         met
      ----------------------------------------------------   ---
      Active SRP hardware supports High Availability?        Yes
      High Availability mode configured?                     No
      Mirroring Subsystem present?                           Yes
      Mirroring activity levels within limits?               Yes
      Network Core Dumps disabled?                           Yes
      Running configuration is safe for High Availability?   Yes
      Standby SRP hardware supports High Availability?       Yes
      Standby SRP is online and capable of mirroring?        Yes
      Standby SRP is running the same release?               Yes

- See show redundancy srp.

show redundancy switchover-history

- Use to display the stateful SRP switchover history for the chassis.
- Field descriptions
  - SRP activation time—Amount of time the SRP module has been active
  - type—Type of switchover
  - slot—Slot in which the SRP module resides
  - system uptime—Amount of time the chassis has been operational
  - running release—Release running on the SRP module at the time of the switchover
- Example

      host1# show redundancy switchover-history
                                                   system
      SRP activation time      type       slot     uptime          running release
      -------------------   -----------   ----   ----------   -------------------------
      2004-07-26 10:44:25   cold-start     07       ---       L-07-25-60b1mrg-e.rel
      2004-07-25 20:58:57   warm-switch    06    0 00:15:08   L-07-25-60b1mrg-e.rel
      2004-07-25 20:53:41   warm-switch    07    0 00:09:51   L-07-25-60b1mrg-e.rel
      2004-07-25 20:44:43   cold-start     06       ---       L-07-25-60b1mrg-e.rel
      2004-07-25 19:32:01   cold-start     06       ---       L-07-25-60b1mrg-d.rel
      2004-07-25 18:58:01   warm-switch    06    0 00:12:01   L-07-25-60b1mrg-c.rel
      2004-07-25 18:51:56   cold-switch    07    0 00:05:56   L-07-25-60b1mrg-c.rel
      2004-07-25 18:46:54   cold-start     06       ---       L-07-25-60b1mrg-c.rel
      2004-07-25 17:44:48   warm-switch    06    0 00:14:32   L-07-25-60b1mrg-b.rel
      2004-07-25 17:31:07   cold-start     07       ---       L-07-25-60b1mrg-b.rel
      2004-07-25 16:05:08   cold-start     07       ---       L-07-25-60b1mrg-a.rel
      2004-07-24 23:25:09   warm-switch    07    0 16:27:03   L-07-24-60b1mrg-b.rel
      2004-07-24 23:18:23   cold-switch    06    0 16:20:17   L-07-24-60b1mrg-b.rel

- See show redundancy switchover-history.

## Clearing the Redundancy History

You can use the clear redundancy history command to clear the stateful SRP switchover history for the router.

clear redundancy history

- Use to clear the detailed stateful SRP switchover history for the router.
- Example

      host1# show redundancy history detail
      system up time:        0 00:08:01
      last cold start:       2004-07-26 10:44:25
      last cold switchover:  2004-07-25 18:51:56
      last warm switchover:  2004-07-25 20:58:57
      activation statistics:
          cold starts:           92
          switchovers:
              cold:              21
              warm:              147
              consecutive warm:  0
                                                 system
      SRP activation time     type      slot    uptime       running release
      -------------------   ----------- ----  --------- -------------------------
      2004-07-26 10:44:25  cold-start    07      ---       L-07-25-60b1mrg-e.rel
      2004-07-25 20:58:57  warm-switch   06   0 00:15:08   L-07-25-60b1mrg-e.rel
      2004-07-25 20:53:41  warm-switch   07   0 00:09:51   L-07-25-60b1mrg-e.rel
      2004-07-25 20:44:43  cold-start    06     ---       L-07-25-60b1mrg-e.rel
      2004-07-25 19:32:01  cold-start    06     ---       L-07-25-60b1mrg-d.rel
      2004-07-25 18:58:01  warm-switch   06   0 00:12:01   L-07-25-60b1mrg-c.rel
      2004-07-25 18:51:56  cold-switch   07   0 00:05:56   L-07-25-60b1mrg-c.rel

      host1# clear redundancy history

      host1# show redundancy history
       system up time:        0 00:08:01
       last cold start:       2004-07-26 10:44:25
       last cold switchover:  2004-07-25 18:51:56
       last warm switchover:  2004-07-25 20:58:57
       activation statistics:
          cold starts:           92
          switchovers:
              cold:              21
              warm:              147
              consecutive warm:  0
                                                 system
      SRP activation time      type       slot   uptime      running release
      -------------------   -----------   ----   -------- -----------------------

- There is no no version.
- See clear redundancy history.

[Contents] [Prev] [Next] [Index] [Report an Error]