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

# Removing an SRP Module

Before you remove an SRP module, you must issue the halt command, which stops operation on that module. If the router contains both primary and redundant SRP modules, you can specify which modules the command should affect.You can also configure the router to prompt you when the modules are in a state that might lead to loss of configuration data or NVS corruption.

| Caution: If you do not use the halt command before removing or powering down an SRP module, the router’s NVS may become corrupted.

For information about physically removing an SRP module, see ERX Hardware Guide, Chapter 4, Installing Modules.

halt

- Use to stop the router’s operation before you remove or power down an SRP module
- The following guidelines apply when you issue the halt command in Privileged Exec mode:
  - Specify neither the primary-srp nor the standby-srp keyword to stop operation on both SRP modules.
  - Specify the keyword primary-srp to stop operation on the primary SRP module only. This action causes the redundant SRP module to assume the primary role.
  - Specify the keyword standby-srp to stop operation on the redundant SRP module only.
  - If you do not specify the force keyword, the procedure fails if:
    - The SRP modules are in certain states, such as during a synchronization. In these cases, the router will display a message that indicates that the procedure cannot currently be performed and the reason why. However, if the SRP modules are in other states that could lead to a loss of configuration data or NVS corruption, the router displays a message that explains the state of the SRP modules and asks you to confirm (enter yes or no) whether you want to proceed.
    - The SRP modules are in any state that could lead to loss of configuration data or NVS corruption, and the router will display a message that explains why the command failed.
- In Boot mode, you cannot issue any keywords with this command.
- When the high availability state is active or pending, this command ensures that the router configuration, up to when you issued the halt command, is mirrored to the standby SRP.
- When you issue this command, the router prompts you for a confirmation before the procedure starts.
- Remove or power down the SRP module within 2 minutes of executing the halt command. Otherwise, the SRP module will automatically reboot.
- Examples
  `
  host1#halt
  host1#halt primary-srp
  host1#halt standby-srp force
  `
- There is no no version.
- See halt.

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