Cisco IOS Switch: Config
Summary
This module contains actions for copying & writing configuration on a Cisco IOS v15 switch.
See the Overview page for information on how actions in this plugin work.
Actions
cisco_ios_switch.config.
copy_running_to_startup
Copy the running configuration to startup-config.
Minimum Plugin Version: 1.0.0
Input
-
cisco_switch: a CiscoSwitch dictionary
-
enable_password: an enable password if required
-
progress_bar: set to
true
to display a progress bar when performing the operation (defaults tofalse
) -
prompt_timeout: the number of seconds to wait for commands to complete (defaults to
180
) -
connection_timeout: the number of seconds to wait for the connection to establish (defaults to
10
)
Output
Nothing is outputted by this action.
Example
1 2 3 4 |
|
cisco_ios_switch.config.
write_memory
Copy the running configuration to startup-config.
This action is an alias for copy_running_to_startup.
Minimum Plugin Version: 1.0.0
Input
-
cisco_switch: a CiscoSwitch dictionary
-
enable_password: the enable password if required (defaults to
null
assuming enable mode by default) -
progress_bar: set to
true
to display a progress bar when performing the operation (defaults tofalse
) -
prompt_timeout: the number of seconds to wait for commands to complete (defaults to
180
) -
connection_timeout: the number of seconds to wait for the connection to establish (defaults to
10
)
Output
Nothing is outputted by this action.
Example
1 2 3 4 |
|