The license save command is used to copy all licenses in a device and store them in a format required by the specified storage location. Saved licenses are restored by using the license install command.

The command to back up a copy of the licenses on a device is:

Router# license save file-sys://lic-location

Use the show flash0: command to verify that the licenses have been saved (Figure 1).

The license storage location can be a directory or a URL that points to a file system. Use the ? command to see the storage locations supported by a device.

Use the Syntax Checker in Figure 2 to save all license files on router R2.