# Switching Over from a Primary Line Module to Secondary Line Module

You can enable a manual switchover from the currently functioning primary module to the secondary module, even when the primary module has not encountered a fault, using the line-card switch command in Privileged Exec mode.

To perform a stateful switchover from the currently active primary module to the secondary module when high availability for line modules is enabled:

- Specify the slot in which the primary module is located.
  host1#line-card switch 5

  | Note: You can perform a switchover only to ES2 4G LMs installed with the ES2-ES1 Service IOA on E120 and E320 routers. After you enter this command, the line module configured as the secondary starts functioning as the primary module. The previously configured primary module, after it becomes operational again, takes overs the role of the secondary module.

  The high availability operation on each line module is controlled by a state machine. In this example, the line module in slot 5 takes over as the secondary module and the previously configured secondary module becomes the primary module.

#### Related Documentation

- Stateful Line Module Switchover Modes
- Application Support for Stateful Line Module Switchover
- mode
- line-card switch
- show redundancy history
- show redundancy line-card