rename

Renames a file in the device flash memory.

Syntax

rename current_name new_name

Parameters

current_name
Specifies the file name you want to change.
new_name
Specifies the new file name.

Modes

Privileged EXEC mode

Usage Guidelines

This command is supported only on the local device.

System configuration files cannot be renamed. If you try to rename a system file, a warning message is displayed.

Examples

The following example renames a file in the flash memory.

device# rename myconfig myconfig_20101010