# srp switch

#### Syntax

srp switch [ [ force ] [ reason ] ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Switches from the primary SRP module to the standby. This command is equivalent to the redundancy force-switchover command with the srp option. There is no no version.

| Note: When the high availability state is active, this command does not take effect until all transaction data, up to when you issue the command, has been mirrored to the standby SRP module. This behavior preserves legacy behavior that requires SRP modules to be synchronized before the switchover.

#### Options

- force—Prompts the user to confirm that the router should switch from the primary SRP module to the standby if the SRP modules are in certain states, such as writing configuration data to NVS, that could lead to loss of configuration data or corruption of NVS
- reason—Reason for the change

#### Mode

Privileged Exec