Deleting a file, Changing the file, Attribute of a system software image – H3C Technologies H3C S12500 Series Switches User Manual

Page 216

Advertising
background image

204

|6 57979456 Oct/04/2012 02:14:54 N/A cfa0:/test.bin |

|7 3 Jun/03/2012 14:57:04 N/A cfa0:/a.txt |

|8 6425 Jun/03/2012 16:15:22 N/A cfa0:/startup.cfg |

|9 717220 Jun/03/2012 19:10:14 N/A cfa0:/12500_mr.btw |

============================================================================

Changing the file attribute of a system software image

System software image file attributes include main (M), backup (B), and secure (S). The S attribute is not

supported in the current release.
A system software image can have any combination of the M and B attributes. An image with neither the

M attribute nor the B attribute is marked as N/A.
On an MPU, you can specify only one main image and one backup image. If you assign the same

attribute to two images that are the same type, the most recent assignment causes the previously assigned

attribute to be removed.
For example, the boot image file main.bin has the M attribute and the boot image file update.bin has the

B attribute. If you assign the M attribute to update.bin, update.bin will have both the M and B attributes
(M+B), and the file attribute of main.bin will change to N/A.
To change the type of a system software image:

1.

Enter 2 in the File Control submenu.

Enter your choice(0-3): 2

'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED

==========================================================================

|NO. Size(B) Time Type Name |

|1 53538808 Jun/03/2012 14:36:12 M cfa0:/s12500-test.bin |

|2 57979456 Oct/04/2012 02:14:54 N/A cfa0:/test.bin |

|0 Exit |

==========================================================================

Enter file No:2

2.

Enter the number of the file you are working with.

Modify the file attribute:

==========================================================================

|<1> +Main |

|<2> -Main |

|<3> +Backup |

|<4> -Backup |

|<0> Exit |

==========================================================================

Enter your choice(0-4):

3.

Enter a number in the range of 1 to 4 to add or delete a file attribute for the file. For example, enter

3 to set the file as the backup image.

Enter your choice(0-4):3

Set the file attribute success!

Deleting a file

When a storage medium is insufficient, you can delete unused files to free up the storage space.

1.

Enter 3 in the FILE CONTROL menu.

Advertising