Rename a File on a Router
Action
To rename a file on the local router, use the following CLI operational mode command:
user@host>file renamesource destinationSample Output
user@host>file list /var/tmpdcd.corerpd.coresnmpd.coreuser@host>file rename /var/tmp/dcd.core /var/tmp/dcd.core.990413user@host>file list /var/tmpdcd.core.990413rpd.coresnmpd.coreWhat It Means
The sample output shows that the
dcd.corefile was renamed todcd.core.990413. The original name of the file is thesourceand the new name for the file is thedestination.