Managing Switch Configuration and Files
6-4 Firmware Image and File Management
Setting TFTP Parameters
You can configure some of the settings used by the switch during data transfers using TFTP.
Use the show tftp settings command to display current settings.
A4(ro)->show tftp settings
TFTP packet timeout (seconds): 2
TFTP max retry: 5
Use the set tftp timeout command to configure how long TFTP will wait for a reply of either an
acknowledgement packet or a data packet during a data transfer. The default value is 2 seconds.
Use the set tftp retry command to configure how many times TFTP will resend a packet, either an
acknowledgement packet or a data packet. The default value is 5 retries.
Use the clear tftp timeout and clear tftp retry commands to reset configured values back to their
defaults.
Managing Switch Configuration and Files
Configuration Persistence Mode
The default state of configuration persistence mode is “auto,” which means that when CLI
configuration commands are entered, or when a configuration file stored on the switch is
executed, the configuration is saved to NVRAM automatically at the following intervals:
• On a standalone unit, the configuration is checked every two minutes and saved if there has
been a change.
• On a stack, the configuration is saved across the stack every 5 minutes if there has been a
change.
If you want to save a running configuration to NVRAM more often than the automatic intervals,
execute the save config command and wait for the system prompt to return. After the prompt
returns, the configuration will be persistent.
Use the show snmp persistmode command to display the current persistence mode. You can
change the persistence mode from “auto” to “manual” with the set snmp persistmode command.
If the persistence mode is set to “manual,” configuration commands will not be automatically
written to NVRAM. Although the configuration commands will actively modify the running
configuration, they will not persist across a reset unless the save config command has been
executed.
Caution: If you do not follow the steps above, you may lose remote connectivity to the switch.
Note: When your device is configured for manual SNMP persistence mode, and you attempt to
change the boot system image, the device will not prompt you to save changes or warn you that
changes will be lost.
Note: If a memory card is installed on an I-Series switch, “auto” persistence mode is not supported.
Refer to Using an I-Series Memory Card below for more information.