beautypg.com

Setting an application file type, Using the bootware menu, Using the cli – H3C Technologies H3C WX5000 Series Access Controllers User Manual

Page 63

background image

5-23

3 -rw- 76960 Aug 15 2008 15:58:02 vmetest.vme

252434 KB total (242996 KB free)

File system type of cfa0: FAT32

Setting an Application File Type

Using the BootWare menu

Enter 2 on the file control submenu, and the system displays the following information:

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

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

|NO. Size(B) Time Type Name |

|1 10323352 Aug/20/2008 10:42:42 M cfa0:/main.bin |

|0 Exit |

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

Enter file No:

Enter the file sequence number at the prompt above. In this example, type 1 for file main.bin and press

Enter

. The system prompts you to modify the file type:

Modify the file attribute:

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

|<1> +Main |

|<2> -Main |

|<3> +Backup |

|<4> -Backup |

|<0> Exit |

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

Enter your choice(0-4)

Enter 1 for +Main (set to type M), 2 for –Main (remove the M type), 3 for +Backup (set to type B), or 4 for
–Backup (remove the B type). For details about the file types, refer to section “Application Files” on
page xx.

Using the CLI

# Change the type of file main.bin from type B to type M+B.

boot-loader file main.bin main

This command will set the boot file. Continue? [Y/N]:y

The specified file will be used as the main boot file at the next reboot on slot 1!

Now, the type of file main.bin is modified as M+B, and the file is specified as the main boot file to be
used at the next startup of the access controller. If a file of type M already exists on the access controller,
the type of the file will automatically change to N/A.