.. _cisco.nxos.nxos_gir_module:
*******************
cisco.nxos.nxos_gir
*******************
**Trigger a graceful removal or insertion (GIR) of the switch.**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Trigger a graceful removal or insertion (GIR) of the switch.
- GIR processing may take more than 2 minutes. Timeout settings are automatically extended to 200s when user timeout settings are insufficient.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
state
string
|
Choices:
present ←
- absent
|
Specify desired state of the resource.
|
|
system_mode_maintenance
boolean
|
|
When system_mode_maintenance=true it puts all enabled protocols in maintenance mode (using the isolate command). When system_mode_maintenance=false it puts all enabled protocols in normal mode (using the no isolate command).
|
|
system_mode_maintenance_dont_generate_profile
boolean
|
|
When system_mode_maintenance_dont_generate_profile=true it prevents the dynamic searching of enabled protocols and executes commands configured in a maintenance-mode profile. Use this option if you want the system to use a maintenance-mode profile that you have created. When system_mode_maintenance_dont_generate_profile=false it prevents the dynamic searching of enabled protocols and executes commands configured in a normal-mode profile. Use this option if you want the system to use a normal-mode profile that you have created.
|
|
system_mode_maintenance_on_reload_reset_reason
string
|
Choices:
- hw_error
- svc_failure
- kern_failure
- wdog_timeout
- fatal_error
- lc_failure
- match_any
- manual_reload
- any_other
- maintenance
|
Boots the switch into maintenance mode automatically in the event of a specified system crash. Note that not all reset reasons are applicable for all platforms. Also if reset reason is set to match_any, it is not idempotent as it turns on all reset reasons. If reset reason is match_any and state is absent, it turns off all the reset reasons.
|
|
system_mode_maintenance_shutdown
boolean
|
|
Shuts down all protocols, vPC domains, and interfaces except the management interface (using the shutdown command). This option is disruptive while system_mode_maintenance (which uses the isolate command) is not.
|
|
system_mode_maintenance_timeout
string
|
|
Keeps the switch in maintenance mode for a specified number of minutes. Range is 5-65535.
|