# Example: Forcing the Router to Switch from Primary Line Module to Spare Line Module

In the following example, the user forces the router to switch from the primary line module to the spare line module by issuing the redundancy force-switchover command. In the example, you first issue the show redundancy command to display redundancy information specific to line modules. You can then issue the redundancy force-switchover command to force the router to switch from the primary line module to the spare line module. To view the status of the line modules after the switchover, you can again issue the show redundancy command.

1. Display the redundancy information.

       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

2. Force the router to switch from the primary line module to the spare line module.

       host1#redundancy force-switchover 2

3. Verify the redundancy status of the line module.

       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